Intradomain Routing Computer Networking I Nick Feamster Spring 2010.

Slides:



Advertisements
Similar presentations
OSPF 1.
Advertisements

Nick Feamster Georgia Tech
Intradomain Routing CS 4251: Computer Networking II Nick Feamster Spring 2008.
CSCI-1680 Network Layer: Intra-domain Routing Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Chapter 22 Network Layer: Delivery, Forwarding, and Routing Copyright © The McGraw-Hill Companies,
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Distance Vector Routing Protocols Routing Protocols and Concepts –
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Link-State Routing Protocols Routing Protocols and Concepts – Chapter.
Link State Routing Jean-Yves Le Boudec Fall
Routing Protocol.
Intradomain Topology and Routing (Nick Feamster) January 30, 2008.
Courtesy: Nick McKeown, Stanford
1 LINK STATE PROTOCOLS (contents) Disadvantages of the distance vector protocols Link state protocols Why is a link state protocol better?
Distance-Vector and Path-Vector Routing Sections , 4.3.2, COS 461: Computer Networks Spring 2011 Mike Freedman
Routing - I Important concepts: link state based routing, distance vector based routing.
Distance-Vector Routing COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
Network Layer Design Isues Store-and-Forward Packet Switching Services Provided to the Transport Layer The service should be independent of the router.
Link-State Routing Reading: Sections 4.2 and COS 461: Computer Networks Spring 2011 Mike Freedman
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose, Keith Ross Addison-Wesley,
Link-State Routing Reading: Sections 4.2 and COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
1 EE 122: Shortest Path Routing Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks to Vern.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
Intradomain Topology and Routing Nick Feamster CS 6250 September 5, 2007.
EE 122: Intra-domain routing Ion Stoica September 30, 2002 (* this presentation is based on the on-line slides of J. Kurose & K. Rose)
Computer Networking Intra-Domain Routing, Part I RIP (Routing Information Protocol)
CS 4700 / CS 5700 Network Fundamentals Lecture 9: Intra Domain Routing Revised 7/30/13.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
1 CS 4396 Computer Networks Lab Dynamic Routing Protocols - II OSPF.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Network Layer r Introduction r Datagram networks r IP: Internet Protocol m Datagram format m IPv4 addressing m ICMP r What’s inside a router r Routing.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
Network Layer4-1 Distance Vector Algorithm Bellman-Ford Equation (dynamic programming) Define d x (y) := cost of least-cost path from x to y Then d x (y)
1 Module 4: Implementing OSPF. 2 Lessons OSPF OSPF Areas and Hierarchical Routing OSPF Operation OSPF Routing Tables Designing an OSPF Network.
Routing 2 CS457 Fall 2010.
Distance Vector Routing
Internet Routing r Routing algorithms m Link state m Distance Vector m Hierarchical routing r Routing protocols m RIP m OSPF m BGP.
Dynamic Routing Protocols II OSPF
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
4: Network Layer4a-1 Distance Vector Routing Algorithm iterative: r continues until no nodes exchange info. r self-terminating: no “signal” to stop asynchronous:
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
Intradomain Topology and Routing Nick Feamster CS 7260 January 17, 2007.
Network Layer (2). Review Physical layer: move bits between physically connected stations Data link layer: move frames between physically connected stations.
Distance Vector and Link State Routing Pragyaditya Das.
Application Layer 2-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A.
IP tutorial - #2 Routing KAIST Dept. of CS NC Lab.
1 Relates to Lab 4. This module covers link state routing and the Open Shortest Path First (OSPF) routing protocol. Dynamic Routing Protocols II OSPF.
CS 5565 Network Architecture and Protocols
Dynamic Routing Protocols II OSPF
Routing Jennifer Rexford.
CSE390 – Advanced Computer Networks
Dynamic Routing Protocols part2
CS 457 – Lecture 12 Routing Spring 2012.
Network Layer Introduction Datagram networks IP: Internet Protocol
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing: Distance Vector Algorithm
Distance Vector Routing: overview
Dan LI CS Department, Tsinghua University
Dynamic Routing Protocols II OSPF
Routing in Packet Networks Shortest Path Routing
Road Map I. Introduction II. IP Protocols III. Transport Layer
CS 4700 / CS 5700 Network Fundamentals
CS 3700 Networks and Distributed Systems
CS 640: Introduction to Computer Networks
Dynamic Routing and OSPF
CS 3700 Networks and Distributed Systems
COS 461: Computer Networks
Network Layer (contd.) Routing
EE 122: Intra-domain routing: Distance Vector
Chapter 4: Network Layer
Presentation transcript:

