Ripv2: Routing Protocols and Concepts - Chapter 7
Ripv2: Routing Protocols and Concepts - Chapter 7
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1
Objectives
Encounter and describe the RIPv1s limitations.
Apply the basic Routing Information Protocol Version
2 (RIPv2) configuration commands and evaluate
RIPv2 classless routing updates.
Analyze router output to see RIPv2 support for VLSM
and CIDR
Identify RIPv2 verification commands and common
RIPv2 issues.
Configure, verify, and troubleshoot RIPv2 in hands-
on labs
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Introduction
Chapter focus
-Difference between RIPv1 & RIPv2
RIPv1
-A classful distance vector routing protocol
-Does not support discontiguous subnets
-Does not support VLSM (Variable Length
Subnet Masks)
-Does not send subnet mask in routing update
-RIPv1 sends updates as broadcasts to
address 255.255.255.255.
RIPv2
-A classless distance vector routing protocol that is an
enhancement of RIPv1s features.
-Next hop address is included in updates
-Routing updates are multicast, they use the address 224.0.0.9
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Introduction
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 4
RIPv1 Limitations
Lab Topology
Scenario:
3 router set up
Topology is discontiguous
There exists a static summary
route
Static route information can be
injected into routing table updates
using redistribution.
Routers 1 & 3 contain VLSM
networks
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 5
RIPv1 Limitations
Scenario Continued
VLSM
-Recall this is sub netting
the subnet
Private IP addresses are
on LAN links
Public IP addresses are
used on WAN links
Loopback interfaces
-These are virtual
interfaces that can be
pinged and added to
routing table
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 6
RIPv1 Limitations
Route redistribution
-Redistribution command is way to distribute a static
route from one router to another via a routing
protocol
-Example
R2(config-router)#redistribute static
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 7
RIPv1 Limitations
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 8
RIPv1 Limitations
RIPv1 a classful routing protocol
-Subnet masks are not sent in updates
-Summarizes networks at major network boundaries
-RIPv1 does not support discontiguous network.
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 9
RIPv1 Limitations
Examining the routing tables
-To examine the contents of
routing updates use the
debug ip rip command
-If RIPv1 is
configured then
Subnet masks will not be
included with the
network address
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 10
RIPv1 Limitations
RIPv1 does not support
VLSM
Reason: RIPv1 does not
send subnet mask
in routing updates
RIPv1 does summarize
routes to the Classful
boundary
Or uses the Subnet mask
of the outgoing interface
to determine which
subnets to advertise
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 11
RIPv1 Limitations
No CIDR (classless inter-
domain routing) Support
In the diagram R2 will not
include the static route in its
update
Reason: Classful routing
protocols do not support
CIDR routes that are
summarized with a smaller
mask than the classful
subnet mask
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Configuring RIPv2
Comparing RIPv1 & RIPv2 Message Formats
-RIPv2 Message format is similar to RIPv1 but has 2
extensions
1st extension is the subnet mask field
2nd extension is the addition of next hop
address
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Configuring RIPv2
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Configuring RIPv2
Configuring RIPv2 on a
Cisco router
-Requires using the
version 2 command
-RIPv2 ignores RIPv1
updates
To verify RIPv2 is
configured use the
show ip protocols
command
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Configuring RIPv2
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Configuring RIPv2
Disabling Auto-
Summary in RIPv2
To disable automatic
summarization issue
the no auto-summary
command
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Configuring RIPv2
Verifying RIPv2 Updates
When using RIPv2 with automatic summarization turned off
Each subnet and mask has its own specific entry, along
with the exit interface and next-hop address to reach that
subnet.
To verify information being sent by RIPv2 use the
debug ip rip command
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 18
VLSM & CIDR
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Verifying & Troubleshooting RIPv2
Basic Troubleshooting steps
-Check the status of all links
-Check cabling
-Check IP address & subnet mask configuration
-Remove any unneeded configuration commands
Commands used to verify proper operation of RIPv2
Show ip interfaces brief
Show ip protocols
Debug ip rip
Show ip route
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Verifying & Troubleshooting RIPv2
Common RIPv2 Issues
When trouble shooting RIPv2 examine the following issues:
Version
Check to make sure you are using version 2
Network statements
Network statements may be incorrectly typed
or missing
Automatic summarization
If summarized routes are not needed then disable
automatic summarization
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 21
Summary
ITE PC v4.0
Chapter 1 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 22