Distance Vector Routing (Bellman-Ford)
๐ก The Core Idea
In Distance Vector routing, nodes iteratively calculate the shortest path using the Bellman-Ford equation. It is distributed and asynchronous; nodes do not need a global map, they simply trust their neighborsโ estimates.
๐ง The Equation
- : Cost from node to destination .
- : Cost to neighbor .
- : The neighbor โs current cost to reach .
โ๏ธ How it works
- Wait: Wait for a change in local link cost or a message from a neighbor.
- Recompute: Run the Bellman-Ford equation using the new data.
- Notify: If the least-cost path changes, send the new distance vector to neighbors.
๐ Connections
- Source: Source - Intradomain Routing
- Protocol Implementation: Concept - RIP Protocol (Not explicitly extracted but mentioned in source as RIP)