Routelearn.net
Course menu

Course 8: RoutingLesson 4.1 (11 of 12 in this course)60 of 91 in the CCNA series

Troubleshooting routing

A step-by-step way to find missing routes, wrong next hops and one-way traffic.

Intermediate · 8 min read

Routing troubleshooting is the methodical process of finding why packets do not reach a destination network, by following the packet hop by hop in both directions and checking at each router that a route to the destination exists, is the one actually chosen and points to the correct next hop.

In simple terms: You follow the packet’s journey one router at a time, there and back, and ask each router “do you know the way, and is it the right way?” until you find where it goes wrong.

A real-life situation

A ticket comes in: "PC1 can't reach the server at 192.168.3.10". A colleague added routes last night. R1 has a route to the server LAN, so the routing "looks fine". You need a method that finds the real break instead of guessing.

What to check, in order

Follow the packet the way it really travels: from the sender, one router at a time, then back again. At each router, ask one question: "does this router have a route for the destination, and does it point the right way?"

  1. The host. Is PC1's IP address, mask and default gateway correct? Can it ping its gateway, 192.168.1.1?
  2. Each router on the way there. Run show ip route 192.168.3.10 on R1, then on the next hop it names, and so on.
  3. Each router on the way back. Repeat for the reply: show ip route 192.168.1.10 on R3, then R2.
  4. Use traceroute to see where replies stop, then check that router first.
192.168.1.0/24203.0.113.0/3010.0.12.0/3010.0.23.0/30192.168.2.0/24192.168.3.0/24PC1192.168.1.10ISP203.0.113.1R1R2R3PC2192.168.2.10Server192.168.3.10
  1. 1. The request arrives. R1 and R2 both have routes toward 192.168.3.0/24, so the server receives the ping.
  2. 2. The reply dies at R3. R3 has no route to 192.168.1.0/24 and no default route. It drops the packet.
  3. 3. One-way traffic: from PC1 it looks like the server is down. Only checking the return path shows the real cause.

Why it works this way

Every router decides on its own, using only its own table. So a correct route on R1 says nothing about R2 or R3. And the reply is a new packet with a new destination, so it needs its own set of routes. That is why "it works one way" problems are so common: people configure the path there and forget the path back.

SymptomLikely causeCheck with
PC can't ping its own gatewayWrong IP, mask or VLAN on the PC, or the router interface is downipconfig, show ip interface brief
Traceroute stops at hop 1First router has no route, or its next hop is wrongshow ip route <dest> on that router
Request arrives but no replyMissing return route somewhere on the way backshow ip route <source> on each router back
Traceroute repeats two routersRouting loop: each points to the otherCompare both routers' next hops
Static route missing from the tableNext hop unreachable or exit interface downshow running-config | include ip route

How to verify it

Start with traceroute from R1, sourced from the LAN interface so the replies are addressed to LAN 1, just like PC1's. These outputs are based on Cisco documentation, not run on a lab device.

Example output · based on Cisco documentation; exact format varies by platform and software version
R1#traceroute 192.168.3.10 source GigabitEthernet0/0
Type escape sequence to abort.
Tracing the route to 192.168.3.10
VRF info: (vrf in name/id, vrf out name/id)
  1 10.0.12.2 1 msec 0 msec 1 msec
  2  *  *  *
  3  *  *  *
  4  *  *  *
R2 answers, R3 doesn't. Either R2 can't send the packet to R3, or R3 can't send its reply back. Check both.
Example output · based on Cisco documentation; exact format varies by platform and software version
R2#show ip route 192.168.3.10
Routing entry for 192.168.3.0/24
  Known via "static", distance 1, metric 0
  Routing Descriptor Blocks:
  * 10.0.23.2
      Route metric is 0, traffic share count is 1
R2 is fine: it points to R3. Now check the way back on R3.
Example output · based on Cisco documentation; exact format varies by platform and software version
R3#show ip route 192.168.1.10
% Network not in table
Found it. R3 has no route to LAN 1, and no gateway of last resort.

⚠️ The fix below is based on Cisco IOS / IOS XE documentation, not run on a lab device.

ip route 0.0.0.0 0.0.0.0 10.0.23.1

On R3: a default route toward R2 covers LAN 1 and every other remote network. Run the traceroute again; hop 2 should now be 10.0.23.2.

Check yourself

Predict · scenario 1

Traceroute shows 10.0.12.1, 10.0.12.2, 10.0.12.1, 10.0.12.2… What is wrong?

Predict · scenario 2

R1 has a correct route to the server LAN, but pings from PC1 fail. What should you check next?

Predict · scenario 3

A static route is in the running configuration but not in show ip route. Why?