RIP – Routing Information Protocol

RIP – Routing Information Protocol

Routing Information Protocol (RIP) is a dynamic routing protocol which uses hop count as a routing metric to find the best path between the source and the destination network. It is a distance vector routing protocol which has AD value 120 and works on the application layer of OSI model. RIP uses port number 520.

Hop Count :

Hop count is the number of routers occurring in between the source and destination network. The path with the lowest hop count is considered as the best route to reach a network and therefore placed in the routing table. RIP prevents routing loops by limiting the number of hopes allowed in a path from source and destination. The maximum hop count allowed for RIP is 15 and hop count of 16 is considered as network unreachable.

Features of RIP :

  1. Updates of the network are exchanged periodically.
  2. Updates (routing information) are always broadcast.
  3. Full routing tables are sent in updates.
  4. Routers always trust on routing information received from neighbor routers. This is also known as Routing on rumours.

RIP versions :

There are three vesions of routing information protocol – RIP Version1, RIP Version2 and RIPng.

RIP timers :

Update timer : The default timing for routing information being exchanged by the routers operating RIP is 30 seconds. Using Update timer, the routers exchange their routing table periodically.

Invalid timer: If no update comes until 180 seconds, then the destination router consider it as invalid. In this scenario, the destination router mark hop count as 16 for that router.

Hold down timer : This is the time for which the router waits for neighbour router to respond. If the router isn’t able to respond within a given time then it is declared dead. It is 180 seconds by default.

Flush time : It is the time after which the entry of the route will be flushed if it doesn’t respond within the flush time. It is 60 seconds by default. This timer starts after the route has been declared invalid and after 60 seconds i.e time will be 180 + 60 = 240 seconds.

Note that all these times are adjustable. Use this command to change the timers :

R1(config-router)#  timers basic

R1(config-router)#  timers basic 20   80    80    90

Leave a Reply

Your email address will not be published. Required fields are marked *