Sub topic 3
Reading Traceroute Output and Locating a Problem
Assume you know what an IP address is, can open a terminal, and understand that routers forward traffic between networks.
Reading traceroute output
tracert on Windows and traceroute on Linux or macOS list routers between your computer and a destination. Each line is a hop. The times show the round-trip time for probes to that hop.
An asterisk means a probe received no reply before the timeout. One hop with asterisks does not prove a fault. Routers may filter or rate-limit diagnostic replies while still forwarding traffic.
Look for where every later hop stops responding, or where latency and loss begin and continue. A delay at one hop that disappears at the next hop usually reflects that router's reply policy, not forwarded-packet loss.
A layered troubleshooting workflow
- Check
ipconfigfor an address, subnet mask, default gateway, and DNS servers. - Ping
127.0.0.1to test the local TCP/IP stack. - Ping your own address, then the default gateway.
- Ping a remote IP address, such as
8.8.8.8. - Ping a remote name, such as
example.com. - If the IP works but the name fails, investigate DNS. If the gateway fails, investigate the local link or configuration.
- Run
tracertortraceroutewhen the remote test fails or is slow.
When diagnostic results mislead you
ICMP is the protocol commonly used by ping and traceroute. Firewalls may drop ICMP, and routers may limit its priority. Therefore, a timeout does not always mean that application traffic is broken. Test the actual service too, such as HTTPS on port 443.
> callout note > Traceroute identifies the first visible change in the path. It cannot prove that the displayed router caused the application failure.
Equivalent commands
| Task | Windows | Linux or macOS |
|---|---|---|
| View addresses and routes | `ipconfig` | `ip addr`, `ip route` |
| Test reachability | `ping host` | `ping -c 4 host` |
| Trace a path | `tracert host` | `traceroute host` |
Windows-specific tests
pathping combines a route trace with repeated probes and reports loss statistics for each hop.
pathping example.com
ping -f -l 1472 8.8.8.8The second command probes the path maximum transmission unit, or MTU. A 1472-byte payload plus 28 bytes of IPv4 and ICMP headers tests a 1500-byte packet. Reduce the payload if fragmentation or failure occurs.
Exercise
Traceroute shows loss at hop 4, but hops 5 through 10 respond normally. What is the safest conclusion?
Show answer
Hop 4 probably rate-limits or filters diagnostic replies. The result does not prove that forwarded traffic is lost there.