Routing
Information Protocol (RIP) is a true distance-vector routing protocol. It sends
the complete routing table out to all active interfaces every 30 seconds. RIP
only uses hop count to determine the best way to a remote network, but it has a
maximum allowable hop count of 15 by default, meaning that 16 is deemed
unreachable. RIP works well in small networks, but it’s inefficient on large networks
with slow WAN links or on networks with a large number of routers installed.
RIP version 1 uses only classfull
routing, which means that all devices in the network must use the same subnet
mask. This is because RIP version 1 doesn’t send updates with subnet mask
information in tow. RIP version 2 provides something called prefix routing, and
does send subnet mask information with the route updates. This is called
classless routing.
Summary:-
v Works on application layer
v Open standard protocols
v Dynamic routing protocols
v Supports hop -count matric
v Support maximum 15 hop-count
v Support six equal cost path
v Used distance vector algorithms
v It only check the neighbour
v Its only exchange the updates or
routing table with neighbour
v Two type of version
1. RIP V-1 2.RIP V-2
RIP Timers
RIP uses three different kinds of timers are following:-
Update
timer:-
Sets the interval (typically 30 seconds) between periodic routing
updates,in which the router sends a complete copy of its routing table out to
all neighbors.
Invalid
timer:-
Determines the length of time that must elapse (180 seconds)
before a router determines that a route has become invalid. It will come to
this conclusion if it hasn’t heard any updates about a particular route for
that period. When that happens, the router will send out updates to all its
neighbors letting them know that the route is invalid.
Holddown
timer:-
This sets the amount of time during which routing information is
suppressed. Routes will enter into the holddown state when an update packet is
received that indicated the route is unreachable. This continues until either
an update packet is received with a better metric or until the holddown timer
expires. The default is 180 seconds.
Flush timer:-
Sets the time between a route becoming invalid and its removal
from the routing table (240 seconds). Before it’s removed from the table, the
router notifies its neighbors
of that route’s impending demise. The value of the route invalid
timer must be less than that of the route flush timer. This gives the router
enough time to tell its neighbors about the invalid route before the local
routing table is updated.