We should have some knowledge about the RIP Protocol. This is one of the earliest routing protocols. Here we will mainly explain the specific process of RIP route configuration. I hope this article will help you. Let's take a look at the content below.
RIP Protocol
RIP (Routing information Protocol) is an Internal Gateway Protocol (IGP) that is widely used earlier and is suitable for small-sized similar networks, is a typical distance-vector protocol. For more information, see RFC1058 and RFC1723.
RIP broadcasts UDP packets to exchange route information and sends route information updates every 30 seconds. RIP provides hop count as a scale to measure the route distance. The hop count is the number of routers that a packet must go through to reach the target. If there are two vrouters with different speeds or bandwidths to the same destination, but the hop count is the same, RIP considers the two routes to be of the same distance. The maximum number of hops supported by RIP is 15, that is, the maximum number of routers to be routed between the source and destination networks is 15, and the number of hops is 16, which indicates that the network cannot be reached.
1. commands related to RIP route Configuration
Task |
Command |
Use RIP Protocol |
Router rip |
RIP version |
Version {1 | 2}1 |
Network connected to the vro |
NetworkNetwork |
Note: 1. Cisco RIP version 2 supports verification, key management, route aggregation, classless Inter-Domain Routing (CIDR), and variable length Subnet Mask (VLSMs)
2. Example
- Router1:
- router rip
- version 2
- network 192.200.10.0
- network 192.20.10.0
- !
Debugging commands for RIP route Configuration:
Show ip protocol
Show ip route
In global setting mode, configure the RIP route:
1. Start RIP route
Router rip
2. Set the subnet for participating in the RIP route
Network subnet address
3. Allow RIP route broadcast in a non-broadcast network
IP address of the adjacent port of the neighbor Router
4. Set the RIP version.
The RIP route protocol has two versions. When connecting to a router of another manufacturer, note that the version must be consistent. By default, the Cisco router receives the route information of RIP versions 1 and 2, however, only route information of version 1 is sent, and the version of RIP is set to vesion 1 or 2. In addition, you can control specific ports to send or receive route information of specific versions.
1. Send version 1 or 2 only on specific ports. In port setting mode
Rip send version 1 or 2
2. Send versions 1 and 2 at the same time.
Ip rip send receive 1 or 2
3. Accept route information of version 1 or 2 on a specific port
Ip rip receive 1 or 2
4. Route information of versions 1 and 2 is accepted at the same time.
Ip rip receive 1 or 2
For the RIP route configuration, select the routing protocol:
1. In a large network, we recommend that you use ospf and ospf.
2. If the network contains a VISM with a longer netmask) You cannot use igrp or rip version 1, and you can use rip version 2, ospf, and ospf or static routes.
3. If you use route security settings, you can use RIP version 1 or OSPF.
4. ospf is used. The bandwidth occupied by the system after the system is stable is much less than that of RIP and IGRP, and the bandwidth occupied by the IGRP is less than that of RIP.
5. Dynamic Routing, Static Routing, and default routing are used to ensure route redundancy.
6. Try to use static routing on the dialing line to save costs.
7. When the data volume on a small network is small and high availability is not required, Static Routing is recommended when the Wan line is X.25 SVC.