For the network given in the figure below, the routing tables of the four…
2007
For the network given in the figure below, the routing tables of the four nodes A, E, D and G are shown. Suppose that F has estimated its delay to its neighbors, A, E, D and G as 8, 10, 12 and 6 msecs respectively and updates its routing table using distance vector routing technique.

Attempted by 81 students.
Show answer & explanation
Approach: Use distance-vector update: for each destination, compute cost via each neighbor as (cost from F to that neighbor) + (neighbor's reported cost to destination), then choose the minimum.
Given:
Neighbors and link costs: A = 8 ms, E = 10 ms, D = 12 ms, G = 6 ms.
Relevant entries from neighbors' routing tables (as given):
A: A=0, B=40, C=14, D=17, E=21, F=9, G=24
D: A=20, B=8, C=30, D=0, E=14, F=7, G=22
E: A=24, B=10, C=7, D=20, E=0, F=11, G=22
G: A=21, B=14, C=11, D=22, E=19, F=10, G=0
Compute updated costs for F:
To A: via A = 8 + 0 = 8; via E = 10 + 24 = 34; via D = 12 + 20 = 32; via G = 6 + 21 = 27 → choose 8 (via A).
To B: via A = 8 + 40 = 48; via E = 10 + 10 = 20; via D = 12 + 8 = 20; via G = 6 + 14 = 20 → choose 20 (via D or E or G).
To C: via A = 8 + 14 = 22; via E = 10 + 7 = 17; via D = 12 + 30 = 42; via G = 6 + 11 = 17 → choose 17 (via E or G).
To D: via A = 8 + 17 = 25; via E = 10 + 20 = 30; via D = 12 + 0 = 12; via G = 6 + 22 = 28 → choose 12 (via D).
To E: via A = 8 + 21 = 29; via E = 10 + 0 = 10; via D = 12 + 14 = 26; via G = 6 + 19 = 25 → choose 10 (via E).
To G: via A = 8 + 24 = 32; via E = 10 + 22 = 32; via D = 12 + 22 = 34; via G = 6 + 0 = 6 → choose 6 (via G).
To F: distance to self = 0.
Final updated routing table for F (costs):
A: 8
B: 20
C: 17
D: 12
E: 10
F: 0
G: 6
Therefore the table shown in option A matches the computed updated routing table for F.
A video solution is available for this question — log in and enroll to watch it.