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 –
RIP V2 W.lilakiatsakun.  RFC 2453 (obsoletes –RFC 1723 /1388)  Extension of RIP v1 (Classful routing protocol)  Classless routing protocol –VLSM is.
RIP V2 CCNP S1(5), Chapter 4.
Copyright 2008 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts Chapter 4 Distance Vector Routing Protocols.
IP Routing.
Routing Protocol.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
Chapter 5 IP Routing Routing Sending packets through network from one device to another What must routers know? – Destination address – Neighboring routers.
IST 228\Ch5\IP Routing1. 2  Review of Chapter 4 Start the router simulator. You will see the prompt "Router>". This is the user mode prompt. Change the.
© 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 –
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
1 13-Sep-15 S Ward Abingdon and Witney College Routing loops And other problems CCNA 2 Chapter 4.
© 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.
Slide /2009COMM3380 Routing Algorithms Distance Vector Routing Each node knows the distance (=cost) to its directly connected neighbors A node sends.
Click to edit Master subtitle style Chapter 10: Routing Protocols Instructor:
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Sybex CCNA Chapter 6: IP Routing Instructor & Todd Lammle.
Routing -2 Dynamic Routing
1 3-Oct-15 Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
RIP2 (Routing Information Protocol) Team Agile. Routing Protocols Link State – OSPF – ISIS Distance vector – RIP (version 1 and 2) – IGRP (Cisco Proprietary)
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 1-Dec-15 S Ward Abingdon and Witney College Distance Vector Routing CCNA Exploration Semester 2 Chapter 4.
Chabot College ELEC Routing Loops.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Routing Protocols and Concepts Dr. Muazzam A. Khan.
Routing Semester 2, Chapter 11. Routing Routing Basics Distance Vector Routing Link-State Routing Comparisons of Routing Protocols.
Click to edit Master subtitle style Chapter 10: Routing Protocols.
RIP.
Routing Protocols and Concepts
Click to edit Master subtitle style
Distance Vector Routing Protocols
Dynamic Routing Protocols part2
Routing Protocols (RIP, OSPF, BGP)
Routing Loops.
Routing Information Protocol (RIP)
IGRP IGRP is a distance vector routing protocol developed by Cisco.
Rip Routing Protocol.
CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols
Troubleshooting IP Addressing
IS3120 Network Communications Infrastructure
Routing: Distance Vector Algorithm
Introduction to Dynamic Routing Protocol
Dynamic Routing Protocols part2
Distance Vector Routing Protocols
Introduction to Dynamic Routing Protocol
Routing Protocols and Concepts – Chapter 5
Distance Vector Routing Protocols
Routing Protocols and Concepts – Chapter 5
Dynamic Routing and OSPF
RFC 1058 & RFC 2453 Routing Information Protocol
CCNA2 chap4 routing loops.ppt And other problems CCNA 2 Chapter 4
Routing Protocols and Concepts – Chapter 5
Communication Networks
Distance Vector Routing Protocols
Routing Protocols and Concepts – Chapter 5
Distance Vector Routing Protocols
Distance Vector Routing
Presentation transcript:

Distance-Vector Routing Protocols The distance-vector routing algorithm passes complete routing table contents to neighboring routers It’s possible to have a network that has multiple links to the same remote network If that’s the case, the administrative distance is checked first If the AD is the same, the protocol will have to use other metrics to determine the best path to use to that remote network

Routing Information Protocol (RIP) RIP uses only hop count to determine the best path to a network If RIP finds more than one link to the same remote network with the same hop count, it will automatically perform load balancing RIP can perform load balancing for up to six equal-cost links

Routing Information Protocol (RIP) In following Figure, the four routers start off with only their directly connected networks in the routing table After a distance-vector routing protocol is started on each router, the routing tables are updated with all route information gathered from neighbor routers Each router sends its complete routing table out to each active interface

Routing Information Protocol (RIP) The routing table of each router includes Network number, Exit interface, Hop count to the network

Routing Information Protocol (RIP)

