Top Banner
RIP i 1 RIP version 1 Routing Protocols and Routing Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public ITE PC v4.0 Chapter 1 1
29

RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Sep 27, 2018

Download

Documents

hoangtram
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

RIP i 1RIP version 1

Routing Protocols andRouting Protocols and Concepts – Chapter 5

© 2007 Cisco Systems, Inc. All rights reserved. Cisco PublicITE PC v4.0Chapter 1 1

Page 2: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

ObjectivesDescribe the functions, characteristics, and operation of the RIPv1 protocolof the RIPv1 protocol.

Configure a device for using RIPv1.

V if RIP 1 tiVerify proper RIPv1 operation.

Describe how RIPv1 performs automatic summarizationsummarization.

Configure, verify, and troubleshoot default routes propagated in a routed network implementing RIPv1.p p g p g

Use recommended techniques to solve problems related to RIPv1

ITE PC v4.0Chapter 1 2© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 3: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

RIPv1

RIP CharacteristicsRIP Characteristics

-A classful, Distance Vector (DV) routing protocol

M t i h t-Metric = hop count

-Routes with a hop count > 15 are unreachable

-Updates are broadcast every 30 seconds

ITE PC v4.0Chapter 1 3© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 4: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

RIPv1RIPv1RIP Message FormatRIP header - divided into 3 fields

-Command field-Version field -Must be zero

Route Entry - composed of 3 fields

-Address familyAddress family identifier -IP address

ITE PC v4.0Chapter 1 4© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

-Metric

Page 5: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

RIPv1

RIP OperationRIP Operation–RIP uses 2 message types:

Request messageRequest message

-This is sent out on startup by each RIP enabled interface

-Requests all RIP enabled neighbors to send routing table

Response message

-Message sent to requesting router t i i ti t bl

ITE PC v4.0Chapter 1 5© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

containing routing table

Page 6: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

RIPv1RIPv1IP addresses initially divided into classesinto classes

-Class A

Cl B-Class B

-Class C

RIP is a classful routing protocol

Does not send s bnet-Does not send subnet masks in routing updates

ITE PC v4.0Chapter 1 6© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 7: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

RIPv1RIPv1Administrative Distance

–RIP’s default administrative distance is 120RIP s default administrative distance is 120

ITE PC v4.0Chapter 1 7© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 8: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Basic RIPv1 ConfigurationA typical topology suitable for use by RIPv1 includes:use by RIPv1 includes:

-Three router set up No PCs attached to LANs-No PCs attached to LANs

-Use of 5 different IP subnetssubnets

ITE PC v4.0Chapter 1 8© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 9: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Basic RIPv1 ConfigurationBasic RIPv1 ConfigurationRouter RIP Command

–To enable RIP enter:-Router rip at the global configuration promptP t ill l k lik R1( fi t )#-Prompt will look like R1(config-router)#

ITE PC v4.0Chapter 1 9© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 10: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Basic RIPv1 ConfigurationBasic RIPv1 ConfigurationSpecifying Networks

–Use the networkcommand to:

-Enable RIP on all-Enable RIP on all interfaces that belong to this networknetwork-Advertise this network in RIP updates sent to other routers

ITE PC v4.0Chapter 1 10© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

routers every 30 seconds

Page 11: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Verification and TroubleshootingVerification and Troubleshooting

Show ip RouteShow ip Route

To verify and t bl h t titroubleshoot routing

-Use the following

commands:

-show ip route

-show ip protocols

-debug ip rip

ITE PC v4.0Chapter 1 11© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

debug ip rip

Page 12: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Verification and TroubleshootingVerification and Troubleshooting

show ip protocolscommand

-Displays routing protocolprotocol configured on router

ITE PC v4.0Chapter 1 12© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 13: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Verification and TroubleshootingVerification and TroubleshootingDebug ip rip command

-Used to display RIP routing updates as they are happening

ITE PC v4.0Chapter 1 13© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 14: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Verification and Troubleshooting

Passive interface commandPassive interface command

-Used to prevent a router from sending updates through an interfacean interface

-Example:

R t ( fi t )# i i t f i t f t i t f bRouter(config-router)#passive-interface interface-type interface-number

ITE PC v4.0Chapter 1 14© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 15: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Verification and TroubleshootingPassive interfaces

ITE PC v4.0Chapter 1 15© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 16: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationAutomatic Summarization Modified Topology

The original scenario has been modified such that:modified such that:

Three classful networks are used:172.30.0.0/16192.168.4.0/24192.168.5.0/24

The 172 30 0 0/16 network isThe 172.30.0.0/16 network is subnetted into three subnets:

172.30.1.0/24172 30 2 0/24172.30.2.0/24172.30.3.0/24

The following devices are part of the 172 30 0 0/16 classful network address:

ITE PC v4.0Chapter 1 16© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

172.30.0.0/16 classful network address:All interfaces on R1S0/0/0 and Fa0/0 on R2

Page 17: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationConfiguration Details

-To remove the RIP routing process use the following

dcommand

No router rip

-To check the configuration use the following command

Show runShow run

ITE PC v4.0Chapter 1 17© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 18: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationAutomatic SummarizationBoundary Routers

–RIP automatically summarizes classful networks–Boundary routers summarize RIP subnets from one major network to another.

ITE PC v4.0Chapter 1 18© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 19: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationAutomatic SummarizationProcessing RIP Updates

2 rules govern RIPv1 updates:2 rules govern RIPv1 updates:-If a routing update and the interface it’s received on belong to the samenetwork thennetwork then

The subnet mask of the interface is applied to the network in the routing updatenetwork in the routing update

-If a routing update and the interface it’s received on belong to a differentnetwork thennetwork then

The classful subnet mask of the network is applied to the network in the routing update.

ITE PC v4.0Chapter 1 19© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

g p

Page 20: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationSending RIP Updates

–RIP uses automatic summarization to reduce the size of a routing table.

ITE PC v4.0Chapter 1 20© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 21: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationAutomatic SummarizationAdvantages of automatic s mmari ationsummarization:

-The size of routing updates isrouting updates is reduced

-Single routes are gused to represent multiple routes which results inwhich results in faster lookup in the routing table.

ITE PC v4.0Chapter 1 21© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 22: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationAutomatic SummarizationDisadvantage of Automatic Summarization:

-Does not support discontiguous networks-Does not support discontiguous networks

ITE PC v4.0Chapter 1 22© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 23: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Automatic SummarizationDiscontiguousDiscontiguous Topologies do not converge with RIPv1

A router will only advertise major jnetwork addresses out interfaces that do not belong to thenot belong to the advertised route.

ITE PC v4.0Chapter 1 23© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 24: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Default Route and RIPv1Default Route and RIPv1Modified Topology: Scenario C

Default routes Packets that are not defined specifically in a routing t bl ill t th ifi d i t f f th d f lttable will go to the specified interface for the default route

Example: Customer routers use default routes toExample: Customer routers use default routes to connect to an ISP router.

Command used to configure a default route isip route 0.0.0.0 0.0.0.0 s0/0/1

ITE PC v4.0Chapter 1 24© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 25: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Default Route and RIPv1Default Route and RIPv1

ITE PC v4.0Chapter 1 25© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 26: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Default Route and RIPv1Default Route and RIPv1Propagating the Default Route in RIPv1

Default-information originate command -This command is used to specify that the router is to originate default information by propagating the static default route indefault information, by propagating the static default route in RIP update.

ITE PC v4.0Chapter 1 26© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 27: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Summary

RIP characteristics include:

Classful, distance vector routing protocol

Metric is Hop Count

Does not support VLSM or discontiguous subnets

Updates every 30 seconds

Rip messages are encapsulated in a UDP segment p g p gwith source and destination ports of 520

ITE PC v4.0Chapter 1 27© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 28: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

Summary: Commands used by RIP

Command Command’s purpose

Rtr(config)#router rip Enables RIP routing process

Rt ( fi t )# t k A i t t k ith RIP tiRtr(config-router)#network Associates a network with a RIP routing process

Rtr#debug ip rip used to view real time RIP routing updates

Rtr(config-router)#passive-interface fa0/0 Prevent RIP updates from going out an interface

Rtr(config-router)#default-information originate Used by RIP to propagate default routes

Rtr#show ip protocols Used to display timers used by RIP

ITE PC v4.0Chapter 1 28© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public

Page 29: RIP i 1RIP version 1 - ahlashkari.com fileRIP i 1RIP version 1 Routing Protocols andRouting Protocols and Concepts – Chapter 5 © 2007 Cisco Systems, Inc. All rights reserved. Cisco

ITE PC v4.0Chapter 1 29© 2007 Cisco Systems, Inc. All rights reserved. Cisco Public