979 views
5 votes
5 votes

" RIP uses UDP service " & "RIP is implemented as an application layer protocol ". How do router which are said to have/implement only up to Network layer of protocol stack able to send RIP Request & RIP response messages? Does Router have full protocol stack? Can Someone please explain the implementation part of RIP 

1 Answer

4 votes
4 votes

Routers utilize the  IP addresses to make decisions while directing traffic and do not care about the transport protocol.

The IP addresses would map to the network layer in OSI model .

Routers use the UDP protocol to communicate with RIP.

But then how does router sends RIP messages which are encapsulated inside UDP ?

  1.  RIP is a routing protocol to help IP to route it's datagrams through the Autonomous Systems.
  2.   RIP messages are encapsulated inside UDP .
  3.   UDP user datagrams are encapsulated inside IP datagrams. 

So that means RIP runs at the application layer but create forwarding tables  for IP at the network layer. 

Related questions

1 votes
1 votes
1 answer
1
Jatin18 asked Aug 20, 2017
432 views
Distance Vector(DV) is an algorithm.Routing Information Protocol(RIP) is protocol which uses DV.What to we mean when we say DV protocol? Is DV protocol another name for R...
1 votes
1 votes
0 answers
3
yogi_p asked Dec 8, 2017
438 views
A) YesB) NoC) Cannot SayD) None
0 votes
0 votes
1 answer
4
its_vv asked Dec 11, 2021
550 views