Concepts / Troubleshooting and ICMP

Troubleshooting and ICMP

Traceroute

Also called tracert, path, hops

Lists the routers on the way to a destination, by sending packets with TTL 1, then 2, then 3.

Each router where the TTL runs out answers with ICMP time exceeded, revealing itself. * means no answer came for that hop: the router stays quiet, or something filters the reply. A tunnel shows as one hop, and the path back may differ from the path there.

Each probe stops one router further
Each probe stops one router further

Traceroute sends probes with TTL 1, 2, 3…: each stops one router further, and the time exceeded that router sends back names that hop. From the Routing tables: how a router picks one line out of many lab.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab