Last Updated :
10 Dec, 2018
Consider the given subnet:
The measured delay of O to M, P and R are 1, 5, 2 respectively. O has received following distance vector from node M;(0, 1, 4, 7, 2, 5), P:(4, 3, 1, 0, 2, 8) and R:(6, 2, 8, 1, 2, 0).
Which of the following is the correct routing table for O?
(A)
To |
Via |
Distance |
M |
P |
1 |
N |
M |
2 |
O |
O |
1 |
P |
R |
2 |
Q |
P |
4 |
R |
M |
2 |
(B)
To |
Via |
Distance |
M |
M |
1 |
N |
M |
2 |
O |
– |
– |
P |
O |
3 |
Q |
M |
3 |
R |
R |
2 |
(C)
To |
Via |
Distance |
M |
R |
2 |
N |
N |
1 |
O |
– |
0 |
P |
P |
1 |
Q |
M |
1 |
R |
N |
2 |
(D)
To |
Via |
Distance |
M |
R |
2 |
N |
N |
1 |
O |
N |
1 |
P |
R |
1 |
Q |
P |
2 |
R |
M |
2 |
Answer: (B)
Explanation: Routing table of O via M:(1, 2, 5, 8, 3, 6)
Routing table of O via P:(9, 8, 6, 5, 7, 13)
Routing table of O via R:(8, 4, 10, 3, 4, 2)
Final Table:
To |
Via |
Distance |
M |
M |
1 |
N |
M |
2 |
O |
– |
– |
P |
O |
3 |
Q |
M |
3 |
R |
R |
2 |
So, option (B) is correct.
Quiz of this Question
Share your thoughts in the comments
Please Login to comment...