Networking Flashcards

1
Q

What is the command to view ip address configuration settings?

A

ifconfig
ip addr show
ip a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the command to get the default gateway?

A

route
ip route show
netstat -r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where are DNS servers listed?

A

/etc/resolv.conf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a simple way to test network connection to a node?

A

ping

i.e ping google.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where are local name resolutions stored?

A

/etc/hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the command to resolve a hostname to an ip address?

A

dig
host
i.e dig google.com

How well did you know this?
1
Not at all
2
3
4
5
Perfectly