Intradomain Routing 2007. What is Routing? A famous quotation from RFC 791 “A name indicates what we seek. An address indicates where it is. A route indicates.

Slides:



Advertisements
Similar presentations
Routing Protocol.
Advertisements

Dynamic Routing Scalable Infrastructure Workshop, AfNOG2008.
Intradomain Topology and Routing (Nick Feamster) January 30, 2008.
Courtesy: Nick McKeown, Stanford
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—3-1 Medium-Sized Routed Network Construction Reviewing Routing Operations.
Distance-Vector and Path-Vector Routing Sections , 4.3.2, COS 461: Computer Networks Spring 2011 Mike Freedman
Traffic Engineering With Traditional IP Routing Protocols
Traffic Engineering Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
CCNA 2 v3.1 Module 6.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 17/04/2007.
Link-State Routing Reading: Sections 4.2 and COS 461: Computer Networks Spring 2011 Mike Freedman
Link-State Routing Reading: Sections 4.2 and COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Michael Freedman
Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Routing.
Spring Routing & Switching Umar Kalim Dept. of Communication Systems Engineering 06/04/2007.
Routing Protocol Pertemuan 21 Matakuliah: H0484/Jaringan Komputer Tahun: 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)
Intradomain Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
ROUTING ON THE INTERNET COSC Aug-15. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Transit Traffic Engineering Nick Feamster CS 6250: Computer Networks Fall 2011.
Routing Algorithms (Ch5 of Computer Network by A. Tanenbaum)
Chapter 7: Routing Dynamically
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 3: Routing Dynamically Routing Protocols Assist. Prof. Pongpisit.
1 Pertemuan 20 Teknik Routing Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
1 Computer Communication & Networks Lecture 22 Network Layer: Delivery, Forwarding, Routing (contd.)
Spring 2008CS 3321 Intradomain Routing Outline Algorithms Scalability.
Routing Protocols RIP, OSPF, BGP. A Routing Protocol’s Job Is to Find a “Best” Path between Any Pair of Nodes Routers in a network exchange their routing.
winter 2008 Intra-Domain Routing and TE 1 Intra-Domain Routing and Traffic Engineering Review of Internet routing paradigm and routing algorithms/protocols.
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.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 11 Unicast Routing Protocols.
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.
Routing 2 CS457 Fall 2010.
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.
Lecture 17 November 8Intra-domain routing November 13Internet routing 1 November 15Internet routing 2 November 20End-to-end protocols 1 November 22End-to-end.
Spring 2006CS 3321 Intradomain Routing Outline Algorithms Scalability.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
Routing Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by: Copyright 2009 Asia Pacific Institute of Information.
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Backbone.
IP Routing Principles. Network-Layer Protocol Operations Each router provides network layer (routing) services X Y A B C Application Presentation Session.
1 Version 3.1 Module 6 Routed & Routing Protocols.
An internet is a combination of networks connected by routers. When a datagram goes from a source to a destination, it will probably pass through many.
1 7-Jan-16 S Ward Abingdon and Witney College Dynamic Routing CCNA Exploration Semester 2 Chapter 3.
Routing and Routing Protocols PJC CCNA Semester 2 Ver. 3.0 by William Kelly.
Mike Freedman Fall 2012 COS 561: Advanced Computer Networks Traffic Engineering.
Routing Protocols Brandon Wagner.
Spring 2000CS 4611 Routing Outline Algorithms Scalability.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
Inter-domain Routing Outline Border Gateway Protocol.
Cisco 2 - Routers Perrine modified by Brierley Page 13/21/2016 Chapter 4 Module 6 Routing & Routing Protocols.
Distance Vector and Link State Routing Pragyaditya Das.
ROUTING ON THE INTERNET COSC Jun-16. Routing Protocols  routers receive and forward packets  make decisions based on knowledge of topology.
Preliminaries: EE807 Software-defined Networked Computing KyoungSoo Park Department of Electrical Engineering KAIST.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
+ Dynamic Routing Protocols 2 nd semester
Intra-Domain Routing and Traffic Engineering
Instructor Materials Chapter 5: Dynamic Routing
Routing Jennifer Rexford.
CS 457 – Lecture 12 Routing Spring 2012.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Chapter 5: Dynamic Routing
Dynamic Routing and OSPF
COS 561: Advanced Computer Networks
COS 461: Computer Networks
Presentation transcript:

Intradomain Routing 2007

What is Routing? A famous quotation from RFC 791 “A name indicates what we seek. An address indicates where it is. A route indicates how we get there.” -- Jon Postel Routing: control plane –Computing the paths the packets will follow –Routers talking amongst themselves –Individual router creating a forwarding table Forwarding: data plane –Directing a data packet to an outgoing link –Individual router using a forwarding table

Internet Structure AS-1 AS-2 AS-3 Interior router BGP router Internet organized as a two level hierarchy –First level – autonomous systems (AS ’ s) AS – region of network under a single administrative domain

Two-Tiered Internet Routing System Intradomain routing: within an AS –Shortest-path routing based on link metrics –Routers all managed by a single institution –OSPF and IS-IS: link-state routing protocol –RIP and EIGRP: distance-vector routing protocol Interdomain routing: between ASes –Routing policies based on business relationships –No common metrics, and limited cooperation –BGP: policy-based, path-vector routing protocol

Distance Vector Routing: Bellman-Ford Define distances at each node x – d x (y) = cost of least-cost path from x to y Update distances based on neighbors – d x (y) = min {c(x,v) + d v (y)} over all neighbors v u v w x y z s t d u (z) = min{c(u,v) + d v (z), c(u,w) + d w (z)} E.g., RIP and EIGRP Converge slow, due to count-to-infinity

