N10-005 · Question #519
Which of the following commands would be used to identify how many hops a data packet makes before reaching its final destination?
The correct answer is C. traceroute. The traceroute command (tracert on Windows) identifies each router hop a packet traverses on its way to a destination, showing the number of hops and latency at each one. No other listed command provides hop-by-hop path information.
Question
Which of the following commands would be used to identify how many hops a data packet makes before reaching its final destination?
Options
- Aroute
- Bnetstat
- Ctraceroute
- Dping 127.0.0.1
How the community answered
(43 responses)- B2% (1)
- C93% (40)
- D5% (2)
Why each option
The traceroute command (tracert on Windows) identifies each router hop a packet traverses on its way to a destination, showing the number of hops and latency at each one. No other listed command provides hop-by-hop path information.
The route command displays or modifies the local IP routing table - it does not trace the path packets take across the network.
The netstat command displays current network connections, routing tables, and interface statistics, but does not trace the path of packets to a remote destination.
The traceroute command works by sending packets with incrementally increasing TTL values, causing each successive router to return an ICMP 'Time Exceeded' message, thereby revealing its identity and round-trip time. The output lists every hop between the source and the final destination, giving the total hop count.
Ping 127.0.0.1 tests the local loopback interface only - it never leaves the local host and reveals nothing about hops to a remote destination.
Concept tested: Network path tracing with traceroute command
Source: https://www.cisco.com/c/en/us/support/docs/ip/ip-routing/13730-ext-ping-traceroute.html
Topics
Community Discussion
No community discussion yet for this question.