CSE 561 Lecture 6, Spring David Wetherall

Similar documents
CSE 222 Graduate Networking

Lecture 18: Border Gateway Protocol

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Lecture 17: Border Gateway Protocol

Lecture 16: Border Gateway Protocol

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

Inter-Domain Routing: BGP II

Inter-Domain Routing: BGP II

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Service Provider Multihoming

Service Provider Multihoming

CSE/EE 461 Lecture 11. Inter-domain Routing. This Lecture. Structure of the Internet. Focus How do we make routing scale?

Inter-Domain Routing: BGP

Service Provider Multihoming

IP Addressing & Interdomain Routing. Next Topic

TELE 301 Network Management

Dynamics of Hot-Potato Routing in IP Networks

Service Provider Multihoming

CSE 461 Interdomain routing. David Wetherall

Multihoming Complex Cases & Caveats

Internet Routing Protocols Lecture 03 Inter-domain Routing

Advanced Multihoming. BGP Traffic Engineering

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Border Gateway Protocol (an introduction) Karst Koymans. Tuesday, March 8, 2016

PART III. Implementing Inter-Network Relationships with BGP

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

COMP/ELEC 429 Introduction to Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Lecture 17: Router Design

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca

Master Course Computer Networks IN2097

Internet Routing Protocols Lecture 01 & 02

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Inter-Domain Routing: BGP

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Interdomain Routing. EE122 Fall 2011 Scott Shenker

Internet Routing : Fundamentals of Computer Networks Bill Nace

Connecting to a Service Provider Using External BGP

Routing Basics. Campus Network Design & Operations Workshop

How the Internet works? The Border Gateway Protocol (BGP)

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

CS BGP v4. Fall 2014

Master Course Computer Networks IN2097

Backbone Networks. Networking Case Studies. Backbone Networks. Backbone Topology. Mike Freedman COS 461: Computer Networks.

CSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics

BGP Case Studies. ISP Workshops

Some Foundational Problems in Interdomain Routing

Lecture 19: Network Layer Routing in the Internet

Interdomain Routing. Networked Systems (H) Lecture 11

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

Configuring BGP on Cisco Routers Volume 1

internet technologies and standards

What is an Internet exchange Point (IXP)?

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing

Professor Yashar Ganjali Department of Computer Science University of Toronto.

Inter-Autonomous-System Routing: Border Gateway Protocol

Ravi Chandra cisco Systems Cisco Systems Confidential

Internet Measurements. Motivation

BGP Attributes and Path Selection

BGP. Inter-domain routing with the Border Gateway Protocol. Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007

Shim6: Network Operator Concerns. Jason Schiller Senior Internet Network Engineer IP Core Infrastructure Engineering UUNET / MCI

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9,

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

BGP Routing inside an AS

Interdomain Routing. EE122 Fall 2012 Scott Shenker

Unit 3: Dynamic Routing

BGP. Border Gateway Protocol A short introduction. Karst Koymans. Informatics Institute University of Amsterdam. (version 18.3, 2018/12/03 13:53:22)

Routing. Jens A Andersson Communication Systems

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08)

ISPs, Backbones and Peering

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

L11 : Inter-domain Routing with BGP Lecture14 Michaelmas, 2016

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Network Layer (Routing)

CS Networks and Distributed Systems. Lecture 8: Inter Domain Routing

INTERDOMAIN ROUTING POLICY READING: SECTIONS PLUS OPTIONAL READING

Internet inter-as routing: BGP

Introduc)on to Computer Networks

Advanced Computer Networks

Routing Unicast routing protocols

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

INTERDOMAIN ROUTING POLICY

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Peering THINK. A Guide

Inter-Autonomous-System Routing: Border Gateway Protocol

Routing Basics. ISP Workshops

BGP made easy. John van Oppen Spectrum Networks / AS11404

Routing Basics. ISP Workshops. Last updated 10 th December 2015

Transcription:

