Computer Networks
OSI/TCP-IP Layers & Routing
GATE 2017
Medium
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 statements above are CORRECT?
- AI and IV only
- BI, II and III only
- I, II and IV only
- DII, III and IV only
Explanation
RIP is a distance-vector protocol (I, true) that runs over UDP port 520 (II, true). OSPF is link-state (IV, true), but it runs directly over IP (protocol number 89) — NOT over TCP (III, false). So I, II, and IV are correct.
Source: GATE CS 2017 (Session 2) (2017)
This question is part of a 15-day revision cycle — sign in and Project Forge will bring it back the day before you'd forget it.