Distance Vector Protocol
Stability
Routing Updates
488
G8264 Application Guide for ENOS 8.4
RIP is known as a distance vector protocol. The vector is the network number
and next hop, and the distance is the metric associated with the network number.
RIP identifies network reachability based on metric, and metric is defined as hop
count. One hop is considered to be the distance from one switch to the next, which
typically is 1.
When a switch receives a routing update that contains a new or changed
destination network entry, the switch adds 1 to the metric value indicated in the
update and enters the network in the routing table. The IPv4 address of the sender
is used as the next hop.
RIP includes a number of other stability features that are common to many routing
protocols. For example, RIP implements the split horizon and hold‐down
mechanisms to prevent incorrect routing information from being propagated.
RIP prevents routing loops from continuing indefinitely by implementing a limit
on the number of hops allowed in a path from the source to a destination. The
maximum number of hops in a path is 15. The network destination network is
considered unreachable if increasing the metric value by 1 causes the metric to be
16 (that is infinity). This limits the maximum diameter of a RIP network to less than
16 hops.
RIP is often used in stub networks and in small autonomous systems that do not
have many redundant paths.
RIP sends routing‐update messages at regular intervals and when the network
topology changes. Each router "advertises" routing information by sending a
routing information update every 30 seconds. If a router doesn't receive an update
from another router for 180 seconds, those routes provided by that router are
declared invalid. The routes are removed from the routing table, but they remain in
the RIP routes table. After another 120 seconds without receiving an update for
those routes, the routes are removed from respective regular updates.
When a router receives a routing update that includes changes to an entry, it
updates its routing table to reflect the new route. The metric value for the path is
increased by 1, and the sender is indicated as the next hop. RIP routers maintain
only the best route (the route with the lowest metric value) to a destination.
For more information, see the Configuration section, Routing Information Protocol
Configuration in the Lenovo Enterprise Network Operating System Command
Reference.