Chapter 35 Rip; Introduction To Rip - Planet XGS3-42000R User Manual

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

Chapter 35 RIP

35.1 Introduction to RIP

RIP is first introduced in ARPANET, this is a protocol dedicated to small, simple networks. RIP is a distance
vector routing protocol based on the Bellman-Ford algorithm. Network devices running vector routing protocol
send two kind of information to the neighboring devices regularly:
• Number of hops to reach the destination network, or met rics to use or number of networks to pass.
• What is the next hop, or the director (vector) to use to reac h the destination network.
The distance vector Layer 3 switch send all their route selecting tables to the neighbor layer3 switches at
regular interval. A lay er3 s witch will build their own route selecting information table based on the information
received from the neighbor layer3 switches. Then, it will send this information to its own neighbor layer3
switches. As a result, the route selection table is built on second hand information, route beyond 15 hops will
be deemed as unreachable.
RIP protocol is an optional routing prot ocol based on UDP. Hosts using RIP send and receive packets on UDP
port 520. All layer3 switches running RIP send their route table to all neighbor layer3 switches every 30
seconds for update. If no information from the partner is received in 180 seconds, then the device is deemed
to have failed and the net work connected to that device is considered t o be unreachable. However, the route
of that layer3 switch will be kept in the route table for another 120 seconds before deletion.
As layer3 switches running RIP built route table with second hand information, infinite count may occur. For a
network running RIP routing protocol, when an RIP route becomes unreachable, the neighboring RIP layer3
switch will not send route updat e packets at once, instead, it waits until the update int erval timeout (every 30
seconds) and sends the update packets containing that rout e. If before it receives the updated packet, its
neighbors send packets containing the information about the failed neighbor, "infinite count" will be resulted. In
other words, the route of unreachable layer3 switch will be selected with the metrics increasing progressively.
This greatly affects the route selection and route aggregation time.
To prevent "infinit e count ", RIP provides mechanism such as "split horizon" and "triggered update" to solve
route loop. "Split horiz on" is done by avoiding sending to a gateway routes leaned from that gateway. There
are two split horizon methods: "simple split horizon" and "poison reverse split horizon". Simple split horizon
deletes from the route to be sent to the neighbor gateways the routes learnt from the neighbor gateways;
poison reverse split horizon not only deletes the abovementioned routes, but set the costs of those routes to
infinit e. "Triggering update" mechanism defines whenever rout e metric changed by the gateway, the gateway
advertise the update packets immediately, regardless of the 30 second updat e timer status.
There two versions of RIP, version 1 and version 2. RFC1058 int roduces RIP-I protocol, RFC2453 introduces
RIP -II, which is compatible with RFC1723 and RFC1388. RIP -I updat es packets by packets broadcast, subnet
mask and authentication is not supported. Some fields in the RIP -I packets are not used and are required to
be all 0's; for this reason, such all 0's fields should be checked when using RIP-I, the RIP-I packets should be
discarded if such fields are non-zero. RIP-II is a more improved version than RIP -I. RIP -II sends route update
packets by multicast packets (multicast address is 224.0.0.9). S ubnet mask field and RIP authentication filed
(simple plaintext password and MD5 password authentication are supported), and support variable length
subnet mask. RIP-II used some of the zero field of RIP -I and require no zero field verification. switch send
RIP -II packets in multicast by default, both RIP-I and RIP-II packets will be accepted.
Each layer3 switch running RIP has a route database, which contains all route ent ries for reachable
35-1

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents