3com 3031 Instruccion De Instalación
39
RIP C
ONFIGURATION
RIP Overview
RIP is an abbreviation for Routing Information Protocol. It is a relatively simple
dynamic routing protocol, but it is widely applied in practice.
dynamic routing protocol, but it is widely applied in practice.
RIP Operating Principle
Introduction to RIP
RIP is a kind of Distance-Vector (D-V) algorithm-based protocol and exchanges
routing information via UDP packets. It employs Hop Count to measure the
distance to the destination host, which is called Routing Cost. In RIP, the hop
count from a router to its directly connected network is 0, and that to a network
which can be reached through another router is 1, and so on. To restrict the time
to converge, RIP prescribes that the cost is an integer ranging from 0 and 15. The
hop count equal to or exceeding 16 is defined as infinite, that is to say, the
destination network or the host is unreachable.
routing information via UDP packets. It employs Hop Count to measure the
distance to the destination host, which is called Routing Cost. In RIP, the hop
count from a router to its directly connected network is 0, and that to a network
which can be reached through another router is 1, and so on. To restrict the time
to converge, RIP prescribes that the cost is an integer ranging from 0 and 15. The
hop count equal to or exceeding 16 is defined as infinite, that is to say, the
destination network or the host is unreachable.
To improve performance and avoid the creation of routing loop, RIP supports both
Split Horizon and Poison Reverse. Besides, RIP can also redistribute routes from
other routing protocols.
Split Horizon and Poison Reverse. Besides, RIP can also redistribute routes from
other routing protocols.
Route database of RIP
Each router running RIP manages a route database, which contains routing entries
to all the reachable destinations in the network. These routing entries contain the
following information:
to all the reachable destinations in the network. These routing entries contain the
following information:
■
Destination address: IP address of a host or a network.
■
Next hop address: The address of the next router that a router will pass
through for reaching the destination.
through for reaching the destination.
■
Interface: The interface through which the IP packet should be forwarded.
■
Cost: The cost for the router to reach the destination, which should be an
integer in the range of 0 to 15.
integer in the range of 0 to 15.
■
Timer: Duration from the last time that the routing entry is modified till now.
The timer is reset to 0 whenever a routing entry is modified.
The timer is reset to 0 whenever a routing entry is modified.
■
Route flag: A label distinguishing routes of internal routing protocols from
those of external routing protocols.
those of external routing protocols.
Timer of RIP
In RFC1058, RIP is described as controlled by three timers, Period update, Timeout
and Garbage-collection,
and Garbage-collection,
■
Timer Period update is to send all RIP routing information to all neighbors;