• edited by
20,194 views
60 60 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

5 Answers

Best answer
126 126 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
9 9 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
6 6 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
2 2 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).                    
0 0 votes

COMMENT BELOW IF YOU HAVE ANY DOUBT

Answer:
Position:
Show:

Related questions

35 35 votes
6 answers 6 answers
13.8k
13.8k views
Madhav asked Feb 14, 2017
13,762 views
Consider two hosts $X$ and $Y$, connected by a single direct link of rate $10^6\; \text{bits/sec}$. The distance between the two hosts is $10,000\;\text{km}$ and the prop...
66 66 votes
9 answers 9 answers
27.4k
27.4k views
khushtak asked Feb 14, 2017
27,401 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______.
59 59 votes
8 answers 8 answers
28.5k
28.5k views
Arjun asked Feb 14, 2017
28,526 views
Consider the binary code that consists of only four valid codewords as given below:$00000, 01011, 10101, 11110$Let the minimum Hamming distance of the code $p$ and the ma...
74 74 votes
7 answers 7 answers
25.5k
25.5k views
Madhav asked Feb 14, 2017
25,508 views
Consider socket API on a Linux machine that supports connected UDP sockets. A connected UDP socket is a UDP socket on which connect function has already been called. Whic...