Validate Network Configuration Flashcards

1
Q

What will the command “ip link” do?

A

List all available network interfaces on your system.

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

What will the command “ip addr show” do?

A

It will list all network interfaces and their assigned IP addresses.

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

What option flag of the “ip link” command will show statistics about an interfaces network performance?

A

-s

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

What option flag of the ping command will limit the number of packets sent?

A

-cN

N = the number of packets to send

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

What command is the IPv6 version of ping?

A

ping6

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

What CLI command will show the system’s routing information?

A

ip route or
ip -6 route for the IPv6 route

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

What CLI command(s) would you use to troubleshoot a network traffic path?

A

traceroute or
tracepath

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

What option flags are use with traceroute to specify the transport protocol?

A

-I ICMP
-T TCP
no flag (default) UDP

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

What CLI command(s) would you use to troubleshoot an IPv6 network traffic path?

A

tracepath6 or
traceroute -6

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

What CLI command(s) would you use to list all open TCP sockets on a sysytem?

A

ss -ta or
netstat -ta (legacy)

Options:
-a list all listening and established sockets
-t list TCP sockets
-u list UDP sockets
-p list process using socket

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

What does the NetworkManager service do?

A

Monitor and manage a system’s network settings.

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

In what directory does NetworkManager store network profiles?

A

/etc/NetworkManager/system-connections

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

What CLI utility is used to create an edit network connection files (profiles)?

A

nmcli

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

What CLI command will list all active network connections?

A

nmcli con show --active

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

What CLI command would create a network ethernet connection named con-name for the eno2 interface?

A

nmcli con add con-name eno2 type ethernet ifname eno2

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

What options to nmcli add con would make the connection IPv4 static at 192.168.0.15/24 with gateway 192.168.0.1?

A

ipv4.method manual ipv4.addresses 192.168.0.15/24 ipv4.gateway 192.168.0.1

17
Q

What CLI command would you use to disconnect a network device and bring down the connection?

A

nmcli dev disconnect <iface name>

18
Q

What CLI command will display or temporarily modify the system’s FQDN?

A

hostname

19
Q

What CLI utility will permanently change to hostname in the /etc/hostname file

A

hostnamectl hostname <new_hostname>

20
Q

In what file are name IP address to name definitions for name resolution stored?

A

/etc/hosts

21
Q

What CLI command(s) would you use to test DNS server connectivity?

A

host <hostname|IP> or
dig <hostname|IP>

22
Q

What CLI command would you use to test the /etc/hosts file for a hostname entry?

A

getent hosts [hostname|IP]