TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.

Slides:



Advertisements
Similar presentations
RIP V2 CCNP S1(5), Chapter 4.
Advertisements

Courtesy: Nick McKeown, Stanford
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization –All routers are identical –Network is flat. Not true in Practice Hierarchical.
Routing So how does the network layer do its business?
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
RD-CSY3021 Comparing Routing Protocols. RD-CSY3021 Criteria used to compare routing protocols includes  Time to convergence  Proprietary/open standards.
CCNA 2 v3.1 Module 6.
CSEE W4140 Networking Laboratory Lecture 4: IP Routing (RIP) Jong Yul Kim
TDC375 Winter 2002John Kristoff - DePaul University1 Network Protocols Routing.
Routing and Routing Protocols
TDC375 Autumn 03/04 John Kristoff - DePaul University 1 Network Protocols Routing.
Routing.
COS 420 Day 17. Agenda Finished Grading Individualized Projects Very large disparity in student grading No two students had same ranking for other students.
RIP. A PPROACHES TO S HORTEST P ATH R OUTING There are two basic routing algorithms found on the Internet. 1. Distance Vector Routing Each node knows.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Fundamentals of Networking Discovery 2, Chapter 6 Routing.
Switching and Routing Technique
TCP/IP Protocol Suite 1 Chapter 14 Upon completion you will be able to: Unicast Routing Protocols: RIP, OSPF, and BGP Distinguish between intra and interdomain.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Interior Gateway Protocols: RIP & OSPF
Chapter 7: Routing Dynamically
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
1 Routing Protocols. 2 Distributed Routing Protocols Rtrs exchange control info Use it to calculate forwarding table Two basic types –distance vector.
Guide to TCP/IP, Second Edition1 Guide To TCP/IP, Second Edition Chapter 10 Routing In The IP Environment.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 14 Routing Protocols RIP, OSPF, BGP.
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.
Routing and Routing Protocols Routing Protocols Overview.
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.
Code : STM#520-1 Samsung Electronics Co., Ltd. OfficeServ7400 Router Operation Distribution EnglishED01.
Routing -2 Dynamic Routing
Review Routing fundamental W.lilakiatsakun. Review Routing Fundamental VLSM VLSM Route Summarization Route Summarization Static & Dynamic Routing Static.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Routing protocols Basic Routing Routing Information Protocol (RIP) Open Shortest Path First (OSPF)
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vector Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
RIP2 (Routing Information Protocol) Team Agile. Routing Protocols Link State – OSPF – ISIS Distance vector – RIP (version 1 and 2) – IGRP (Cisco Proprietary)
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—-5-1 WAN Connections Routing & Enabling RIP.
Routing Fundamental W.lilakiatsakun. Review Routing Fundamental VLSM Static & Dynamic Routing Routing algorithm concept.
1 Internet Routing. 2 Terminology Forwarding –Refers to datagram transfer –Performed by host or router –Uses routing table Routing –Refers to propagation.
Page 110/27/2015 A router ‘knows’ only of networks attached to it directly – unless you configure a static route or use routing protocols Routing protocols.
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.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. -0/35- OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
CCNA 2 Week 6 Routing Protocols. Copyright © 2005 University of Bolton Topics Static Routing Dynamic Routing Routing Protocols Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
6: Routing Working at a Small to Medium Business.
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
TCOM 515 Lecture 2. Lecture 2 Objectives Dynamic Routing Distance Vectore Routing Link State Routing Interior vs Exterior RIP - Routing Information Protocol.
Chapter 14 1 Unicast Routing Protocols There isn’t a person anywhere that isn’t capable of doing more than he thinks he can. - Henry Ford.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Routing protocols. 1.Introduction A routing protocol is the communication used between routers. A routing protocol allows routers to share information.
© 2002, Cisco Systems, Inc. All rights reserved..
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
1 Chapter 14-16a Internet Routing Review. Chapter 14-16: Internet Routing Review 2 Introduction Motivation: Router performance is critical to overall.
1. 2  An autonomous system is a region of the Internet that is administered by a single entity.  Examples of autonomous regions are:  UVA’s campus.
Click to edit Master subtitle style Chapter 10: Routing Protocols.
Routing and Routing Protocols CCNA 2 v3 – Module 6.
+ Dynamic Routing Protocols 2 nd semester
Computer Networks Routing Algorithms.
Routing Protocols (RIP, OSPF, BGP)
Dynamic routing Routing Algorithm (Dijkstra / Bellman-Ford) – idealization All routers are identical Network is flat. Not true in Practice Hierarchical.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
Chapter 5: Dynamic Routing
Dynamic Routing and OSPF
Communication Networks
Routing.
Presentation transcript:

TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I

TDC365 Spring 2001John Kristoff - DePaul University2 IP routing • Performed by routers • Table (information base) driven • Forwarding decision on a hop-by-hop basis • Route determined by destination IP address

TDC365 Spring 2001John Kristoff - DePaul University3 Basic IP forwarding process • For an IP datagram received on an interface • Remove layer 2 information • Extract destination IP address (D) • Find best match for (D) in the routing table • Extract fowarding address (F) for next hop • Create layer 2 information • Send datagram to (F)

TDC365 Spring 2001John Kristoff - DePaul University4 IP routing tables Since each entry in a routing table represents an IP network, the size of the routing table is proportional to the number of IP networks known throughout the entire internetwork.

TDC365 Spring 2001John Kristoff - DePaul University5 IP routing table illustrated

TDC365 Spring 2001John Kristoff - DePaul University6 Generating routing tables • Manually • Simple for small, single path networks • Does not scale well • Useful for permanent route entries • Dynamically • Allows quick re-routing around failed nodes/links • Useful for large multi-path networks • Catastrophic, distributed failures are possible

TDC365 Spring 2001John Kristoff - DePaul University7 IP routing illustrated

TDC365 Spring 2001John Kristoff - DePaul University8 IP routing illustrated (continued)

TDC365 Spring 2001John Kristoff - DePaul University9 Routing metrics • Shortest/longest hop path • Lowest/highest cost path • Lowest/highest reliability • Best/worst latency • Policy decisions

TDC365 Spring 2001John Kristoff - DePaul University10 Some terminology • Autonomous system (AS) • A network or set of networks that is administrated by a single entity • Interior gateway protocols (IGP) • Routing protocol used within an AS • Exterior gateway protocols (EGP) • Routing protocol used between ASes

TDC365 Spring 2001John Kristoff - DePaul University11 Distance vector routing • Each node maintains distance to destination • e.g. 4 hops to network XYZ, 2 hops to ABC • Periodically advertise attached networks out each link • Learn from other router advertisements • Advertise learned routes • Also known as Bellman-Ford after inventors of the algorithm

TDC365 Spring 2001John Kristoff - DePaul University12 Distance vector illustrated

TDC365 Spring 2001John Kristoff - DePaul University13 Distance vector illustrated (continued)

TDC365 Spring 2001John Kristoff - DePaul University14 Distance vector illustrated (converged)

TDC365 Spring 2001John Kristoff - DePaul University15 Problems with distance vector • Convergence time can be slow • Also known as the count to infinity problem • What happens when link to A fails?

TDC365 Spring 2001John Kristoff - DePaul University16 Solving count to infinity • Hold down • Advertise infinity for route and wait a period of time before switching routes. Hope that news of the downed link will spread fast enough. Kludge. • Report the entire path • Guarantees no loops, but expensive. • Split horizon • Do not advertise route to a neighbor if you received route from that neighbor. Not foolproof.

TDC365 Spring 2001John Kristoff - DePaul University17 Other distance vector improvements • Triggered updates • Advertise changes immediately. May cause route flapping, but generally a good thing to do. • Poison reverse • Used with split horizon, advertise infinity rather than nothing at all. • DUAL • Somewhat like hold down. Can switch paths if new distance is lower. Sufficiently complex.

TDC365 Spring 2001John Kristoff - DePaul University18 Routing information protocol (RIP) • Standardized in RFC 1058 and 2453 • The later defines RIPv2 for improvements • Very simple • Slow convergence time • UDP broadcast every 30 seconds (default) • Route times out after 180 seconds (default) • Widely used as an IGP (RIPv2 particulary) • 15 hop limit (any greater equals infinity)

