background image
386 Chapter 6: Routing
RIP Version 2
RIP Version 2, defined by RFC 1723, is simply an improved version of RIP Version 1. Many
features are the same: Hop count is still used for the metric, it is still a distance vector protocol,
and it still uses holddown timers and route poisoning. Several features have been added, as
listed in Table 6-14.
Although all features of RIP-2 are important, certainly the one that allows RIP to continue to
be a valid option in modern networks is the support of VLSM by including the subnet mask.
For instance, the problem with RIP-1 and IGRP shown in Examples 6-6, 6-7, and 6-8 was
caused by the lack of this feature. With RIP-2, the problem is removed. The same network
diagram (Figure 6-10) is used in this case. Example 6-9 shows the RIP-2 configuration on each
of the three routers, and Example 6-10 shows a sample RIP debug on Albuquerque.
Table 6-14
RIP Version 2 Features
Feature
Description
Transmits subnet mask with route
This feature allows VLSM by passing the mask along with each
route so that the subnet is exactly defined.
Provides authentication
Both clear text (RFC-defined) and MD5 encryption (Cisco-
added feature) can be used to authenticate the source of a
routing update.
Includes a next-hop router IP
address in its routing update
A router can advertise a route but direct any listeners to a
different router on that same subnet. This is done only when the
other router has a better route.
Uses external route tags
RIP can pass information about routes learned from an external
source and redistributed into RIP.
Provides multicast routing updates
Instead of sending updates to 255.255.255.255, the destination
IP address is 224.0.0.9, an IP multicast address. This reduces
the amount of processing required on non-RIP-speaking hosts
on a common subnet.
Example 6-9
RIP-2 Sample Configuration for Routers in Figure 6-10
router rip
network 10.0.0.0
version 2
Example 6-10
RIP-2 Routing Updates, No Auto Summary, on Albuquerque
Albuquerque#
debug ip rip
RIP protocol debugging is on
Albuquerque#
00:36:04: RIP: received v2 update from 10.1.4.252 on Serial0
00:36:04: 10.1.2.0/24 -> 0.0.0.0 in 1 hops
00:36:04: 10.1.5.0/24 -> 0.0.0.0 in 1 hops
ch06.fm Page 386 Monday, March 20, 2000 5:11 PM