Open In App

GATE | GATE-CS-2017 (Set 2) | Question 18

Consider the following statements about the routing protocols, Routing Information Protocol(RIP) and Open Shortest Path First(OSPF) in an IPv4 network.

I. RIP uses distance vector routing
II. RIP packets are sent using UDP
III. OSPF packets are sent using TCP
IV. OSPF operation is based on link-state routing



Which of the following above are CORRECT?
(A) I and IV only
(B) I, II and III only
(C) I, II and IV only
(D) II, III and IV only

Answer: (C)
Explanation: RIP uses distance vector routing (DVR) protocol which employ the hop count as a routing metric. Also, RIP uses the UDP as its transport protocol with port no 520.
OSPF uses link state routing (LSR) protocol works within a single Autonomous System. OSPF encapsulates its data directly into IP Packets and does not use either TCP or UDP.

Therefore, statement (III) is false and only statements I, II and IV are correct.
Option (C) is true.
Quiz of this Question



Article Tags :