Rip configuration in packet tracer and how to enable rip v2 on Cisco routers
Configure Rip in three simple steps
1. Assign IP address to the router interfaces.
2. User version 2 command to use Rip v2
3. Finally use network command to advertise the networks.
Check the example below in which we have configured the rip protocol on three connected routers.
The static routing is not feasible in a large network. Hence, to implement routing in an easier way we can use the dynamic routing protocols.
Routing information protocol (RIP) is one of the dynamic protocols that can be used for the routing. The best part is that Rip protocol is very easy to configure. We will configure Rip version 2 in this lab.
RIP version 1 introduce in 1988 when networks work comparatively simple that did not require complex routing however earlier version of RIP had some limitation hence RIP version 2 were introduce in 1993 which improved some of the features of RIP protocol
RIP is distance vector routing protocol and hop count to determine the route in the network. Rip protocol only works till 15 hops and it does not work if the network is more than 15 hops away so this prevents RIP to work properly in a big network.
Major differences between version 1 and 2
· RIP V2 supports classless networks, which means we can use VLSM [Variable length subnet mask] in our network while RIP V1 does not support subnetted networks.
· RIP V2 supports authentication while RIP V1 does not support authentication which makes RIP v1 prone to hacking attacks while Rip v2 provides added security while configuring the networks
· RIP V2 use multicast packets for routing updates while RIP V1 uses broadcast packets which increases unnecessary traffic in the network.
To configure RIP V2 on router, we just have to type “version 2” command after the “router rip” command to enable version 2 on any router.
After configuring RIP versions 2, we have to advertise the directly connected networks by using the command ‘network network id’ after enabling the RIP protocol on all the routers.
Once the Rip protocol is configured properly you will be able to see the routes in routing table, learned with the help of Rip protocol by the routers.
Below is an example of route that is learned after configuring the RIP protocol:
R 192.168.2.0/24 [120/1] via 192.168.1.2, 00:00:28, FastEthernet0/0
You can verify and check routes in the routing table by using the command ‘show ip route’.
We will also disable auto summarization by the Rip protocol.
Route summarization is important feature however we do not want route summarization for every network so it is the best practice to disable the auto summarization of the RIP protocol.
Configure Rip ver 2 protocol on all routers and disable auto summarization