Dynamic Interior Routing Information Mechanisms

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
Advertisements

Cisco S3 C5 Routing Protocols. Network Design Characteristics Reliable – provides mechanisms for error detection and correction Connectivity – incorporate.
Chapter 5 Part 1 Dynamic Interior Routing Information Mechanisms.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
EIGRP routing protocol Omer ben-shalom Omer Ben-Shalom: Must show how EIGRP is dealing with count to infinity problem Omer Ben-Shalom: Must.
CCNA 2 v3.1 Module 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
Chapter 12 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Read a routing table  Configure a static route 
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.
Routing/Routed Protocols. Remember: A Routed Protocol – defines logical addressing. Most notable example on the test – IP A Routing Protocol – fills the.
Unicast Routing Protocols  A routing protocol is a combination of rules and procedures that lets routers in the internet inform each other of changes.
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
Routing and Routing Protocols Routing Protocols Overview.
1 Introducing Routing 1. Dynamic routing - information is learned from other routers, and routing protocols adjust routes automatically. 2. Static routing.
M.Menelaou CCNA2 ROUTING. M.Menelaou ROUTING Routing is the process that a router uses to forward packets toward the destination network. A router makes.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
Routing -2 Dynamic Routing
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
Instructor & Todd Lammle
© 2002, Cisco Systems, Inc. All rights reserved. 1 Determining IP Routes.
Introduction to OSPF Nishal Goburdhan. Routing and Forwarding Routing is not the same as Forwarding Routing is the building of maps Each routing protocol.
Instructor & Todd Lammle
Distance Vector Routing Protocols Routing Protocols and Concepts Lecture Week 4.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 2 Single-Area OSPF.
CCNA Guide to Cisco Networking Fundamentals Fourth Edition
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
Routing and Routing Protocols
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vectore Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Routing Protocols and Concepts Dr. Muazzam A. Khan.
Single Area OSPF Module 2, Review How routing information is maintained Link-state routers apply the Dijkstra shortest path first algorithm against.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
+ Dynamic Routing Protocols 2 nd semester
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Single-Area OSPF Routing & Switching.
Lec4: Introduction to Dynamic Routing Protocol
Introduction to Dynamic Routing Protocol
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing Protocols and Concepts
Instructor Materials Chapter 5: Dynamic Routing
Distance Vector Routing Protocols
Semester 3, Chapter 5 Allan Johnson
Link State Routing protocol
Dynamic Routing Protocols part2
OSPF (Open Shortest Path First)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Routing/Routed Protocols
Dynamic Routing Protocols part2
Dynamic Routing: Dynamic routing is where we use a routing protocol; routing protocols are cool because they take care of our work. Routing protocols will.
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
IS3120 Network Communications Infrastructure
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Introduction to Dynamic Routing Protocol
Chapter 5: Dynamic Routing
Chapter 7: Routing Dynamically
Dynamic Routing Protocols part2
Introduction to Dynamic Routing Protocol
Distance Vector Routing Protocols
Dynamic Routing and OSPF
Chapter 8: Single-Area OSPF
Distance Vector Routing Protocols
Working at a Small-to-Medium Business or ISP – Chapter 6
Dynamic Routing: Dynamic routing is where we use a routing protocol; routing protocols are cool because they take care of our work. Routing protocols will.
Distance Vector Routing
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Presentation transcript:

Dynamic Interior Routing Information Mechanisms Chapter 5 Part 2 Dynamic Interior Routing Information Mechanisms

