Networking Flashcards
1
Q
What is the command to view ip address configuration settings?
A
ifconfig
ip addr show
ip a
2
Q
What is the command to get the default gateway?
A
route
ip route show
netstat -r
3
Q
Where are DNS servers listed?
A
/etc/resolv.conf
4
Q
What is a simple way to test network connection to a node?
A
ping
i.e ping google.com
5
Q
Where are local name resolutions stored?
A
/etc/hosts
6
Q
What is the command to resolve a hostname to an ip address?
A
dig
host
i.e dig google.com