ripv2 routing protocols and concepts – chapter 7 sandra coleman, ccna, ccai

28
RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Upload: corey-bond

Post on 17-Dec-2015

228 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

RIPv2Routing Protocols and Concepts – Chapter 7

Sandra Coleman, CCNA, CCAI

Page 2: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Objectives Encounter and describe the limitations of RIPv1’s 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

Blue text is test-worthy

Page 3: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Introduction Chapter focus

-Difference between RIPv1 & RIPv2 RIPv1

-A classful distance vector routing protocol

-Does not support discontiguous subnets

-Does not support VLSM

-Does not send subnet mask in routing update

-Routing updates are broadcast

RIPv2

-A classless distance vector routing protocol that is an enhancement of RIPv1’s features.

-Next hop address is included in updates-Routing updates are multicast (224.0.0.9)-The use of authentication is an option-Supports VLSM

Page 4: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Introduction

Similarities between RIPv1 & RIPv2

-Use of timers to prevent routing loops

-Use of split horizon or split horizon with poison reverse

-Use of triggered updates

-Maximum hop count of 15

Page 5: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

RIPv1 Limitations 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

Page 6: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

RIPv1 Limitations 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

loopback interfaces are ideal for simulating multiple networks attached to the same router.

Page 7: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Null Interfaces

This is a virtual interface that does not need to be created or configured

-Traffic sent to a null interface is discarded-Null interfaces do not send or receive traffic

-It is always up, but doesn’t forward traffic Static routes and null interfaces

null interfaces will serve as the exit interface for static route -Example of configuring a static supernet route with a

null interface

-R2(config)#ip route 192.168.0.0 255.255.0.0 Null0

Page 8: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Route redistribution

-Redistribution command is way to disseminate a static route from one router to another via a routing protocol (like default-information originate – which propagates the default route to all routers on the network )

-Example

R2(config-router)#redistribute static

Page 9: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

RIPv1 Limitations

Verifying and Testing Connectivity

Use the following commands: show ip interfaces brief ping traceroute

Page 10: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

RIPv1 – a classful routing protocol

-Subnet mask are not sent in updates

-Summarizes networks at major network boundaries

-if network is discontiguous and RIPv1 configured convergence will not be reached

-If another 172.30.0.0 network were added as a Lo to R2, It would add it as Connected route

-R2 installs both paths in the routing table with an equal cost of 1 hop.

-NONE of the Lans will be able to PING because of the lack of convergence!

Page 11: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

RIPv1 LimitationsExamining 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

Page 12: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

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

Page 13: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

RIPv1 Limitations No CIDR 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

Page 14: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

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 – added by RFC 1723

2nd extension is the addition of next hop address

Page 15: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Configuring RIPv2 Enabling and Verifying RIPv2

Network command – purpose of this command is to

1) identify which networks will be included in routing updates

2) enables the routing protocol to send/receive updates on any interface that belong to that network

Configuring RIP on a Cisco router

By default it is running RIPv1

Router(config-router)# no version 2 –

Router(config-router)# version 1

Either of these commands will allow the router to receive version 1 & 2 updates, but only send version 1 updates

Page 16: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

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

Page 17: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Configuring RIPv2 Auto-Summary & RIPv2

RIPv2 will, by default, automatically summarize routes at major network boundaries and can also summarize routes with a subnet mask that is smaller than the classful subnet mask

This may prohibit some routes you expect to see from showing up!

Page 18: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Configuring RIPv2

Disabling Auto-Summary in RIPv2

To disable automatic summarization issue the no auto-summary command

Page 19: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

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

Page 20: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

VLSM & CIDR RIPv2 and VLSM

Networks using a VLSM IP addressing scheme

Use classless routing protocols (i.e. RIPv2) to disseminate network addresses and their subnet

masks

If some networks aren’t showing up, make sure all routers are using the same version of RIP

Page 21: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

VLSM & CIDR

CIDR uses Supernetting

Supernetting is a bunch of contiguous classful networks that is addressed as a single

network.

Page 22: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

VLSM & CIDR

To verify that supernets are being sent and received use the following commands

-Show ip route

-Debug ip rip

Page 23: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

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

Page 24: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Troubleshooting commands Commands used to verify proper operation of RIPv2

–Show ip route – first command to use – look for routes that you expect to be in the routing table!

–Show ip interfaces brief – verify that all interfaces are represented in the network statements and that all lines are up (downed lines can’t send updates!)

–Show ip protocols – verifies RIP is enables, which version you are using, whether summarization is on/off, networks included in routing updates.

–Debug ip rip – allows you to examine routing updates as they occur. If you received information for a route, and it’s not in your routing table, you may have a STATIC route there, which has a lower AD, therefore, it would be in the routing table.

Page 25: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Verifying & Troubleshooting RIPv2 Common RIPv2 Issues

When trouble shooting RIPv2 examine the following issues:

Version-Check to make sure you are using version 2. Although RIPv1 and v2 are compatible, v1 doesn’t support discontiguous subnets, VLSM, or CIDR. ALWAYS use the same routing protocol on all routers unless there is a specific reason NOT to.

Network statements - Network statements may be incorrectly typed or missing

Automatic summarization - If summarized routes are not needed then disable automatic summarization

Page 26: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Verifying & Troubleshooting RIPv2 Reasons why it’s good to authenticate routing information

-Prevent the possibility of accepting invalid routing updates

-Contents of routing updates are encrypted

Types of routing protocols that can use authentication

-RIPv2

-EIGRP

-OSPF

-IS-IS

-BGP

Page 27: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Summary

RoutingProtocol

DistanceVector

ClasslessRoutingProtocol

UsesHold-DownTimers

Use ofSplit

Horizon or

Split Horizon

w/Poison

Reverse

MaxHop

count= 15

AutoSummary

SupportCIDR

SupportsVLSM

Uses Authen-tication

RIPv1 Yes No Yes Yes Yes Yes No No No

RIPv2 Yes Yes Yes Yes Yes Yes Yes Yes Yes

Page 28: RIPv2 Routing Protocols and Concepts – Chapter 7 Sandra Coleman, CCNA, CCAI

Ch. 7 is over…4 more to go! Hold on…

1. Study Guide – NONE2. Packet Tracer – In your Lab book (start in class, finish as

homework)1. Pg. 306 – Packet Tracer Exercise 7-12. Pg. 308 – PT Exercise 7-1 – task 13. Pg. 312 – PT Exercise 7-1 – task 2

3. Labs – 7-1…we’ll do this next class meeting.4. Test – Monday, March 18, 20135. Online test – take by Sunday, March 10, midnight