RIPv2 Overview

RIPv2 has one great improvement over RIPv1, instead of sending just the network address in its routing updates it can sends the subnet mask and the next hop address as well, this means that it can advertise non-classful subnets. In this way, RIPv2 supports VLSM and CIDR. Mostly RIPv2 is very similar to RIPv1, it is a Distance Vector routing protocol, it uses hop count as its metric, with a maximum distance of 15 hops. {loadposition adposition5}An important point to remember is the difference in sending and receiving version updates. RIPv1 sends version 1 updates, receives both version 1 and 2 updates, but will ignore the version 2 updates. RIPv2 sends and receives only version 2 updates. Here is a list of the similarities and differences of RIPv2 versus RIPv1.

RIPv2 Differences from RIPv1

VLSM and CIDR – is supported by sending the subnet mask and the next hop address in its routing updates.

Multicasts – its routing updates to instead of broacasting to like RIPv1

Authentication – RIPv2 supports md5 authentication

Updates – RIPv2 sends and receives version 2 updates only. RIPv1 sends version 1 updates and receives both 1 and 2, however version 2 information is ignored.

RIPv2 Similarities to RIPv1

Auto Summarizes by default (You will need to turn this off if you have discontiguous networks)

Distance Vector Protocol

Hop Count is the metric with a maximum of 15 hops, 16 is infinity and is dropped.

Cisco IOS CLI Commands

Below is a list of the RIPv2 commands that you are required to know. The commands reflect a router with three connected network interfaces, one of which is to a non RIP enabled router with a static route that needs to be redistibuted to the other RIP enabled routers.

     router(config)#router rip
router(config-router)#version 2
router(config-router)#no auto-summary
router(config-router)#network <network address>
router(config-router)#network <network address>
router(config-router)#redistribute static
router(config-router)#default-information originate
router(config-router)#passive-interface <interface>
router#debug ip rip

Video Tutorial on RIPv2

In this tutorial, I configure a discontiguous network with RIPv1 to show how it fails, then I configure it with RIPv2 to show how RIPv2 can successfully support classless networks or VLSM and CIDR. If you would like to follow along with the tutorial, then download the Packet Tracer file here:  You will need to have the Packet Tracer program in order to follow along.

Author: Dan

Dan teaches computer networking and security classes at Central Oregon Community College.

Leave a Reply

Your email address will not be published.