07 Networking and Network Troubleshooting Flashcards
What network protocol does ping use?
ICMP
what command can be used to see the IP address?
ip addr
What four components are needed for a network to function
- IP Address
- Netmask
- Default Route
- DNS nameserver
what three commands can be used to invoke network manager application? (in addition to others)
- nmcli
- nmtui
- nm-connection-editor
DHCP the dynamic host control protocol, does what?
Automates assigning hosts with IP addresses
What two commands allow us to query information from a DNS nameserver?
dig and host
The steps to troubleshoot a network connection are?
Verify adapter is active
Verify local configuration
Verify connections
Verify server functions
What are the three flavors of network manager application
nmcli (cli version)
nmtui (colorized menu)
nm-connection-editor (graphical)
what does the ip route and ip address show commands do?
ip route shows default route info
ip address show shows network addressing info
What does the netmask do?
separates the network from host sections in an IP address
what command can be used to check if a network adapter is active?
ip link
what command can be used to toggle an adapter on or off
ip link set <device> up/down</device>
what is the nmcli command to query the DHCP information stored by network manager?
nmcli con sho -a: shows active devices
nmcli con sho <name> for specific info about that connection. Then pipe it into a grep command to filter just for dhcp</name>
what are the two best options for verifying that DHCP is present?
use network manager to examine the info from the local dhcp server
use the ISC DHCP client
how can you force a dhcp update from the server?
cycle the connection up and down
nmcli con down/up id <connection></connection>