TDC365 Spring 2001John Kristoff - DePaul University19 RIP version 2 (RIPv2) • Most important new feature was to include the subnet mask with the advertised route • Needed to support classless addressing • Support for authentication • Uses IP multicast destination address • Route tag option • For interaction with external gateway protocols • Next-hop option • Next-hop router associated with advertisement

TDC365 Spring 2001John Kristoff - DePaul University20 RIPv1 packet format Packet format: | command (1) | version (1) | must be zero (2) | | ~ RIP Entry (20) ~ | A RIPv1 entry has the following format: | address family identifier (2) | must be zero (2) | | IPv4 address (4) | | must be zero (4) | | must be zero (4) | | metric (4) |

TDC365 Spring 2001John Kristoff - DePaul University21 RIPv2 packet format Packet format is the same, RIPv2 entry format is: | Address Family Identifier (2) | Route Tag (2) | | IP Address (4) | | Subnet Mask (4) | | Next Hop (4) | | Metric (4) | Authentication uses one entry of the format: | Command (1) | Version (1) | unused | | 0xFFFF | Authentication Type (2) | ~ Authentication (16) ~

TDC365 Spring 2001John Kristoff - DePaul University22 Link state routing • All routers have complete network topology information (database) within their area • Link state packets are flooded to all area routers • Each router computes its own optimal path to a destination network • Convergence time is very short • Protocol complexity is high • Ensures a loop free environment

TDC365 Spring 2001John Kristoff - DePaul University23 Link state routing illustrated

TDC365 Spring 2001John Kristoff - DePaul University24 Link state routing databases • Link state database • Contains latest link state packet from each router • PATH (permanent) database • Contains (router ID/path cost/forwarding direction) triples • TENT (tentative) database • Same structure as PATH, its entries may be candidates to move into PATH • Forwarding database • Contains ID and forwarding direction

TDC365 Spring 2001John Kristoff - DePaul University25 Dijkstra's algorithm • Start with self as root of the tree • (my ID, path cost 0, forwarding direction 0) in PATH • For each node in PATH, examine its LSP and place those neighbors in TENT if not already in PATH or TENT • If TENT is empty, exit, otherwise find ID with lowest path cost and in TENT and move it to PATH

TDC365 Spring 2001John Kristoff - DePaul University26 Dijkstra's algorithm illustrated 1. Start with A, put A in PATH, examine A's LSP, add B and D to TENT 2. B is lowest path cost in TENT, place B in PATH, examine B's LSP, put C,E in TENT 3. D is lowest path cost in TENT, place D in PATH, examine D's LSP, found better E path 4. C is lowest path cost in TENT, place C in PATH, exame C's LSP, found better E path again 5. E is lowest path cost in TENT, place E in PATH, examine E's LSP (no better paths) 6. TENT is empty, terminate

TDC365 Spring 2001John Kristoff - DePaul University27 Open shortest path first (OSPF) • Standardized as RFC 2328 (OSPFv2) • Complex • Supports multiple routing metrics (though rarely used) • Allows 2 tier hierarchy for scalability • Efficient • Good convergence properties • Runs directly over IP • Recommended IGP by the IETF

TDC365 Spring 2001John Kristoff - DePaul University28 OSPF packets • Hello • Link maintenance • Exchange • Initial exchange of routing tables • Flooding • Incremental routing updates

TDC365 Spring 2001John Kristoff - DePaul University29 OSPF database records • Router links • Summarizes links from advertising router • Network links • Transit networks (broadcast and non-broadcast) • Summary links • Summary info advertised by area border routers • External links • Imported routers, typically from a EGP

TDC365 Spring 2001John Kristoff - DePaul University30 Common OSPF header | Version # | Type | Packet length | | Router ID | | Area ID | | Checksum | AuType | | Authentication | | Authentication |

TDC365 Spring 2001John Kristoff - DePaul University31 Final thoughts • We'll delve into BGP next time • Routing protocols work fine 99.99% of the time, but when they don't, failures are generally catastrophic • Troubleshooting complex routing problems can make your brain hurt • Generally the only necessary intelligence that is required in the network is IP routing