Consider the following statements about the routing protocols. Routing…

2017

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 above statements are CORRECT?

  1. A.

    I and IV only

  2. B.

    I, II and III only

  3. C.

    I, II and IV only

  4. D.

    II, III and IV only

Attempted by 270 students.

Show answer & explanation

Correct answer: C

Answer: Statements I, II and IV are correct; statement III is incorrect.

Evaluation of each statement:

  • I. RIP uses distance vector routing — True. RIP uses the distance-vector algorithm (hop count as metric) and exchanges routing updates with neighbors.

  • II. RIP packets are sent using UDP — True. RIP uses UDP as its transport protocol (RIP uses UDP port 520).

  • III. OSPF packets are sent using TCP — False. OSPF does not use TCP or UDP; it runs directly over IP (protocol number 89) and implements its own reliable flooding mechanisms.

  • IV. OSPF operation is based on link-state routing — True. OSPF is a link-state routing protocol that builds a link-state database and computes shortest paths using Dijkstra's algorithm.

Therefore, the correct combination is the set containing the true statements: I, II and IV.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir