Updating Other Routers (Distance Vectors)
Upon initialization, each router reads its preconfigured IP address and metric (cost in hops) of all its active ports.
Each router transmits a portion of its routing table (network ID, metric) to each “neighbor” router.
Each router uses the most recent updates from each neighbor.
Each router uses the update information to calculate its own “shortest path” (distance in hops) to a network.
Tables are updated only:
- If the received information indicates a shorter path to the destination network.
- If the received update information indicates a network is no longer reachable.
- If a new network is found.