edited by
12,245 views
37 votes
37 votes

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

  1. RIP uses distance vector routing
  2. RIP packets are sent using UDP
  3. OSPF packets are sent using TCP
  4. OSPF operation is based on link-state routing

Which of the above statements are CORRECT?

  1. I and IV only
  2. I, II and III only
  3. I, II and IV only
  4. II, III and IV only
edited by

4 Answers

Best answer
81 votes
81 votes

Statement $1$ is CORRECT because RIP is one of the Oldest DVR(Distance Vector Routing) Protocols which employ the hop count as a routing metric.

Statement $2$ is CORRECT because RIP uses the UDP as its transport protocol with port no $520.$

Statement $3$ is INCORRECT because OSPF doesnot use a transport protocol such as UDP or TCP but encapsulates its data directly into IP Packets.

Statement $4$ is CORRECT because OSPF is a routing protocol which uses Link State Routing(LSR) and works within a single Autonomous System.

PS: 

OSPF needs to perform reliable multicasting because it needs to talk to multiple possible neighbors on the same network segment. Now, TCP does not support multicast and UDP is not reliable Therefore, OSPF implements its own transport mechanism that allows both for reliability (acknowledgements and retransmissions of lost segments) and multicasting, bypassing both TCP and UDP.

Hence, Option C is CORRECT.

edited by
8 votes
8 votes
we all know RIP->Distance vector

and  OSPF->Link state routing

so 1 and 4 sure correct .

now agian RIP is used in UDP as in UDP 520 port

so 2 is also correct

so  1,2,4 correct

C is correct answer here
5 votes
5 votes
i)RIP uses distance vector routing, hence this is correct option .

ii)RIP is implemented as a process that uses the services of UDP on the well port number 520.so this is also correct.

iii)OSPF is implemented as a program in network layer,using service of the IP for propagation.but in option it is given TCP.hence wrong.

iv)OSPF is based on Link State Routing protocol.hence correct.

so answer is option C.
edited by
1 votes
1 votes
  1. RIP uses distance vector routing (True)
  2. RIP packets are sent using UDP(True)
  3. OSPF packets are sent using TCP(False because it doesn't require TCP or UDP it directly added in IP Datagram)
  4. OSPF operation is based on link-state routing(True).                    
Answer:

Related questions

44 votes
44 votes
3 answers
2
khushtak asked Feb 14, 2017
16,324 views
The maximum number of $\textsf{IPv4}$ router addresses that can be listed in the record route (RR) option field of an $\textsf{IPv4}$ header is______.