![Huawei S6700 Series Configuration Manual Download Page 44](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517044.webp)
2.1 Overview of RIP
RIP is widely used on small-scale network because it is simple to deploy and easier to configure
and maintain than OSPF and IS-IS.
The Routing Information Protocol (RIP) is a simple Interior Gateway Protocol (IGP). RIP is
mainly used on small-scale networks such as campus networks and simple regional networks.
RIP uses the distance-vector routing algorithm and exchanges routing information by using User
Datagram Protocol (UDP) packets through port 520.
RIP uses the hop count to measure the distance to the destination. The distance is called the
routing metric. In RIP, the hop count from a switch to its directly connected network is 0, and
the hop count from a switch to a network, which can be reached through another switch, is 1.
To speed up route convergence, RIP defines the cost as an integer that ranges from 0 to 15. If
the hop count is equal to or exceeds 16, the destination network or host is unreachable because
the path is considered to have an infinite metric. It is this limitation to the hop count that makes
RIP inapplicable to large-scale networks.
To improve network performance and prevent routing loops, RIP supports both split horizon
and poison reverse.
l
Split horizon is a method of preventing routing loops in a network and reducing bandwidth
consumption. The basic principle is simple: Information about the routing for a particular
packet is never sent back in the direction from which it was received.
l
Poison reverse is that RIP sets the cost of the route learnt from an interface of a neighbor
to 16 (specifying the route as unreachable) and then sends the route from the interface back
to the neighbor. In this way, RIP can delete useless routes from the routing table of the
neighbor.
RIP has two versions:
l
RIPv1
l
RIPv2
RIPv1 is a classful routing protocol, whereas RIPv2 is a classless routing protocol. In RIPv2,
address 224.0.0.9 is the multicast address of a RIP router.
Compared with RIPv1, RIPv2 has the following advantages:
l
Supports route tag and can flexibly control routes on the basis of the tag in the routing
policy.
l
Provides packets that contain mask information and supports route aggregation and
Classless Inter-domain Routing (CIDR).
l
Supports the next hop address and can select the optimal next hop address in the broadcast
network.
l
Uses multicast routes to send update packets. Only RIPv2 routers can receive protocol
packets. This reduces the resource consumption.
l
To enhance the security, Provides two authentication modes to enhance security: plain-text
authentication and MD5 authentication.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
2 RIP Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
25