GATE / CS ARCHIVE

GATE CSE 2017 SET 2 / QUESTION 9

GATE CSE 2017 Set 2 Q9

Computer Networks · Routing Algorithms · Full GATE CSE 2017 Set 2 paper

GATE 2017 Set 2, Q9 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Routing Algorithms

Question 9, GATE 2017: For IPv4 routing, assess I:RIP uses distance-vector routing; II:RIP packets use UDP; III:OSPF packets use TCP; IV:OSPF uses link-state routing. A:I,IV. B:I,II,III. C:I,II,IV. D:II,III,IV.
Tap to enlarge
Your answer
Answer & solution

Official answer: C

1. RIP exchanges distance estimates with neighbors and uses a distance-vector approach, so I is true. Its routing messages are carried in UDP datagrams, making II true.

2. OSPF distributes link-state information and computes shortest paths from its link-state database, so IV is true. Its packets run directly over IP using protocol number 89, not through TCP, so III is false.

3. The true set is I,II,IV, option C. Routing algorithm type and transport encapsulation are separate properties; identifying OSPF as link-state does not imply that it uses TCP.

Original paper, page 4 · Answer key