Consider a network with five nodes, to , as shown as below.

The network uses a Distance Vector Routing protocol. Once the routes have been stabilized, the distance vectors at different nodes are as follows.
N1:
N2:
N3:
N4:
N5:
Each distance vector is the distance of the best known path at that instance to nodes, to , where the distance to itself is . Also, all links are symmetric and the cost is identical in both directions. In each round, all nodes exchange their distance vectors with their respective neighbors. Then all nodes update their distance vectors. In between two rounds, any change in cost of a link will cause the two incident nodes to change only that entry in their distance vectors.
The cost of link reduces to (in both directions). After the next round of updates, what will be the new distance vector at node, ?
View worked solution
Answer: A
To find the new distance vector at node after the link cost of reduces to , we follow the Distance Vector Routing update rules.
Step 1: Identify neighbors and immediate updates
Node is connected to neighbors , , and . Before the update round, the change in the link cost of to is updated only at the incident nodes and :
- The direct link cost becomes .
- The distance vector of immediately becomes: .
- The distance vectors of and remain unchanged:
Step 2: Calculate the new distance vector at
In the next round, updates its distance vector using the Bellman-Ford equation:
We compute this for each destination :
- For :
- For :
- For : Distance to itself is .
- For :
- For :
Thus, the new distance vector at is .
Free practice · Your answers on this page are not saved.
