Static routing is not feasible in a large network. Hence, to implement routing in an easier way we can use dynamic routing protocols.

Routing information protocol (RIP) is one of the dynamic protocols that can be used for 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 was introduced in 1988 when networks were comparatively simple that did not require complex routing. 

An earlier version of RIP had some limitations hence RIP version 2 was introduced in 1993 which improved some of the features of the RIP protocol.

RIP is a distance-vector routing protocol and hops 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 uses multicast packets for routing updates while RIP V1 uses broadcast packets which increases unnecessary traffic in the network.

To configure RIP V2 on a router, we just have to type the “version 2” command after the “router rip” command to enable version 2 on any router.

After configuring RIP version 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 the routing table, learned with the help of Rip protocol by the routers.

Below is an example of a 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.

 

Rip V2 configuration

DOWNLOAD

Lab Tasks

Configure Rip ver 2 protocol on all routers and disable auto summarization

Lab Configuration

Task 1

Router 0

Router(config)#router rip

Router(config-router)#version 2

Router(config-router)#network 192.168.1.0

Router(config-router)#no auto-summary

Router 1

Router(config)#router rip

Router(config-router)#version 2

Router(config-router)#network 192.168.1.0

Router(config-router)#network 192.168.2.0

Router(config-router)#no auto-summary

Router 2

Router(config)#router rip

Router(config-router)#version 2

Router(config-router)#network 192.168.2.0

Router(config-router)#no auto-summary