Features of Rip Routing Protocol: Ripv1 Vs Ripv2 Differences
Features of Rip Routing Protocol: Ripv1 Vs Ripv2 Differences
Features of Rip Routing Protocol: Ripv1 Vs Ripv2 Differences
Since it is an IGP protocol, it can only be used to perform routing between networks within the
same autonomous system. Typically, it is suitable for a small-sized network.
It uses hops count metric to calculate the best path from a source to a destination network.
It sends routing updates (entire routing table) after every 30 seconds and when the network
changes.
Routing Loops
If you want to configure RIP protocol on your network, you have to be familiar with the
routing loops. Sometimes routing loops create a big issue on an RIP-based network. However, RIP
protocol has some mechanisms that can be used to prevent the routing loops and maintain the
network stability. These mechanisms are:
Split horizon: In the split horizon, route information is not sent back out through the interface
from which it was received. Thus, allowing to prevent routing loops.
Hop-count limit: Limiting the hop-count prevents routing loops from continuing indefinitely.
Poison reverse: In this mechanism, a router marks a route (that is not accessible) as
unreachable and set the hop count to 16. The router then passes this route out to the neighbor
router, and the neighbor router removes the unreachable route from its routing table.
Hold-down timers: When the hold-down timers are set, routers ignore the routing update
information for the set period of time.
RIP Timers
Routing protocols use timers to optimize the network performance. The following table lists the
various types of timers used by the RIP protocol to optimize the network performance.
RIP Configuration
To demonstrate how to configure RIP in Cisco Packet Tracer, we will use the following network
topology. If you are using a simulator, such as Cisco Packet Tracer or GNS3, create the following
topology and configure the IP addresses as mentioned in the topology.
If you are using a simulator, such as Cisco Packet Tracer or GNS3, create the preceding topology
and configure the devices as per the values mentioned in the following table.
First of all, configure the IP addresses on each device. We assume that you know how to
configure IP addresses. If you stuck in configuring IP addresses, click here to know how to
configure IP address or you can refer the following example.
For example, to configure TCP/IP addresses on Router1, execute the following commands:
Router1(config)#interface fa0/1
Router(config-if)#no shut
Router1(config-if)#exit
Router1(config)#interface S1/0
Router(config-if)#no shut
Router1(config)#router rip
Router1(config-router)#network 10.0.0.0
Router1(config-router)#network 192.168.1.0
Router1(config-router)#exit
Router2(config)#router rip
Router2(config-router)#network 20.0.0.0
Router2(config-router)#network 192.168.1.0
Router2(config-router)#network 150.150.150.0
Router2(config-router)#exit
Router2(config)#
4. Router3(config)#router rip
5. Router3(config-router)#network 150.150.150.0
Router3(config-if)#exit
3. Once you have configured RIP routing protocol on each router, wait for a few seconds (let
complete the convergence process), and then execute the show ip route command on any router
to show the routing information.
3. In the following figure, you can see the routes learned by the RIP protocol on Router3.
1. To verify which routing protocol is configured, use the show ip protocols command.
Router#show ip protocols
2. To view the RIP messages being sent and received, use the debug ip rip command.
Router#debug ip rip
Router#undebug all
Router1(config-router)#version 2
4. Router2(config)#router rip
Router2(config-router)#version 2
6. Router3(config)#router rip
Router3(config-router)#version 2
7. Once you have executed the preceding commands, execute the following command on each
router, and verify the configuration as shown in the following figure.
Router#show ip protocols
Question: Which version of Routing Information Protocol should you use for a discontinuous
network?
Router1(config)#router rip
Router2(config)#router rip
Router2(config-router)#exit
Router3(config)#router rip
Router3(config-router)#exit
Now, execute the show ip route command and verify that the routes learned by the RIP routing
protocol are deleted. If the routes are still available in the routing table, execute the clear ip route
* command.