Inter-domain Routing CSE 561 Lecture 6, Spring 2002. David Wetherall Overview Inter-domain routing BGP mechanics of route selection ISP policy considerations Traffic engineering Intra-ISP: ARPANET dynamic metrics (Khanna & Zinky) Traffic demand models and static costs Circuits and MPLS Inter-ISP AS pre-pending, MEDs, community signaling (complex) Credit and thanks to Tim Griffin for slide material. djw // CSE 561, Spring 2002, with credit to savage L6.2 1

Mechanism: Important BGP attributes Associated with an announcement and used as part of the route selection process Local pref: Statically configured ranking of routes within AS AS path: ASNs the announcement traversed Origin: RoutecamefromIGPorEGP Multi Exit Discriminator: preference for where to exit Community: opaque data used for inter-isp policy Next-hop: where the route was heard from djw // CSE 561, Spring 2002, with credit to savage L6.3 Example: local pref Local preference only used in ibgp AS 4 local pref = 80 AS 5 local pref = 90 AS 3 local pref = 100 Higher Local preference values are more preferred AS 2 AS 1 13.13.0.0/16 L6.4 2

Example: AS Path Shorter AS Paths are More preferred AS701 UUnet 128.2/16 9 AS9 CMU (128.2/16) AS7018 AT&T 128.2/16 9 128.2/16 9 701 128.2/16 9 7018 1239 128.2/16 9 7018 AS73 AS1239 Univ of Wash Sprint djw // CSE 561, Spring 2002, with credit to savage L6.5 Shortest AS path doesn t mean best path Mr. BGP says that path 4 1 is better than path 3 2 1 AS 3 AS 4 AS 2 AS 1 djw // CSE 561, Spring 2002, with credit to savage L6.6 3

Example: Using IGP cost for Hot potato (early-exit) routing 192.44.78.0/24 egress 1 egress 2 15 56 IGP distances This Router has two BGP routes to 192.44.78.0/24. Hot potato: get traffic off of your network as Soon as possible. Go for egress 1! L6.7 Problems with hot potato High bandwidth Provider backbone 2865 17 Heavy Content Web Farm SFF NYC Low bandwidth customer backbone 15 56 San Diego Many customers want their provider to carry the bits! tiny http request huge http reply L6.8 4

BGP Decision process Default decision for route selection Highest local pref, shortest AS path, lowest MED, prefer ebgp over ibgp, lowest IGP cost, router id Many policies built on default decision process, but Possible to create arbitrary policies Any criteria: BGP attributes, source address, port # is prime, Can have separate policy for inbound routes, installed routes and outbound routes Limited only by power of vendor-specific routing language Try to influence decision process at other ASs AS padding, MEDs, Communities More specific routes djw // CSE 561, Spring 2002, with credit to savage L6.9 BGP+policy is not shortest path Measured round-trip times between sites Pythagoras would have wept (Times in milliseconds) djw // CSE 561, Spring 2002, with credit to savage L6.10 5

General Problems w/bgp Instability Route flapping Long AS-path decision criteria defaults to DV-like behavior (bouncing) Not guaranteed to converge, NP-hard to tell if it does Scalability ~100,000 network prefixes in default-free table today Tension: Want to manage traffic to very specific networks (eg. multihomed content providers) but also want to aggregate information. djw // CSE 561, Spring 2002, with credit to savage L6.11 Routing policy So far we ve discussed mechanism How and why are basic routing policies decided? djw // CSE 561, Spring 2002, with credit to savage L6.12 6

History First policies for political reasons NSFnet AUP (even today Internet2) Emergence of commercial policies 1994-1995 NSFnet transition NSF ceases to run Internet backbone Commercial carrier (MCI, Sprint, ANS) start selling IP backbone service Interconnected with each other and regional networks at several public NAPs Everyone talks to everyone Then five years went by djw // CSE 561, Spring 2002, with credit to savage L6.13 Background Settlement The telephone world LECs (local exchange carriers) IXCs (inter-exchange carriers) LECs MUST provide IXCs access to customers; regulation When a call goes from one phone company to another: Call billed to the caller The money is split up among the phone systems this is called settlement djw // CSE 561, Spring 2002, with credit to savage L6.14 7

On the Internet No regulation One ISP doesn t have to talk to another Founded on shared goodwill Pay for connectivity, not per packet Not clear who should pay anyway No standard settlement djw // CSE 561, Spring 2002, with credit to savage L6.15 Peering vs Transit Peering Two ISPs provide connectivity to each others customers (traditionally for free) Non-transitive relationship Transit One ISP provides connectivity to every place it knows about (usually for money) djw // CSE 561, Spring 2002, with credit to savage L6.16 8

Example: peering Peering Peering WestNet USNet EastNet Routing Table s djw // CSE 561, Spring 2002, with credit to savage L6.17 Example: transit By EastNet purchasing transit, Eastnet is announced by USNet to USNet peering and transit interconnections alike. WestNet USNet EastNet Peering Transit djw // CSE 561, Spring 2002, with credit to savage L6.18 9

The value of transit Not just paying for the fiber, but the connectivity Remember, there is no single backbone If you re an ISP, how do your customers get to yahoo.com? Means big ISPs have more value to offer small ISPs than vice-versa djw // CSE 561, Spring 2002, with credit to savage L6.19 The value of transit (2) Thousands of other Int l ISPs WestNet USNet EastNet Peering Transit The entire Internet as known by USNet djw // CSE 561, Spring 2002, with credit to savage L6.20 10

Aside Peering and transit are really two popular points on a continuum Some places sell partial transit Other places sell usage-based peering Principle issue is: Which routes do you give away and which do you sell? To whom? Under what conditions? djw // CSE 561, Spring 2002, with credit to savage L6.21 Terminology 101: What s a Tier-1 ISP? Simplistic definition: ISPbigenoughthattheydon thavetobuytransit AT&T,Sprint,Uunet,Genuity,etc. Tier-2 buy transit from Tier-1, etc. Increasingly worthless terms Everyone claims to be Tier-1 More complicated forms of settlement Leverage depends on business model djw // CSE 561, Spring 2002, with credit to savage L6.22 11

Terminology 101: Public vs private peering Public peering Connection via shared switch or network at public exchange point (place anyone can be if they pay money) Still negotiated bilaterally Private peering Private point-to-point link between peers djw // CSE 561, Spring 2002, with credit to savage L6.23 Why peer? Transit is very expensive Was $150,000 for an OC3 (155Mbps) transit link Peering with other ISPs can reduce the amount of traffic sent on transit link Also lower latency? Communication patterns aren t uniform More of your traffic is exchanged with some networks than others Try to peer with other ISPs whose customers exchange traffic frequently with your customers djw // CSE 561, Spring 2002, with credit to savage L6.24 12

Why not peer? Traffic asymmetry More traffic goes one way than the other Peer who carries more traffic feels cheated Hassle Top tier (big) ISPs have no interest in helping lower tier ISPs compete The Big Boys all peer with each other at no/little cost Harder to deal with problems without strong financial incentive djw // CSE 561, Spring 2002, with credit to savage L6.25 How to interconnect? Direct connection Cost of circuit lease ($$$) Exchange-based interconnect Exchange: place that houses equipment from multiple networks to exchange traffic If you both already have equipment in the same building somewhere, then just run a cable between your machines (cheap) Neutral exchanges vs affiliated exchanges djw // CSE 561, Spring 2002, with credit to savage L6.26 13

Summary Interdomain-routing Exchange reachability information (plus hints) Local policy to decide which path to follow Traffic exchange policies are a big issue $$$ Complicated by lack of compelling economic model (who creates value?) VeryhardtobeasmallISP Business issues can have serious operational/performance impact on the Internet djw // CSE 561, Spring 2002, with credit to savage L6.27 Discussion Competition and incentives What policy knobs to we need? Implicit trust issues in transit routes Will X really get my packets to Y who isn t X s customer? What if someone lies? djw // CSE 561, Spring 2002, with credit to savage L6.28 14