Poison Reverse: How Routers Reject a False Backup Route
Two routers can each believe the other knows the way to a destination. Traffic passes back and forth, getting no closer. Poison reverse helps prevent that circular mistake.
Poison reverse advertises a learned route as unreachable back toward the neighbor that supplied it. It keeps that neighbor from choosing the advertising router as a backup.
A router forwards packets, the units used to carry network data. A route tells it where to send traffic for a destination network. Routers that exchange routing information are called neighbors.
A Borrowed Route Isn't a Spare Route
Suppose Router B knows how to reach network X. Router A learns about X from B and sends traffic for X there.
A's path depends on B. If A advertises X back to B without revealing that dependency, B could mistake A for another way there.
If B then loses its own route, it might send traffic for X to A. A would send it back to B: a routing loop.
With poison reverse, A advertises X back toward B with an unreachable metric. A metric describes a route's cost; the unreachable value rules that route out.
How Routers Learn the Way on Their Own
The message concerns X through A. A can still use its healthy route to X through B while telling B that A offers no independent route.
In distance-vector routing, routers learn routes and their costs from neighbors. The RIP version 2 specification explains the two-router problem and the poisoned-reverse rule.
Why RIP Calls 16 “Infinity”
RIP, the Routing Information Protocol, uses a hop count: a metric measuring the steps through routers. Its usable route metrics run up to 15. It reserves 16 to mean unreachable, also called infinity.
Here, infinity is a defined marker. Other protocols can use different metrics and limits.
The rule applies to updates sent back on the interface, or network connection, where the route was learned. Other routers sharing that connection can receive the poisoned update too.
Cisco's RIP documentation for NX-OS illustrates both the metric and the interface rule. Its related terms describe two approaches:
- Simple split horizon leaves the learned route out of updates sent back toward its source.
- Split horizon with poisoned reverse includes the route, but marks it unreachable in those updates.
Route poisoning advertises a failed or unusable route with an unreachable metric. Poison reverse instead marks a route in updates sent back toward its source, even while the route works.
- Get five gigabit ports and a fast ARM processor for the price of a basic home router.
- Practice real routing at your desk on gear that network pros also deploy.
- Tuck it beside your modem: it takes up almost no room.
Which Loops Remain Possible?
Poison reverse prevents two-router loops in RIP's model. With three or more routers, a larger circle of mistaken routing information can survive this check.
RIP also uses triggered updates, sent when routing information changes, to help spread news of a failure. Timeouts help remove stale information. These mechanisms help routers settle on updated routes, a process called convergence.
Explicit poison entries can make updates larger than simply omitting routes. The RIP specification discusses that tradeoff alongside the limits of loop prevention.
A packet using Internet Protocol version 4, or IPv4, has a separate safeguard against circulating forever. Its time to live, or TTL, is reduced as routers forward it. When the limit expires, the packet is discarded, as required by the IPv4 router standard.
An expired TTL ends that packet’s journey; later packets can meet the same fate. Poison reverse addresses the routing information that sends them around the loop in the first place.
Split Horizon: Why Routers Don’t Echo Every Route

Routing Loops: The Packet Stops, but the Bad Route Can Remain

RIP: Routers Count Hops, Not Seconds

QUOTE:
"Amateurs hack systems, professionals hack people."
