Validate Network Configuration Flashcards
What will the command “ip link
” do?
List all available network interfaces on your system.
What will the command “ip addr show
” do?
It will list all network interfaces and their assigned IP addresses.
What option flag of the “ip link
” command will show statistics about an interfaces network performance?
-s
What option flag of the ping
command will limit the number of packets sent?
-c
N
N = the number of packets to send
What command is the IPv6 version of ping
?
ping6
What CLI command will show the system’s routing information?
ip route
or ip -6 route
for the IPv6 route
What CLI command(s) would you use to troubleshoot a network traffic path?
traceroute
or tracepath
What option flags are use with traceroute
to specify the transport protocol?
-I
ICMP-T
TCP
no flag (default) UDP
What CLI command(s) would you use to troubleshoot an IPv6 network traffic path?
tracepath6
ortraceroute -6
What CLI command(s) would you use to list all open TCP sockets on a sysytem?
ss -ta
ornetstat -ta
(legacy)
Options:-a
list all listening and established sockets-t
list TCP sockets-u
list UDP sockets-p
list process using socket
What does the NetworkManager service do?
Monitor and manage a system’s network settings.
In what directory does NetworkManager store network profiles?
/etc/NetworkManager/system-connections
What CLI utility is used to create an edit network connection files (profiles)?
nmcli
What CLI command will list all active network connections?
nmcli con show --active
What CLI command would create a network ethernet connection named con-name
for the eno2
interface?
nmcli con add con-name eno2 type ethernet ifname eno2