Intradomain Routing Computer Networking I Nick Feamster Spring 2010

2 Georgia Tech Internet Routing Overview Today: Intradomain (i.e., intra-AS) routing Next Time: Interdomain routing Comcast Abilene AT&T Cogent Autonomous Systems (ASes)

3 Today: Routing Inside an AS Intra-AS topology –Nodes and edges –Example: Abilene Intradomain routing protocols –Distance Vector Split-horizon/Poison-reverse Example: RIP –Link State Example: OSPF, ISIS

4 Topology Design Where to place nodes? –Typically in dense population centers Close to other providers (easier interconnection) Close to other customers (cheaper backhaul) –Note: A node may in fact be a group of routers, located in a single city. Called a Point-of-Presence (PoP) Where to place edges? –Often constrained by location of fiber

5 Node Clusters: Point-of-Presence (PoP) A cluster of routers in a single physical location Inter-PoP links –Long distances –High bandwidth Intra-PoP links –Cables between racks or floors –Aggregated bandwidth PoP

6 Example: Abilene Network Topology

7 Wheres Georgia Tech? 10GigE (10GbpS uplink) Southeast Exchange (SOX) is at 56 Marietta Street

8 Another Example Backbone

9 Problem: Routing Routing: the process by which nodes discover where to forward traffic so that it reaches a certain node Within an AS: there are two styles –Distance vector: iterative, asynchronous, distributed –Link State: global information, centralized algorithm

10 Forwarding vs. Routing Forwarding: data plane –Directing a data packet to an outgoing link –Individual router using a forwarding table Routing: control plane –Computing paths the packets will follow –Routers talking amongst themselves –Individual router creating a forwarding table

11 Distance-Vector Routing Routers send routing table copies to neighbors Routers compute costs to destination based on shortest available path Based on Bellman-Ford Algorithm –d x (y) = min v { c(x,v) + d v (y) } –Solution to this equation is xs forwarding table xyz x015 y z xyz x y102 z xyz x y z520 y xz 1 2 5

12 Distance Vector Algorithm Iterative, asynchronous: each local iteration caused by: Local link cost change Distance vector update message from neighbor Distributed: Each node notifies neighbors only when its DV changes Neighbors then notify their neighbors if necessary wait for (change in local link cost or message from neighbor) recompute estimates if DV to any destination has changed, notify neighbors Each node:

13 Good News Travels Quickly When costs decrease, network converges quickly xyz x013 y102 z320 xyz x013 y102 z320 xyz x013 y102 z320 y xz 1 2 5

14 Problem: Bad News Travels Slowly y xz xyz x0 50 y502 z320 xyz x06050 y502 z720

15 It Gets Worse Question: How long does this continue? Answer: Until zs path cost to x via y is greater than 50. y xz xyz x0 50 y502 z320 xyz x06050 y502 z720

16 Solution: Poison Reverse If z routes through y to get to x, z advertises infinite cost for x to y Does poison reverse always work? xyz x013 y102 z320 xyz x01X y102 zX20 xyz x013 y102 z320 y xz 1 2 5

17 Does Poison Reverse Always Work? y x z w 1 1

18 Routing Information Protocol (RIP) Distance vector protocol –Nodes send distance vectors every 30 seconds –… or, when an update causes a change in routing Link costs in RIP –All links have cost 1 –Valid distances of 1 through 15 –… with 16 representing infinity –Small infinity smaller counting to infinity problem

19 Link-State Routing Keep track of the state of incident links –Whether the link is up or down –The cost on the link Broadcast the link state –Every router has a complete view of the graph Compute Dijkstras algorithm Examples: –Open Shortest Path First (OSPF) –Intermediate System – Intermediate System (IS-IS)

20 Link-State Routing Idea: distribute a network map Each node performs shortest path (SPF) computation between itself and all other nodes Initialization step –Add costs of immediate neighbors, D(v), else infinite –Flood costs c(u,v) to neighbors, N For some D(w) that is not in N –D(v) = min( c(u,w) + D(w), D(v) )

21 Detecting Topology Changes Beaconing –Periodic hello messages in both directions –Detect a failure after a few missed hellos Performance trade-offs –Detection speed –Overhead on link bandwidth and CPU –Likelihood of false detection hello

22 Broadcasting the Link State Flooding –Node sends link-state information out its links –The next node sends out all of its links except the one where the information arrived X A CBD (a) XA C BD (b) X A CB D (c) XA CBD (d)

23 Broadcasting the Link State Reliable flooding –Ensure all nodes receive the latestlink-state information Challenges –Packet loss –Out-of-order arrival Solutions –Acknowledgments and retransmissions –Sequence numbers –Time-to-live for each packet

24 When to Initiate Flooding Topology change –Link or node failure –Link or node recovery Configuration change –Link cost change Periodically –Refresh the link-state information –Typically (say) 30 minutes –Corrects for possible corruption of the data

25 Scaling Link-State Routing Message overhead –Suppose a link fails. How many LSAs will be flooded to each router in the network? Two routers send LSA to A adjacent routers Each of A routers sends to A adjacent routers … –Suppose a router fails. How many LSAs will be generated? Each of A adjacent routers originates an LSA …

26 Scaling Link-State Routing Two scaling problems –Message overhead: Flooding link-state packets –Computation: Running Dijkstras shortest-path algorithm Introducing hierarchy through areas Area 0 area border router

27 Link-State vs. Distance-Vector Convergence –DV has count-to-infinity –DV often converges slowly (minutes) –DV has timing dependences –Link-state: O(n 2 ) algorithm requires O(nE) messages Robustness –Route calculations a bit more robust under link-state –DV algorithms can advertise incorrect least-cost paths –In DV, errors can propagate (nodes use each others tables) Bandwidth Consumption for Messages –Messages flooded in link state

28 Open Shortest Paths First (OSPF) Key Feature: hierarchy Networks routers divided into areas Backbone area is area 0 Area 0 routers perform SPF computation –All inter-area traffic travles through Area 0 routers (border routers) Area 0

29 Another Example: IS-IS Originally: ISO Connectionless Network Protocol – CLNP: ISO equivalent to IP for datagram delivery services – ISO or RFC 1142 Later: Integrated or Dual IS-IS (RFC 1195) – IS-IS adapted for IP – Doesnt use IP to carry routing messages OSPF more widely used in enterprise, IS-IS in large service providers

30 Area Area Level-1 Routing Level-2 Routing Level-1 Routing Backbone Hierarchical Routing in IS-IS Like OSPF, 2-level routing hierarchy –Within an area: level-1 –Between areas: level-2 –Level 1-2 Routers: Level-2 routers may also participate in L1 routing

31 ISIS on the Wire…

32 IS-IS Configuration on Abilene (atlang) lo0 { unit 0 { …. family iso { address ; } …. } isis { level 2 wide-metrics-only; /* OC192 to WASHng */ interface so-0/0/0.0 { level 2 metric 846; level 1 disable; } Only Level 2 IS-IS in Abilene ISO Address Configured on Loopback Interface