4 Troubleshooting IP Addressing Flashcards
What does pinging 127.0.0.1 do ?
This is the diagnostic, or loopback address, and if you get a successful ping, your IP stack is considered initialized; If it fails, then you have an IP stack failure and need to reinstall TCP/IP on the host
Cisco way of troubleshooting connectivity:
Ping loopback address: 127.0.0.1
Ping local host NIC IP (localhost)
Ping default gateway (router)
Ping device you are trying to connect to
What does the ‘ping’ command do ?
Uses ICMP echo request and replies to test if a node IP stack is initialized and alive on the network.
What does the ‘tracert’ command do ?
Displays the list of routers on a path to a network destination by using TTL time-outs and ICMP error messages. This command won’t work on a Cisco router (use traceroute).
What does the ‘arp -a’ command do ?
Displays IP-to-MAC-address mappings on a Windows PC.
What does the ‘show ip arp’ command do ?
Same function as arp -a, but displays the ARP table on a Cisco router.
What does the ‘ipconfig /all’ command do ?
Used only from a Windows command prompt; shows you the PC network configuration.
What does the ‘ipconfig’ command do ?
Used by MAC and Linux to get the IP address details of the local machine
What does the ‘ipconfig getifaddr en0’ command do ?
Used to find your IP address if you are connected to a wireless network or use en1 if you are connected to an Ethernet for MAC or Linux.
What does the ‘curl ifconfig.me’ and ‘curl ipecho.net/plain ; echo’ command do ?
This command will display your global Internet IP address in Terminal for MAC or Linux.