atom

Count To Infinity Problem

Count-to-Infinity Problem & Poison Reverse

💡 The Core Idea

A major flaw in Distance Vector routing. “Good news” (cost decrease) propagates fast, but “Bad news” (link failure or cost increase) propagates slowly, causing routing loops where nodes bounce packets back and forth indefinitely (or until they count to infinity).

🧠 Mechanism

If link XYX-Y fails (cost jumps to 60):

  1. YY might switch to route through ZZ, because ZZ was routing through YY.
  2. YY thinks ZZ has a path, and ZZ thinks YY has a path.
  3. They keep incrementing their costs back and forth, assuming the other still has a valid route.

The Fix: Poison Reverse

If node ZZ routes through YY to get to destination XX, ZZ will lie to YY and say its distance to XX is Infinity.

🔗 Connections