Copyright 2008 Kenneth M. Chipps Ph.D. www.chipps.com Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 4 Distance Vector Routing Protocols.

Slides:



Advertisements
Similar presentations
Distance Vector Routing Protocols
Advertisements

© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
Copyright Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 7 RIP Version 2 Last Update.
RIP2 CCNA Exploration Semester 2 Chapter 7
The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
RIP V2 CCNP S1(5), Chapter 4.
Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
IP Routing.
Routing Protocol.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 RIP version 1 Routing Protocols and Concepts – Chapter 5.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
RFC 2453 RIP 2 (Routing Information Protocol) Daher Kaiss.
CCNA 2 v3.1 Module 7.
RD-CSY /09 Distance Vector Routing Protocols.
Distance Vector Routing Protocols
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Distance Vector Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
Switching and Routing Technique
Distance Vector Routing Protocols Distance Vector Routing.
Distance Vector Protocols
Routing Concepts Warren Toomey GCIT. Introduction Switches need to know the link address and location of every station. Doesn't scale well, e.g. to several.
Distance Vector Routing Protocols W.lilakiatsakun.
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
Distance Vector Routing Protocols
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
M. Menelaou CCNA2 DYNAMIC ROUTING. M. Menelaou DYNAMIC ROUTING Dynamic routing protocols can help simplify the life of a network administrator Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 7 Distance Vector Routing Protocols.
1 Semester 2 Module 7 Distance Vector Routing Protocols Yuda college of business james Chen
University of the Western Cape Chapter 11: Routing Aleksandar Radovanovic.
Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
1 Routing Protocols and Configuration Instructor: Te-Lung Liu Program Associate Researcher NCHC, South Region Office.
1 3-Oct-15 Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
IGRP ► IGRP is a distance vector routing protocol developed by Cisco. ► IGRP sends routing updates at 90 second intervals. ► These updates advertise all.
RIP2 (Routing Information Protocol) Team Agile. Routing Protocols Link State – OSPF – ISIS Distance vector – RIP (version 1 and 2) – IGRP (Cisco Proprietary)
1 Version 3.1 Module 7 Distance Vector Routing Protocols.
The Routing Table Last Update Copyright Kenneth M. Chipps Ph.D.
Distance Vector Routing Protocols Routing Protocols and Concepts Lecture Week 4.
CCNA 2 Week 7 Distance Vector Routing. Copyright © 2005 University of Bolton Topics Distance Vector Protocol Issues RIP IGRP.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
Distance Vector Routing Protocols Dynamic Routing.
1 1-Dec-15 S Ward Abingdon and Witney College Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vectore Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
Chabot College ELEC Routing Loops.
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
CCNA2 v3 Module 7 v3 CCNA 2 Module 7 JEOPARDY K. Martin.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Routing Protocols and Concepts Dr. Muazzam A. Khan.
RIP Routing Protocol. 2 Routing Recall: There are two parts to routing IP packets: 1. How to pass a packet from an input interface to the output interface.
Routing Semester 2, Chapter 11. Routing Routing Basics Distance Vector Routing Link-State Routing Comparisons of Routing Protocols.
RIP.
Routing Protocols and Concepts
Distance Vector Routing Protocols
Routing Loops.
Routing Information Protocol (RIP)
IGRP IGRP is a distance vector routing protocol developed by Cisco.
Routing Information Protocol (RIP)
Distance-Vector Routing Protocols
CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols
Dynamic Routing Protocols part2
Distance Vector Routing Protocols
Distance Vector Routing Protocols
RFC 1058 & RFC 2453 Routing Information Protocol
Distance Vector Routing Protocols
Distance Vector Routing Protocols
RIP1.ppt CCNA Exploration Semester 2 Chapter 5
Distance Vector Routing
Presentation transcript:

Copyright 2008 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 4 Distance Vector Routing Protocols Last Update

Objectives Learn about the details of distance vector routing protocols Copyright 2008 Kenneth M. Chipps Ph.D. 2

3 Distance Vector Protocols In the previous module the concept of distance vector routing protocols was introduced In this module the details on this type of routing protocol will be discussed A distance vector routing protocols only knows about two things –Distance to final destination –Vector or direction to that destination

Distance Vector Protocols These protocols have the following characteristics –Whether changes have taken place or not periodic updates are sent out –Direct knowledge is of their neighbors only –The entire routing table is included with each routing update Copyright 2008 Kenneth M. Chipps Ph.D. 4

Distance Vector Protocols Copyright 2008 Kenneth M. Chipps Ph.D. 5

Routing Loops Routing loops can occur when inconsistent routing tables are not updated due to slow convergence in a changing network Copyright 2008 Kenneth M. Chipps Ph.D. 6

7 Routing Loop Problem Example For example let's say the following network had converged That is all routers have the same, consistent knowledge and all routing tables in all routers are correct This diagram assumes that Router C's preferred path to Network 1 is by way of Router B, and Router C has a distance of three hops to Network 1 in its routing table

Copyright 2008 Kenneth M. Chipps Ph.D. 8 Routing Loop Problem Example

Copyright 2008 Kenneth M. Chipps Ph.D. 9 Routing Loop Problem Example The link to Network 1 fails Router E sends an update to Router A telling Router A that it can no longer get to Network 1 Router A stops sending stuff to Network 1, But Routers B, C, and D keep on sending packets to Network 1 because they have not been informed of the change Router A then sends out its update

