BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Static Routing

traceroute

Lists each router hop on the path to a destination, so you can see where forwarding stops.

Written by a working field network engineer · CCNA, Security+, CySA+

Shows each router hop on the way to a destination by sending probes with increasing TTL values. Where the hops stop is where to start looking.

Example output

R1#traceroute 192.168.20.21
Type escape sequence to abort.
Tracing the route to 192.168.20.21
VRF info: (vrf in name/id, vrf out name/id)
  1 10.0.12.2 1 msec 0 msec 1 msec
  2 192.168.20.21 1 msec 1 msec 1 msec

Reference output: hand-written in standard Cisco IOS format for this example network, not captured from a device.

Useful variants

What each column or field means

FieldMeaning
Hop numberEach line is one router (or the destination) along the path, in order.
AddressThe interface that answered: the ingress interface of that hop.
1 msec 0 msec 1 msecRound-trip time of each of the three probes to that hop.
* * *No reply from that hop within the timeout.

When it doesn’t look right

The trace stops with * * * after a certain hop.

The last responding hop is the last router that knew where to send the packet, or the next hop is filtering. Check the routing table of the next router along the path.

The same two addresses repeat until the trace ends.

A routing loop: two routers point at each other for this destination. Usually two static routes, or a static route fighting a dynamic one.

A middle hop shows * but later hops answer.

That router rate-limits or does not send ICMP time-exceeded. If the destination answers, forwarding is fine.

Related commands

Try it yourself

Learn it in the CCNA path

Topic

Static Routing — Read the routing table, add static and default routes in both directions, and prove reachability with ping and traceroute.

All 57 commands