Pcornel
Networking · Network Assurance › Troubleshooting

Traceroute

Cheat sheet · https://pcornel.dk/topic.php?topic=727

Back to the Topic

Answer

Traceroute increases the TTL (or hop limit) per probe so each router on the path returns ICMP time exceeded, revealing the hops; firewalls and asymmetric paths can hide or distort hops.

Remember

  • Ping tests a specific ICMP path/source, not every protocol
  • Extended ping controls source, VRF, size, DF and repetition
  • Traceroute infers TTL-expiry hops and can be altered by filtering, ECMP and asymmetry
  • Debug is live and potentially expensive; scope it and disable it promptly.

First checks

  • traceroute <ip> — hop path
  • traceroute <ip> source <interface> numeric — controlled source

Commands

traceroute ipv6 <destination>
Observe routed IPv6 hop path using Hop Limit expiry behavior.
traceroute <destination>
Trace the path to a destination.
traceroute
tracert
traceroute -T

Verify in this order

TTL 1,2,3… → time exceeded → path

Where it usually breaks

underlay/interface reachability → protocol adjacency/session → received/originated state → policy → best path/RIB → FIB/adjacency → traffic path

Traceroute · operational reference

Traceroute observationMeaning
Hop repliesTTL-expired response received
AsteriskNo reply to that probe
Different hopsECMP/asymmetry possible
Destination replyProbe reached endpoint

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=727

Confirmation

Confirm action

Continue?