Link-State Routing: Dijsktra’s Algorithm Each router keeps track of its incident links –Link cost, and whether the link is up or down Each router broadcasts / floods the link state –To give every router a complete view of the graph Each router runs Dijkstra’s algorithm –To compute shortest paths and forwarding table E.g., OSPF and IS-IS

Routing Protocols Link StateDistance VectorPath Vector Dissemi- nation Flood link state advertisemen ts to all routers Update distances from neighbors’ distances Update paths based on neighbors’ paths AlgorithmDijsktra’s shortest path Bellman-Ford shortest path Local policy to rank paths ConvergeFast due to flooding Slow, due to count-to- infinity Slow, due to path exploration ProtocolsOSPF, IS-ISRIP, EIGRPBGP

ARPANET Algorithm Original ARPANET Algorithm (1969) Second ARPANET Algorithm (1979) Timescale of the link metric Instantaneous queue length Averaging of the link metric over time Routing protocol Distance vector slow convergence Link state for faster convergence Update frequency Updates on every metric change Updates if change passes a threshold

Intradomain Routing Today Link-state routing with static link weights –Static weights: avoid stability problems –Link state: faster reaction to topology changes Most common protocols in backbones –OSPF: Open Shortest Path First –IS-IS: Intermediate System–Intermediate System Some use of distance vector in enterprises –RIP: Routing Information Protocol –EIGRP: Enhanced Interior Gateway Routing Protocol Growing use of Multi-Protocol Label Switching

What do Operators Worry About? Topology design –Small propagation delay and low congestion –Ability to tolerate node and link failures Convergence delay –Limiting the disruptions during topology changes –E.g., by trying to achieve faster convergence Traffic engineering –Limiting propagation delay and congestion –E.g., by carefully tuning the “static” link weights Scalable routing designs –Avoiding excessive protocol overhead –E.g., by introducing hierarchy in routing

Topology Design: Intra-AS Topology Node: router Edge: link Hub-and-spokeBackbone

Topology Design: Abilene Internet2 Backbone

Topology Design: Points-of-Presence (PoPs) Inter-PoP links –Long distances –High bandwidth Intra-PoP links –Short cables between racks or floors –Aggregated bandwidth Links to other networks –Wide range of media and bandwidth Intra-PoP Other networks Inter-PoP

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 Convergence: Detecting Topology Changes “hello”

Convergence: Transient Disruptions Inconsistent link-state database –Some routers know about failure before others –The shortest paths are no longer consistent –Can cause transient forwarding loops

Convergence: Delay for Converging Sources of convergence delay –Detection latency –Flooding of link-state information –Shortest-path computation –Creating the forwarding table Performance during convergence period –Lost packets due to blackholes and TTL expiry –Looping packets consuming resources –Out-of-order packets reaching the destination Very bad for VoIP, video, and online gaming

Convergence: Reducing Convergence Delay Faster detection –Smaller hello timers –Link-layer technologies that can detect failures Faster flooding –Flooding immediately –Sending link-state packets with high-priority Faster computation –Faster processors on the routers –Incremental Dijkstra algorithm Faster forwarding-table update –Data structures supporting incremental updates

Traffic Engineering: Tuning Link Weights Problem: congestion along the blue path –Second or third link on the path is overloaded Solution: move some traffic to bottom path –E.g., by decreasing the weight of the second link 3

Traffic Engineering: Problem Formulation Topology –Connectivity & capacity of routers & links Traffic matrix –Offered load between points in the network Link weights –Configurable parameters for the protocol Performance objective –Balanced load, low latency, service agreements Question: Given topology and traffic matrix, which link weights to use?

Traffic Engineering: Key Ingredients of Approach Instrumentation –Topology: monitoring of the routing protocols –Traffic matrix: fine-grained traffic measurement Network-wide models –Representations of topology and traffic –“What-if” models of shortest-path routing Network optimization –Efficient algorithms to find good configurations –Operational experience to identify key constraints

Scalability: Overhead of Link-State Protocols Protocol overhead depends on the topology –Bandwidth: flooding of link state advertisements –Memory: storing the link-state database –Processing: computing the shortest paths

Scalability: Improving the Scaling Properties Dijkstra’s shortest-path algorithm –Simplest version: O(N 2 ), where N is # of nodes –Better algorithms: O(L*log(N)), where L is # links –Incremental algorithms: great for small changes Timers to pace operations –Minimum time between LSAs for the same link –Minimum time between path computations More resources on the routers –Routers with more CPU and memory

Scalability: Introducing Hierarchy Through Areas Divide network into regions –Backbone (area 0) and non-backbone areas –Each area has its own link-state database –Advertise only path distances at area boundaries Area 0 Area 1 Area 2 Area 3 Area 4 area border router

Scalability: Dividing into Multiple ASes Divide the network into regions –Separate instance of link-state routing per region –Interdomain routing between regions (i.e., BGP) –Loss of visibility into differences within region North AmericaEuropeAsia

Limitations of Conventional Intradomain Routing Overhead of hop-by-hop forwarding –Large routing tables and expensive look-ups Paths depend only on the destination –Rather than differentiating by source or class Only the shortest path(s) are used –Even if a longer path has enough resources Transient disruptions during convergence –Cannot easily prepare in advance for changes Limited control over paths after failure –Depends on the link weights and remaining graph

Conclusion Two-tiered Internet routing system –Interdomain: between Autonomous Systems –Intradomain: within an Autonomous System Intradomain routing –Shortest path routing based on link metrics –Stability problems with dynamic link metrics –Link-state vs. distance-vector protocols