9
9
Features:
• The routers send the knowledge of the whole autonomous framework.
• It is simpler to configure and maintain than • It is slower to converge than link state.
link state routing. • It creates more traffic than link state since
• Distance vector routing protocol is easy to a hop count change must be propagated to
implement in small networks. all routers and processed on each router.
• Debugging is very easy in the distance • Hop count updates take place on a
vector routing protocol. periodic basis, even if there are no
• This protocol has a very limited changes in the network topology, so
redundancy in a small network. bandwidth-wasting broadcasts still occur.
• For larger networks, distance vector
routing results in larger routing tables than
link state since each router must know
about all other routers.
Routing Information Protocol:
RIP stands for “Routing Information Protocol”. Routers use it to interchange
details in a network
Its main functions are:
To find out the most effective way to route data on a network
To avoid routing loops
The main advantage of RIP is that its bandwidth utilization is very high and it
updates every 30 seconds.
However, a maximum of 16 routers can be composed, as it supports only 15
hop counts. 16 is considered infinity.
RIPv1 vs RIPv2
RIPv1 RIPv2
This protocol is a Distance-Vector routing protocol. This protocol is also a distance-vector routing
protocol.
It can assist with a complete class network only. It can assist complete class networks and classless
networks.
It does not keep up with documentation. It keeps up with documentation.
RIPv1 hop count limit is 15. RIPv2 hop count limit is also 15.
It does not give the activate updates. It gives the activate updates.
It does not send a subnet mask to the table. It sends a subnet mask to the table.
RIPv1 message format
• Command—Type of message. 1 indicates request, which is used to request all or part of the routing information
from the neighbor; 2 indicates response, which contains all or part of the routing information. A response message
consists of up to 25 route entries.
• Version—Version of RIP, 0x01 for RIPv1.
• Must be zero—This field must be zero
• AFI—Address Family Identifier, 2 for IP.
• IP address—Destination IP address of the route that can be a natural network, subnet, or a host address.
• Metric—Cost of the route.
Messages:
• RIP defines two message types: Request messages and Response
messages.
• Authentication—
Authentication data,
including password
information when simple
authentication is adopted or
including key ID.
RIP timers
• Periodic: the default RIP update timer is 30 seconds. Every 30 seconds the
router blasts out its routing table to all of its directly connected neighbors.
• Expiration: The invalid timer specifies how long a routing entry can be in
the routing table without being updated.
• Garbage collection: This is a timer that counts a number of seconds before
the newly invalid route will be actually removed from the table.
Any Questions‽
THANK YOU