N10-009 ยท Network troubleshooting tools
ping vs. traceroute/tracert
Testing reachability and path with ping and traceroute/tracert, reading results.
Key points
- ping sends ICMP echo requests and reports replies, round-trip time and loss, so it tests reachability. traceroute (Linux) and tracert (Windows) send probes with TTL 1, 2, 3... and read the Time Exceeded replies to list each router on the path.
- A row of asterisks means that hop did not answer, not necessarily that it is down.
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/tracert
Practice questions
Which ICMP message does a router send back when a packet's TTL reaches 0, the behavior traceroute relies on?
- Echo Reply
- Time Exceeded
- Redirect
- Source Quench
Show answer
Answer: B. Time Exceeded
Time Exceeded is returned by the router that decremented TTL to 0. Echo Reply comes only from the final destination.
Which statements about tracert on Windows are correct?
- It starts with TTL 1 and increments it for each round of probes
- A hop showing asterisks may simply not send Time Exceeded replies
- The default maximum is 30 hops
- It reports available bandwidth for each hop
- It sends TCP SYN probes to port 80 by default
Show answer
Answer: A. It starts with TTL 1 and increments it for each round of probes, B. A hop showing asterisks may simply not send Time Exceeded replies, C. The default maximum is 30 hops
tracert raises TTL from 1 and stops at 30 hops by default; routers that ignore expired TTL show as asterisks. It does not measure bandwidth and uses ICMP echo, not TCP SYN.
True or false: a trace that shows asterisks on a middle hop but completes to the destination proves that the middle router is down.
Show answer
Answer: False
False. Many routers deprioritize or filter ICMP replies about expired TTL while still forwarding traffic, so the trace continues past them.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