Copyright 2008 Kenneth M. Chipps Ph.D Routing Loop Problem Example This tells Routers B and D to stop and they do Router C still has not been informed Router C stills thinks Network 1 is reachable through Router B Router C now sends its regular update to Router D

Copyright 2008 Kenneth M. Chipps Ph.D Routing Loop Problem Example This update tells Router D that Network 1 is reachable through Router B Router D says great It updates its table and sends the good news on to Router A Router A then tells Router E the news Of course none of this is correct

Routing Loop Problem Example So packets for Network 1 just loop around the network from C to B to A to D and back to C Copyright 2008 Kenneth M. Chipps Ph.D. 12

Copyright 2008 Kenneth M. Chipps Ph.D Counting to Infinity Problem This brings in the second problem, which is the count to infinity The bad data will continue around the network unless there is a metric in it that says enough is enough The common metric for this is the distance metric

Copyright 2008 Kenneth M. Chipps Ph.D Counting to Infinity Problem For example after 15 trips through a router a RIP packet will be discarded based on the assumption that the network is unreachable This takes care of the problem, but it took a bunch of bandwidth wasting traffic to figure this out

Copyright 2008 Kenneth M. Chipps Ph.D Split Horizon Split horizon is a method of preventing a routing loop in a network With split horizon information about routing for a packet is never sent back in the direction from which it was received

Copyright 2008 Kenneth M. Chipps Ph.D Route Poisoning The route poisoning rule says once a route is learned through an interface, advertise it as unreachable back through the same interface Route poisoning is implemented by setting the hop count to one more than the maximum

Copyright 2008 Kenneth M. Chipps Ph.D Triggered Updates With triggered updates a change in the routing table is sent immediately rather than waiting for the scheduled update

Copyright 2008 Kenneth M. Chipps Ph.D Holddown Timers Count to infinity can be avoided by using holddown timers When a router receives an update from a neighbor indicating that a previously unreachable network is now accessible The router marks the route as inaccessible Then it starts a holddown timer

Copyright 2008 Kenneth M. Chipps Ph.D Holddown Timers If an update is received from the same neighbor before the holddown timer expires indicating the network is accessible, the timer is released and the network is marked as reachable

Copyright 2008 Kenneth M. Chipps Ph.D Holddown Timers If an update arrives from a different neighboring router with a better metric than the one originally recorded for the network, the router marks the network as accessible and removes the timer

Copyright 2008 Kenneth M. Chipps Ph.D Holddown Timers If an update is received from a different neighbor router with a poorer metric, the update is ignored

Copyright 2008 Kenneth M. Chipps Ph.D Techniques In Combination When route poisoning is used with triggered updates, it speeds up the convergence time since neighboring routers do not have to wait 30 seconds before sending out information on the poisoned route The combination of split horizon with poison reverse is called route poisoning

Summary of Techniques Copyright 2008 Kenneth M. Chipps Ph.D. 23

Comparing RIP V1 to V2 Copyright 2008 Kenneth M. Chipps Ph.D. 24

RIP Communication RIP version 2 communicates with other routers through the multicast address Copyright 2008 Kenneth M. Chipps Ph.D. 25

26 RIP Configuration RIP configuration requires three configuration commands –router rip –version 2 –network Copyright 2008 Kenneth M. Chipps Ph.D.

Basic RIP Configuration In this example, each router’s network command tells the router to start using RIP –R1 looks for any interfaces whose IP address is in Class B network –R1 sees that both its FA0/0 and S0/0 interfaces have IP addresses in network , so R1 starts sending RIP updates on both interfaces –Similarly, R2 finds that both of its interfaces match the network command as well, because both interfaces are in network so, R2 also begins sending RIP updates on both interfaces –As a result, R1 and R2 begin to learn routes from each other using RIP Copyright 2008 Kenneth M. Chipps Ph.D. 27

Basic RIP Configuration Copyright 2008 Kenneth M. Chipps Ph.D. 28

Basic RIP Configuration When a RIP network command matches an interface IP address, the IOS enables RIP on that interface When RIP is enabled on an interface, three actions related to that interface are carried out Copyright 2008 Kenneth M. Chipps Ph.D. 29

Basic RIP Configuration It starts sending RIP updates out the interface It starts listening for RIP updates coming in that interface from some other router It starts advertising a route to reach the subnet attached to the interface Copyright 2008 Kenneth M. Chipps Ph.D. 30

Copyright 2008 Kenneth M. Chipps Ph.D Configuring RIP

Copyright 2008 Kenneth M. Chipps Ph.D Preventing Routing Updates The command passive-interface is used to prevent routers from sending routing updates thorough an interface This is to prevent devices from learning about routes you would prefer they not know about This disables the sending out of RIP updates from that interface, but the router still receives updates through it

Copyright 2008 Kenneth M. Chipps Ph.D Load Balancing with RIP RIP can do simple load balancing using up to six equal cost paths It uses the round robin method

Copyright 2008 Kenneth M. Chipps Ph.D Troubleshooting RIP Update Common RIP troubleshooting commands include –show ip rip database –show ip protocols –show ip route –show ip interface brief –debug ip rip