GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2021 set2

GATE 2021 set2 · CS · MSQ · 2 marks · Computer Networks › Routing Algorithms

GATE 2021 set2 Computer Science and Information Technology question: Consider a computer network using the distance vector routing algorithm in its network…

Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is as shown below.

figure

The objective is to find the shortest-cost path from the router to routers and . Assume that does not initially know the shortest routes to and . Assume that has three neighbouring routers denoted as , , and . During one iteration, measures its distance to its neighbours , , and as 3, 2, and 5, respectively. Router gets routing vectors from its neighbours that indicate that the distance to router from routers , , and are 7, 6, and 5, respectively. The routing vector also indicates that the distance to router from routers , , and 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?

  1. (A)

    The distance from to will be stored as 10.

  2. (B)

    The distance from to will be stored as 7.

  3. (C)

    The next hop router for a packet from to is .

  4. (D)

    The next hop router for a packet from to is .

Show answer

Official answer: B,C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion