Upload
phanleson
View
617
Download
1
Tags:
Embed Size (px)
Citation preview
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
DISTANCEDISTANCE
VECTORVECTOR
ROUTINGROUTING
TS, PHẠM VĂN TÍNHTS, PHẠM VĂN TÍNH
PART11PART11
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
ObjectiveObjective
Describe how routing loops can occur in distance vector routing
Describe several methods used by distance vector routing protocols to ensure that routing information is accurate
Configure RIP Use the ip classless command Troubleshoot RIP Configure RIP for load balancing Configure static routes for RIP Verify RIP Configure IGRP Verify IGRP operation Troubleshoot IGRP
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Distance Vector ConceptsDistance Vector Concepts
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Distance Vector Network DiscoveryDistance Vector Network Discovery
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Distance vector topology changeDistance vector topology change
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Distance vector routing loopDistance vector routing loop
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Problem : Counting to InfinityProblem : Counting to Infinity
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Solution: Defining a maximum countSolution: Defining a maximum count
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Solution: Split HorizonSolution: Split Horizon
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Solution : Holddown Timers Solution : Holddown Timers
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
RRoutingouting I Informationnformation P Protocolrotocol
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
RIPRIP
It is a distance-vector routing protocol.
Hop count is used as the metric for path selection.
If the hop count is greater than 15, the packet will be discarded.
By default, routing updates are broadcast every 30 seconds.
RIP implements split horizon and holddown mechanisms to prevent incorrect routing information from being propagated (Loop)
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Configuring RIPConfiguring RIP
BHM(config)# router rip – Selects RIP as the routing protocol
BHM(config-router)# network 10.0.0.0BHM(config-router)# network 192.168.13.0 – Specifies a directly connected networks
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Common RIP configuration issuesCommon RIP configuration issues
To reduce routing loops and counting to infinity, RIP uses the following techniques:Count-to-infinity Split horizon Holddown counters Triggered updates
• GAD(config-if)#no ip split-horizon• Router(config-router)#timers basic update
invalid holddown flush• GAD(config-router)#update-timer seconds• GAD(config-router)#passive-interface s0/0
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Verifying RIP configurationVerifying RIP configuration
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Verifying RIP configurationVerifying RIP configuration
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Verifying RIP configurationVerifying RIP configuration
BHM(config)# show ip route
BHM(config)# show ip protocols
BHM(config)# show running-config
BHM(config)# show interface s0/0
BHM(config)# show ip interface s0/0
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Troubleshooting RIP update issuesTroubleshooting RIP update issues
BHM(config)# debug ip rip
Other commands to troubleshoot RIP:show ip rip database
show ip protocols {summary}
show ip route
debug ip rip {events}
show ip interface brief
Debug ip rip
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Preventing routing updates through an Preventing routing updates through an interfaceinterface
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Integrating static routes with RIPIntegrating static routes with RIP
• GAD(config-router)# redistribute static
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
IInterior nterior GGatewayateway R Routingouting P Protocolrotocol
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
IGRPIGRP
Metrics: - bandwidth - delay
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
IGRP : Show ip routeIGRP : Show ip route
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Configuring IGRPConfiguring IGRP
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
IGRP : TimersIGRP : Timers
Update timer : 90 s
Invalid timer : 270 s
Holddown timer : 280 s
Flush timer : 630 s
Multiple Routing Protocols : RIP - IGRP
Kh
oa
CN
TT
PH
ẠM
VĂ
N T
ÍNH
01-2
004
Verifying IGRP configurationVerifying IGRP configuration
show ip route
show interface interface
show running-config
show running-config interface interface
show ip protocols
debug ip igrp events
debug ip igrp transactions