Objectives

ƒ Identify the characteristics of distance vector protocols. ƒ Describe the network discovery process Distance Vector Routing Protocols ƒ Identify the conditions leading to a routing loop and explain the implications for router performance. ƒ Recognize that distance vector routing Routing Protocols and Concepts– Chapter 4 protocols are in use today

2

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

Distance Vector Routing Protocols Characteristics of Distance Vector routing protocols ƒ Examples of Distance Vector routing protocols: ƒ Periodic updates ƒRouting Information Protocol (RIP) ƒ Neighbors ƒInterior Gateway Routing Protocol (IGRP) ƒ Broadcast updates ƒEnhanced IGRP (EIGRP) ƒ Entire routing table is included with routing update ƒ The meaning of Distance Vector: – A router using distance vector routing protocols knows 2 things: ƒ Distance to final destination

ƒ Vector, or direction, traffic should be 3 4 directed

The Routing Algorithm Routing Protocol Characteristics

ƒ Criteria used to compare routing protocols include: ƒ Time to convergence ƒ Scalability ƒ Resource usage ƒ Implementation & maintenance

Advantages and Disadvantages of Distance Vector -Simple implementation -Slow convergence and maintenance -Limited scalability -Low resource -Routing loops requirements 5 6

Copyright © 2001, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr 1 Network Discovery Initial Exchange of Routing Information

ƒ Router initial start up (Cold Starts) If a routing protocol is configured then ƒ Directly connected networks are initially placed ƒ Routers will exchange routing information in the routing table ƒ Routing updates received from other routers ƒ Router checks update for new information ƒ If there is new information: -Metric is updated -New information is stored in routing table

7 8

Network Convergence

ƒ Network convergence is reached when -All routing tables in the network contain the same network information ƒ Routers continue to exchange routing information ƒ If no new information is found then Convergence is reached

9 10

Convergence Time Routing Table Maintenance

ƒ Convergence must be reached before a ƒ Periodic Updates: RIPv1 & RIPv2 network is considered completely operable These are time intervals in which a router ƒ The speed of achieving convergence depends sends out its entire routing table. on: ƒ Bounded Updates: EIGRP -Speed of broadcasting routing information ƒ EIGRP routing updates are -Speed of calculating routes -Partial updates -Triggered by topology changes -Bounded -Non periodic 11 12

Copyright © 2001, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr 2 RIP Random Jitter Routing Loops ƒ A Routing Loop is a condition where a packet is ƒ Synchronized updates continuously transmitted within a series of routers A condition where multiple routers on multi without ever reaching its destination. access LAN segments transmit routing updates at the same time. ƒ Routing Loops may be caused by: ƒ Problems with synchronized updates - Incorrectly configured static routes -Bandwidth consumption - Slow convergence of the Routing Protocol -Packet collisions ƒ Routing Loops can create the following issues: ƒ Solution to problems with - Excess use of bandwidth synchronized updates - CPU resources may be strained - Used of random variable - Routing updates may be lost or not processed called RIP_JITTER 13 in a timely manner 14

Routing Loops Preventing Loops ƒ By setting a maximum metric ƒ Distance Vector routing protocols set a specified metric value to indicate infinity Once a router “counts to infinity” it marks the route as unreachable

15 16

Preventing loops with holddown timers Preventing Loops: Split Horizon Rule

ƒ -Holddown timers allow a router to not accept ƒ Split Horizon rule: any changes to a route for a specified period of time. A router should not advertise a network ƒ -Point of using holddown timers through the interface from which the update came. ƒAllows routing updates to propagate through network with the most current information.

17 18

Copyright © 2001, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr 3 Routing Loops IP & the Time-To-Live (TTL) field

ƒ Purpose of the TTL field ƒ Split horizon with poison reverse The TTL field is found in an IP header and is The rule states that once a router learns of used to prevent packets from endlessly traveling an unreachable route through an interface, on a network advertise it as unreachable back through the ƒ How the TTL field works same interface TTL field contains a numeric value The numeric value is decreased by one by every router on the route to the destination. If numeric value reaches 0 then Packet is discarded. 19 20

Summary: Dealing with Routing Loops Distance Vector Routing Protocols

ƒ Distance Vector routing protocols are prone to ƒ Factors used to determine whether to use RIP causing Routing Loops or EIGRP include ƒ The effects can be reduced by these methods: -Network size - Setting a maximum metric (“infinity”) -Compatibility between models of routers - Holddown timers -Administrative knowledge - Split horizon rule - Split horizon with poison reverse ƒ Some or all of these methods may be incorporated in the design of a Distance Vector Routing Protocol 21 22

Summary: Features of RIP Summary: Features of EIGRP

ƒ Supports split horizon & split horizon with poison ƒ Triggered updates reverse ƒ EIGRP hello protocol used to establish neighbor ƒ Capable of load balancing adjacencies ƒ Easy to configure ƒ Supports VLSM & route summarization ƒ Use of topology table to maintain all routes ƒ Works in a multi vendor router environment ƒ Classless distance vector routing protocol ƒ There are two versions: ƒ Cisco proprietary protocol ƒ Version 1 does not support VLSM, broadcasts routing information every 30 seconds ƒ Version 2 does support VLSM, uses multicasts

23 24

Copyright © 2001, Cisco Systems, Inc. All rights reserved. Printed in USA. Presentation_ID.scr 4