PC1 can't reach the server after last night's change
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.
Follow the packet there and back
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?"
Device key: PC1, PC2 (computer) · ISP (network / service) · R1, R2, R3 (router)
Lines show the example’s network connections. Thick links: uplinks/WAN, as labelled. The coloured path and envelope follow the current step; its text identifies the sender, receiver and traffic type.
Reading the addresses
IP labels identify interfaces or destinations. Subnet labels identify networks; /n is the prefix length. A router ID (RID) identifies a routing process and need not be a reachable interface.
An IP address alone is not a URL. A web URL includes a scheme such as https://; an address on a router or printer does not imply a website.
- PC1: IP 192.168.1.10
- ISP: IP 203.0.113.1
- PC2: IP 192.168.2.10
- Server: IP 192.168.3.10
- 1. The request arrives. R1 and R2 both have routes toward 192.168.3.0/24, so the server receives the ping.
- 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. One-way traffic: from PC1 it looks like the server is down. Only checking the return path shows the real cause.
Why one-way failures are so common
| Symptom | Likely cause | Check with |
|---|---|---|
| PC can't ping its own gateway | Wrong IP, mask or VLAN on the PC, or the router interface is down | ipconfig, show ip interface brief |
| Traceroute stops at hop 1 | No ICMP reply: inspect forwarding, return routes and ICMP filtering | show ip route <dest> on that router |
| Request arrives but no reply | Missing return route somewhere on the way back | show ip route <source> on each router back |
| Traceroute repeats two routers | Routing loop: each points to the other | Compare both routers' next hops |
| Static route missing from the table | Next hop unreachable or exit interface down | show running-config | include ip route |
When a ticket says routes were added recently, treat that as a hint about where to look. A change written with only the path there in mind often leaves out the routers on the way back.
Hop by hop to the missing route
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.
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#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
R3#show ip route 192.168.1.10 % Network not in table
show ip route confirms "Gateway of last resort is not set").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.1On 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.
Test yourself on routing faults
Traceroute shows 10.0.12.1, 10.0.12.2, 10.0.12.1, 10.0.12.2… What is wrong?
R1 has a correct route to the server LAN, but pings from PC1 fail. What should you check next?
A static route is in the running configuration but not in show ip route. Why?
Cisco reference: Route installation, administrative distance and forwarding.