Routing

How routers choose a path and what happens when two protocols disagree. Articles tagged Routing cover administrative distance, redistribution, path selection and route filtering.

Latest

Terminal showing a traceroute alternating between two router addresses, the signature of a routing loop
Routing ·

Routing Loop Troubleshooting: Detect, Break, and Prevent Them

A traceroute whose hop addresses repeat until the TTL runs out is a routing loop, and nothing else. Captured on CML with IOS XE 17.18.2: the symptom signature, why TTL keeps a routing loop from behaving like a Layer 2 loop, the four causes ranked by real frequency, and the Null0 discard route...

Terminal card showing a BGP path with an inaccessible next hop and no best path, then the same prefix installed as a B route after next-hop-self
BGP ·

BGP Route Not in the Routing Table: Why It Is Not Installed

The prefix is in the BGP table and show ip route says % Network not in table. The leading status characters are the whole diagnosis. Captured live on IOS XE 17.18.2 in CML, where a missing next-hop-self leaves an iBGP path valid, inaccessible and never installed.

Terminal card showing R1 with an OSPF neighbor stuck in INIT while R2 has an empty neighbor table, then both routers reaching FULL
OSPF ·

OSPF Stuck in INIT: Diagnosing the One-Way Hello

INIT means "I hear you, you do not hear me". One router shows a neighbor in INIT, the other shows an empty table, and that asymmetry is the entire diagnosis. Captured live on IOS XE 17.18.2 in CML with an inbound ACL eating OSPF in one direction.

Terminal showing an OSPF neighbor stuck in EXSTART and the MTU mismatch debug line
OSPF ·

OSPF MTU Mismatch: Neighbor Stuck in EXSTART, and Both Fixes

A neighbor parked in EXSTART means the DBD exchange is failing, and IP MTU mismatch is almost always why. Captured on CML with IOS XE 17.18.2: the asymmetric stuck states, the debug line that names the cause, a recipe to reproduce it, and both fixes proven all the way to FULL.