109.3 Basic Network Troubleshooting Flashcards
DNS lookup utility for troubleshooting DNS issues, options use the + sign.
dig [ global options ] host [ local options ]
Ex. dig +noall +answer MX linux.com
Ping command for IPv6.
ping6
Traceroute command for IPv6.
traceroute6
Tracepath for IPv6.
tracepath6
First column shows TTL.
Can be used to get the host name from an IP address or the IP address from a host name.
host 66.6.44.4
host kmauthorized.com
Enables or disables receiving multicast packets on the network interface.
ifconfig [-]allmulti
Sets promiscuous mode.
ifconfig eth0 -promisc
Flush all IP addresses from the 192.168.1.0 network.
ip -s a f to 192.168.1.0/24
Get additional statistics about the IP network.
ip -s -s
Remove 192.168.1.151 from the eth0 interface.
ip a del 192.168.1.151/24 dev eth0
Bring eth0 down and back up again.
ip link set eth0 down
ip link set eth0 up
Flush protocol addresses.
ip eth0 flush
A simplified version of traceroute, determines MTU, no need for superuser privileges.
tracepath
Changes made to the routing table using which command are temporary?
route
Reads and writes data across network connections using TCP or UDP.
netcat