26
Khoa CNTT PHẠM VĂN TÍNH 01-2004 DISTANCE DISTANCE VECTOR VECTOR ROUTING ROUTING TS, PHẠM VĂN TÍNH TS, PHẠM VĂN TÍNH PART11 PART11

Chapter 07 - Dvr

Embed Size (px)

Citation preview

Page 1: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

DISTANCEDISTANCE

VECTORVECTOR

ROUTINGROUTING

TS, PHẠM VĂN TÍNHTS, PHẠM VĂN TÍNH

PART11PART11

Page 2: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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

Page 3: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Distance Vector ConceptsDistance Vector Concepts

Page 4: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Distance Vector Network DiscoveryDistance Vector Network Discovery

Page 5: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Distance vector topology changeDistance vector topology change

Page 6: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Distance vector routing loopDistance vector routing loop

Page 7: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Problem : Counting to InfinityProblem : Counting to Infinity

Page 8: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Solution: Defining a maximum countSolution: Defining a maximum count

Page 9: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Solution: Split HorizonSolution: Split Horizon

Page 10: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Solution : Holddown Timers Solution : Holddown Timers

Page 11: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

RRoutingouting I Informationnformation P Protocolrotocol

Page 12: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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)

Page 13: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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

Page 14: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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

Page 15: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Verifying RIP configurationVerifying RIP configuration

Page 16: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Verifying RIP configurationVerifying RIP configuration

Page 17: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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

Page 18: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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

Page 19: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Preventing routing updates through an Preventing routing updates through an interfaceinterface

Page 20: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Integrating static routes with RIPIntegrating static routes with RIP

• GAD(config-router)# redistribute static

Page 21: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

IInterior nterior GGatewayateway R Routingouting P Protocolrotocol

Page 22: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

IGRPIGRP

Metrics: - bandwidth - delay

Page 23: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

IGRP : Show ip routeIGRP : Show ip route

Page 24: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

N T

ÍNH

01-2

004

Configuring IGRPConfiguring IGRP

Page 25: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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

Page 26: Chapter 07 - Dvr

Kh

oa

CN

TT

PH

ẠM

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