Routing loops and counting to infinity: split horizon, route poisoning, holddown
Sign in to read this lesson
Distance vector protocols are vulnerable to routing loops. When Clubs' 3.3.3.0 network goes down, Hearts' periodic update advertises that network at 1 hop; Clubs accepts it and the routers keep updating each other endlessly (counting to infinity), with Hearts and Clubs pointing at each other. The fixes: a maximum hop count (16 is unreachable for RIP, so the maximum is 15), split horizon (don't advertise what you learned from a neighbour back to it), route poisoning (a downed network is advertised at once in a triggered update with metric 16), poison reverse and a 180-second holddown timer.
What you will learn
- Counting to infinity: stale information about a downed network circulates between the routers and the hop count grows with every update; Hearts and Clubs point at each other: a routing loop. Thanks to the TTL, IP packets don't loop forever.
- Maximum hop count: for RIP 16 = unreachable, so the maximum usable hop count is 15.
- Split horizon: don't advertise a network you learned from a neighbour back to that neighbour.
- Route poisoning: as soon as a network goes down, a triggered update is sent immediately with an infinite metric (16 for RIP). Poison reverse: the neighbour sends the route poison back in response. Route poisoning overrules split horizon.
- Holddown timer (180 s): information with the same or a worse metric is ignored; a better metric stops the timer and updates the table; if nothing arrives, the network is removed from the table.
The lesson has 5 key points, an explanation and 5 questions. It opens with a package.