Consider the following statements about the routing protocols. Routing Information Protocol (RIP) and Open Shortest Path First (OSPF) in an network.
- RIP uses distance vector routing
- RIP packets are sent using UDP
- OSPF packets are sent using TCP
- OSPF operation is based on link-state routing
Which of the above statements are CORRECT?
View worked solution
Answer: C
Let's analyze each statement individually:
- Statement I: RIP uses distance vector routing.
Correct. Routing Information Protocol (RIP) is a classic distance-vector routing protocol that uses hop count as its routing metric and is based on the Bell-Ford (or Bellman-Ford) algorithm. - Statement II: RIP packets are sent using UDP.
Correct. RIP operates as an application-layer protocol and uses UDP as its transport protocol (specifically, port 520). - Statement III: OSPF packets are sent using TCP.
Incorrect. Open Shortest Path First (OSPF) does not use a transport layer protocol like TCP or UDP. Instead, OSPF packets are encapsulated directly within IP datagrams with an IP protocol number of 89. - Statement IV: OSPF operation is based on link-state routing.
Correct. OSPF is a link-state routing protocol that builds a complete topology map of the network and uses Dijkstra's shortest path first algorithm.
Thus, statements I, II, and IV are correct, making C the correct option.
Free practice · Your answers on this page are not saved.