Routing Information Protocol (RIP) In Figure above, the routing tables are complete because they include information about all the networks in the internetwork They are considered converged When the routers are converging, it is possible that no data will be passed That’s why fast convergence time is a serious issue RIP has slow convergence time The routing table in each router keeps information regarding the remote network number the interface to which the router will send packets to reach that network the hop count or metric to the network

Routing Loops Distance-vector routing protocols keep track of any changes to the internetwork by broadcasting periodic routing updates out all active interfaces This broadcast includes the complete routing table This works just fine, but it’s expensive in terms of CPU process and link bandwidth And if a network outage happens, real problems can occur Plus, the slow convergence of distance-vector routing protocols can result in inconsistent routing tables and routing loops

Routing Loops Routing loops can occur because every router isn’t updated simultaneously, or even close to it Here’s an example—let’s say that the interface to Network 5 in above Figure fails All routers know about Network 5 from Router E Router A, in its tables, has a path to Network 5 through Router B

Routing Loops When Network 5 fails, Router E tells Router C This causes Router C to stop routing to Network 5 through Router E But Routers A, B, and D don’t know about Network 5 yet, so they keep sending out update information Router C will eventually send out its update and cause B to stop routing to Network 5, but Routers A and D are still not updated To them, it appears that Network 5 is still available through Router B with a metric of 3

Routing Loops The problem occurs when Router A sends out its regular 30-second “Hello, I’m still here— these are the links I know about” message, which includes the ability to reach Network 5 Now Routers B and D receive the news that Network 5 can be reached from Router A So Routers B and D then send out the information that Network 5 is available Any packet destined for Network 5 will go to Router A, to Router B, and then back to Router A This is a routing loop—how do you stop it?

Maximum Hop Count The routing loop problem just described is called counting to infinity, and it’s caused by gossip (broadcasts) and wrong information being communicated and propagated throughout the internetwork Without some form of intervention, the hop count increases indefinitely each time a packet passes through a router One way of solving this problem is to define a maximum hop count.

Maximum Hop Count RIP permits a hop count of up to 15, so anything that requires 16 hops is deemed unreachable After a loop of 15 hops, Network 5 will be considered down in previous example Thus, the maximum hop count will control how long it takes for a routing table entry to become invalid or questionable Though this is a workable solution, it won’t remove the routing loop itself Packets will still go into the loop, but instead of traveling on unchecked, they’ll just whirl around for 16 bounces and die

Split Horizon Another solution to the routing loop problem is called split horizon This reduces incorrect routing information/overhead by enforcing the rule that routing information cannot be sent back in the direction from which it was received The routing protocol differentiates which interface a network route was learned from, and once this is determined, it won’t advertise the route back out that same interface This would have prevented Router A from sending the updated information it received from Router B back to Router B

Routing Loops Example

Route Poisoning Another way to avoid network loops is route poisoning For example, when Network 5 goes down, Router E initiates route poisoning by advertising Network 5 as 16, or unreachable (sometimes referred to as infinite) This poisoning of the route to Network 5 keeps Router C from being susceptible to incorrect updates about the route to Network 5 When Router C receives a route poisoning from Router E, it sends an update, called a poison reverse, back to Router E This ensures all routes on the segment have received the poisoned route information

RIP Limitation Network 172.16.30.0 is a T1 link with a bandwidth of 1.544Mbps, Network 172.16.20.0 is a 56K link You’d want the router to choose the T1 over the 56K link But hop count is the only metric used with RIP routing So two links would be seen as being of equal cost This little problem is called pinhole congestion.

Routing Information Protocol (RIP)

RIP Timers

RIP Summary

RIP Summary

RIP Summary A true distance-vector routing protocol It sends the complete routing table out to all active interfaces every 30 seconds RIP only uses hop count to determine the best way to a remote network Maximum allowable hop count of 15 by default, meaning that 16 is deemed unreachable RIP works well in small networks Inefficient on large networks with slow WAN links or on networks with a large number of routers installed

RIP Summary RIP version 1 uses only classful routing, which means that all devices in the network must use the same subnet mask This is because RIP version 1 doesn’t send updates with subnet mask information RIP version 2 provides something called prefix routing, and does send subnet mask information with the route updates This is called classless routing