Dynamic Routing Using Distance Vector Distance-vector algorithms pass along a message Describes the cost to varying destinations Each neighbor add its additional cost to costs of reachability Each node calculates the cost to adjacent or neighbor nodes Each node then transmits table of costs to all other nodes First- and second- generation transmit routing tables at fixed times. RIP broadcasts every 30 seconds. IGRP-distance vector but also transmit on triggered updates. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing using Distance Vector Initially the router knows about adjacent entities. All routers know about all others after the third iteration of routing updates. Covergence Loop avoidance features will slow convergence routes. Designing Routing and Switching Architectures Howard C. Berkowitz

Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector Loop Detection and Prevention Distance-vector depends on routers notifying other routers that a path is no longer available. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector First-Generation Distance Vector:RIP ver 1 and 2 Widely implemented in hardware and software. UNIX routed Hops-count of intermediate systems between two endpoints as its routing metric Limited to networks of moderate size No more than 15 hops between two distances No heirarchy of routers. Large amount of routing traffic Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector RIP uses the following procedure: Routing tables have an entry for every possible routing destination. Next hop router and count to destination. Routers periodically send their routing tables to all adjacent routers. When new update arrives , the receiving router adds a 1 to each metric. If the resulting cost to any destination is less than what is in the current routing table, a cheaper cost replaces the old. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector Special cases of updating If a new update arrives to a router it can be replaced if it has a greater cost-if the underlying router is in a better position to know the true cost. Not usually implemented in RIP. RIP ver 1 is widely implemented. RIP ver 2 Variable length subnet mask Optional authentication Operation over demand media Capability to multicast as well as broadcast updates. Uses hop count for metric and loop prevention Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector RIP Disadvantages Go thru slow link because it has a lower hop count For routers that do not keep information on potential routes and use holddown timers. When a failure is detected, a holddown timer is started. Holddown timer has value of 3 times the update interval. After the holddown timer has completed, 90 seconds. It takes at least 90 – 129 seconds for router to converge(find out about new route) 90 seconds for failure detection, 90 seconds holddown and 30 seconds waiting for update. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector Second-Generation Distance Vector:IGRP Does not use hop count Uses complex metric primarily based on bandwidth. IGRP use hop counts for the purpose of loop detection. Uses periodic updates for new usable routes It sends triggered updates as soon it detects a failure IGRP is improvement over RIP Uses triggered updates and split horizon to prevent loops. IGRP knows the difference between links of different speed and generates less routing update overhead than RIP. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector IGRP Updates, Timers, and Loop Control Assumed if hop count on a given route begins to increase steadily, or metric increases by more than 10%, it is a warning of a loop. Distance-vector adopts neew routes easily Does not purge old ones from the system. IGRP/EIGRP Metric Complex metric algorithm Primarily based on bandwidth, lesser extent on delay. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector Third-Generation Distance Vector/DUAL:EIGRP Internally different protocol than IGRP Same configuration commands as IGRP Uses the same metric computation. Has different separate hello subprotocol Reliable update mechanisms that do away with most looping problems. Algorithm is called the diffusing update algorithm(DUAL). Does not use hop count Must reliably detect dead routers. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector EIGRP forms adjacencies with all of its neighbors as long as there are no errors. EIGRP runs directly over IP EIGRP updates are fairly small than link-state updates in OSPF and they contain metric components rather than the computed metric. Uses a formal hello subprotocol. Routing Table Initialization Has neighbor table Also has a topology table which holds information about potential routes. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector Learning about Non-adjacent routes Learns about routes from its neighbors Calculates its cost to reach the neighbor to the cost calcluated from the metric factors in updates it receives. The update carries factors from which the metric can be calculated. Learning Better Routes When a successor is found, it is moved from the topology table to the routing table. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Distance Vector Failure Recovery Topology table has two entries Active- router is searching for a way to reach the destination because it cannot find a route to the destination from its locally stored information. Passive-normal case. If a router sees that one of its routes have failed(infinite cost), it checks to see if one of its neighbors has a feasible route(feasible successor) Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols Also called shortest path first (SPF) Each node determines which other nodes are adjacent to it and, sends information about the links to which it is directly connected. Link is not a route Router links with directly connected media Media links with directly connected router interface Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols OSPF and IS-IS Different addresses used Different terminology OSPF- link state advertisements IS-IS-link state packets Similar Use link state algorithms Allow multiple levels of default route Use designated routers Hello protocols Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols Distance vector protocols use less CPU than link state Link state routers normally do not advertise routes from a routing table. They advertise link states Algorithm is quick to adapt and does not produce loops but is resource intensive. Each router receives link states from all other routers in an OSPF area. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols OSPF Interior routing protocol intended to remove some of the limitations of RIP. Designed to scale for use in very large networks. Numerous mechanisms intended to reduce routing table size and volume of routing updates. No hop count-uses arbitrary metric defined by the system administrator. Mixed bandwidth. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols Uses link state algorithm As routers intialize, they flood the common medium within their area about the paths connected to them. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols Reduces traffic by specializing routers. Four functions Backbone routers (BRs)-routers in 0.0.0.0 Should be reserved for inter-area transit and network management servers. Autonomous system border routers (ASBRs)-connect to other routing domains. Means of exchanging paths to another routing process or to accept static routes for redistribution. Most often in 0.0.0.0 area. Area border routers (ABRs)-backbone is linked to non-backbone areas. Serve hosts within that area Only knows how to reach other routers in its area including area boundary router that connects the area to the backbone. Interior routers (IRs)-routers with interfaces in a single nonzero area. Designing Routing and Switching Architectures Howard C. Berkowitz

Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols OSPF Protocol Messages Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols OSPF Packet Header Have a reserved multicast address as their destination. When packets are sent, IP TTL field in their IP headers are set to one, so they only have a link-local scope. Not intended to go beyond a single subnet Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols Address and Neighbor Discovery As OSPF router initializes , it determines a unique router ID Then searches for other OSPF routers on media to which it is connected. After OSPF establishes interfaces that have been configured, it builds interface machines for each interface. When a router hears a hello message on an interface, it copies the router ID it has heard into the next hello packet. When a hello message is received with one’s own router ID in it, it goes through validity checks, such as making sure timers used by both routers match. Designing Routing and Switching Architectures Howard C. Berkowitz

Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols Designated Routers Interface on a router Designated router interface and backup designated router. DR election is part of the neighbor/adjacency discovery process. Most common for first router that intializes Second router that initializes-backup. Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols OSPF Database Synchronization Master Role Slave Role Routers enter Exchange state and exchange database information. Master sends slave DD(Database Description)-contents of the master’s topological database. If master better than slave Slave installs If slaves better than master it sends an update to master which the master acks When no more changes occur the database is now sync’d Designing Routing and Switching Architectures Howard C. Berkowitz

Dynamic Routing Using Link-State Routing Protocols OSPF Updating Topological information in an OSPF routing domain is considered to be owned by the router that initially advertises it. LSAs Data structures rather than explicit messages. Multiple LSAs in single protocol message. Designing Routing and Switching Architectures Howard C. Berkowitz