GATE CS 2021 Set 2 | Question 55

Computer Networks › Network Layer · MSQ · 2 marks · Answer: B, C

  1. Question 55Computer Networksmsq2 marks
    Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology is shown in the figure. The objective is to find the shortest-cost path from router to routers and . has three neighbours . During one iteration, measures its distance to as 3, 2 and 5 respectively. gets routing vectors indicating that the distance to from are 7, 6 and 5, and the distance to from are 4, 6 and 8 respectively. Which of the following statement(s) is/are correct with respect to the new routing table of , after updation during this iteration?
    GATE CS 2021 Set 2 Question 55 figure
    • A.
      The distance from to will be stored as 10.
    • B.
      The distance from to will be stored as 7.
      ✓
    • C.
      The next hop router for a packet from to is .
      ✓
    • D.
      The next hop router for a packet from to is .

    Answer: B, C

    Solution

    To : via , via , via ; minimum 8 via (so A false, C true). To : via , via , via ; minimum 7 via (so B true, D false).

More GATE PYQ on Network Layer

All GATE CS Computer Networks PYQ →

Attempt GATE CS 2021 Set 2 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →