RIPv2, or Routing Information Protocol version 2, is a distance-vector routing protocol used in internet Protocol (IP) networks. It enhances the original RIPv1 by supporting Classless Inter-Domain Routing (CIDR), allowing for the transmission of subnet information and enabling more efficient use of IP address space. RIPv2 also supports authentication for routing updates, improving security and reliability. It operates using a maximum hop count of 15, beyond which routes are considered unreachable.
Subnet mask
RIPv2 and EIGRP
yes
RIPv2 sends subnetmasks in the routing table updates. RIPv1 does not, which causes it be class-full.
# no auto-summary
15
*route metric
If you have two routers set up, one running RIPv1 and one running RIPv2, neither router will accept updates from the other. R1: (RIPv1) RIP: ignored v2 packet from 192.168.1.2 (illegal version) R2: (RIPv2) RIP: ignored v1 packet from 192.168.1.1 (illegal version)
subnet mask
RIPv2
A 192.168.0.0/16 network
The main difference between RIPv1 and RIPv2 is classless routing. RIPv2 incorporates the addition of the network mask in the update to allow classless routing advertisements. This is extremely important for the flexibility needed to efficiently utilize network assignments for an ever-shrinking pool of IP addresses.There are other differences, as well. In RIPv2, the destination address for the updates is multicast, instead of broadcast, as in RIPv1. This reduces the burden on the network devices that do not need to listen to RIP updates. With broadcast, every device on the broadcast domain must at least open the IP packet and process the initial information to determine relevance. With multicast addressing, if a device needs that information, it will listen to that specific address. If it does not need the RIP information, it does not have to process the multicast address. The multicast address RIPv2 sends to is 224.0.0.9.Another addition to RIPv2 is authentication. Authentication is used to ensure that routes being distributed throughout the network are coming from authorized sources.