Operating Systems
A technician wants to confirm that the local TCP/IP stack is working on a workstation before testing any network hardware. Which command does this without sending traffic onto the network?
Show the answer
Correct answerC. ping 127.0.0.1
AWhy not this: This external address depends on the NIC, gateway and internet, so it does not isolate the local stack.
BWhy not this: tracert maps the hops to a destination; it is not a basic stack test and adds nothing for loopback.
CWhy this is right: The loopback address stays on the host, so a reply shows the local TCP/IP stack is working.
DWhy not this: nslookup queries a DNS server for name records; it does not test the TCP/IP stack with ICMP.
Pinging 127.0.0.1, the loopback address, tests the local TCP/IP stack and never leaves the host. Pinging 8.8.8.8 also needs the NIC, gateway and internet path, so a failure would not isolate the local stack.