Backbone Networks Mike Freedman COS 461: Computer Networks

Slides:



Advertisements
Similar presentations
Multihoming and Multi-path Routing
Advertisements

BGP Policy Jennifer Rexford.
Routing Basics.
1 Interdomain Traffic Engineering with BGP By Behzad Akbari Spring 2011 These slides are based on the slides of Tim. G. Griffin (AT&T) and Shivkumar (RPI)
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Lecture 9 Overview. Hierarchical Routing scale – with 200 million destinations – can’t store all dests in routing tables! – routing table exchange would.
© J. Liebeherr, All rights reserved 1 Border Gateway Protocol This lecture is largely based on a BGP tutorial by T. Griffin from AT&T Research.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
INTERDOMAIN ROUTING POLICY COS 461: Computer Networks Spring 2010 (MW 3:00-4:20 in COS 105) Mike Freedman
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Chapter 4: Network Layer 4. 1 Introduction 4.2 Virtual circuit and datagram networks 4.3 What’s inside a router 4.4 IP: Internet Protocol –Datagram format.
Traffic Engineering With Traditional IP Routing Protocols
1 Policy-Based Path-Vector Routing Reading: Sections COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching.
INTERDOMAIN ROUTING POLICY READING: SECTIONS PLUS OPTIONAL READING COS 461: Computer Networks Spring 2009 (MW 1:30-2:50 in COS 105) Mike Freedman.
Internet Routing (COS 598A) Today: Interdomain Traffic Engineering Jennifer Rexford Tuesdays/Thursdays.
Network Monitoring for Internet Traffic Engineering Jennifer Rexford AT&T Labs – Research Florham Park, NJ 07932
14 – Inter/Intra-AS Routing
1 Interdomain Routing Policy Reading: Sections plus optional reading COS 461: Computer Networks Spring 2008 (MW 1:30-2:50 in COS 105) Jennifer Rexford.
Backbone Networks Jennifer Rexford COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Considering the Advantages of Using BGP.
Interdomain Routing Policy COS 461: Computer Networks Spring 2011 Mike Freedman 1.
Hot Potatoes Heat Up BGP Routing Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira, Aman Shaikh, and.
BGP CS168, Fall 2014 Sylvia Ratnasamy
Computer Networks Layering and Routing Dina Katabi
14 – Inter/Intra-AS Routing Network Layer Hierarchical Routing scale: with > 200 million destinations: can’t store all dest’s in routing tables!
Authors Renata Teixeira, Aman Shaikh and Jennifer Rexford(AT&T), Tim Griffin(Intel) Presenter : Farrukh Shahzad.
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network BGP Attributes and Path Selection Process.
1 Interdomain Routing (BGP) By Behzad Akbari Fall 2008 These slides are based on the slides of Ion Stoica (UCB) and Shivkumar (RPI)
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Border Gateway Protocol (BGP) W.lilakiatsakun. BGP Basics (1) BGP is the protocol which is used to make core routing decisions on the Internet It involves.
More on Internet Routing A large portion of this lecture material comes from BGP tutorial given by Philip Smith from Cisco (ftp://ftp- eng.cisco.com/pfs/seminars/APRICOT2004.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
1 Agenda for Today’s Lecture The rationale for BGP’s design –What is interdomain routing and why do we need it? –Why does BGP look the way it does? How.
Michael Schapira, Princeton University Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks
14 – Inter/Intra-AS Routing
Working at a Small-to-Medium Business or ISP – Chapter 6
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
CS4470 Computer Networking Protocols
COS 561: Advanced Computer Networks
BGP supplement Abhigyan Sharma.
Interdomain Traffic Engineering with BGP
Introduction to Internet Routing
Lixin Gao ECE Dept. UMASS, Amherst
Routing.
Cours BGP-MPLS-IPV6-QOS
COS 561: Advanced Computer Networks
Routers Routing algorithms
Dynamic Routing and OSPF
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
BGP Policies Jennifer Rexford
COS 461: Computer Networks Spring 2014
Working at a Small-to-Medium Business or ISP – Chapter 6
COMP/ELEC 429/556 Introduction to Computer Networks
COS 461: Computer Networks
CMPE 252A : Computer Networks
COS 561: Advanced Computer Networks
BGP Instability Jennifer Rexford
Computer Networks Protocols
Routing.
Network Layer: Internet Inter-Domain Routing
Traffic Engineering for ISP Networks
Presentation transcript:

Backbone Networks Mike Freedman COS 461: Computer Networks Lectures: MW 10-10:50am in Architecture N101 http://www.cs.princeton.edu/courses/archive/spr13/cos461/

Networking Case Studies Datacenter Backbone Enterprise Cellular Wireless

Backbone Topology

Backbone Networks Backbone networks Multiple Points-of-Presence (PoPs) Lots of communication between PoPs Accommodate traffic demands and limit delay

Abilene Internet2 Backbone

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 Inter-PoP Intra-PoP Other networks

Where to Locate Nodes and Links Placing Points-of-Presence (PoPs) Large population of potential customers Other providers or exchange points Cost and availability of real-estate Mostly in major metropolitan areas (“NFL cities”) Placing links between PoPs Already fiber in the ground Needed to limit propagation delay Needed to handle the traffic load

Peering Exchange traffic between customers Diverse peering locations Customer B Exchange traffic between customers Settlement-free Diverse peering locations Both coasts, and middle Comparable capacity at all peering points Can handle even load Provider B multiple peering points Provider A Customer A

Combining Intradomain and Interdomain Routing

Intradomain Routing Compute shortest paths between routers F 4 5 3 9 10 8 Compute shortest paths between routers Router C takes path C-F-A to router A Using link-state routing protocols E.g., OSPF, IS-IS

Interdomain Routing Learn paths to remote destinations AT&T learns two paths to Yale Applies local policies to select a best route Sprint AT&T Tier-2 Tier-3 Yale

An AS is Not a Single Node Multiple routers in an AS Need to distribute BGP information within the AS Internal BGP (iBGP) sessions between routers AS1 eBGP iBGP AS2

Internal BGP and Local Preference Both routers prefer path through AS 100 … even though right router learns external path AS 200 AS 100 AS 300 Local Pref = 100 Local Pref = 90 AS 256 I-BGP

Hot-Potato (Early-Exit) Routing Hot-potato routing Each router selects the closest egress point … based on the path cost in intradomain protocol BGP decision process Highest local preference Shortest AS path Closest egress point Arbitrary tie break A B C D G E F 4 5 3 9 10 8 dst

Hot-Potato Routing Selfish routing Asymmetric routing Customer B Selfish routing Each provider dumps traffic on the other As early as possible Asymmetric routing Traffic does not flow on same path in both directions Provider B multiple peering points Early-exit routing Provider A Customer A

Joining BGP and IGP Information Border Gateway Protocol (BGP) Announces reachability to external destinations Maps a destination prefix to an egress point 128.112.0.0/16 reached via 192.0.2.1 Interior Gateway Protocol (IGP) Used to compute paths within the AS Maps an egress point to an outgoing link 192.0.2.1 reached via 10.1.1.1 10.1.1.1 192.0.2.1

Joining BGP with IGP Information 128.112.0.0/16 Next Hop = 192.0.2.1 128.112.0.0/16 10.10.10.10 192.0.2.1 AS 7018 AS 88 IGP destination next hop (A) True (B) False The FIB of internal routers are of size O(all dest prefixes known to ISP) The FIB of internal routers point to border router to neighbor ISP 192.0.2.0/30 10.10.10.10 Questions: FIB of size: TRUE Point to neighbor ISP: False (point to next hop internal router) + BGP 192.0.2.1 128.112.0.0/16 destination next hop

Joining BGP with IGP Information 128.112.0.0/16 Next Hop = 192.0.2.1 128.112.0.0/16 10.10.10.10 192.0.2.1 AS 7018 AS 88 IGP destination next hop 192.0.2.0/30 10.10.10.10 Forwarding Table 128.112.0.0/16 destination next hop 10.10.10.10 192.0.2.0/30 + BGP 192.0.2.1 128.112.0.0/16 destination next hop

Interdomain Routing Policy

Selecting a Best Path Routing Information Base BGP decision process Store all BGP routes for each destination prefix Withdrawal: remove the route entry Announcement: update the route entry BGP decision process Highest local preference Shortest AS path Closest egress point Arbitrary tie break

Import Policy: Local Preference Favor one path over another Override the influence of AS path length Example: prefer customer over peer Local-pref = 90 Sprint AT&T Local-pref = 100 Tier-2 Tier-3 Yale

Import Policy: Filtering Discard some route announcements Detect configuration mistakes and attacks Examples on session to a customer Discard route if prefix not owned by the customer Discard route with other large ISP in the AS path AT&T USLEC Princeton 128.112.0.0/16

Export Policy: Filtering Discard some route announcements Limit propagation of routing information Examples Don’t announce routes from one peer to another Don’t announce routes for management hosts Sprint UUNET AT&T network operator Princeton 128.112.0.0/16

Export Policy: Attribute Manipulation Modify attributes of the active route To influence the way other ASes behave Example: AS prepending Artificially inflate AS path length seen by others Convince some ASes to send traffic another way AT&T Sprint USLEC 88 88 88 Princeton 128.112.0.0/16

Business Relationships Common relationships Customer-provider Peer-peer Backup, sibling, … ISP terminology: Tier-1 (~15 worldwide): No settlement or transit Tier-2 ISPs: Widespread peering, still buy transit Policies implementing in BGP, e.g., Import: Ranking customer routes over peer routes Export: Export only customer routes to peers and providers

BGP Policy Tier 1 ISPs? U, W U, X X, Y, Z Which path may packets take (given commercial policies)? Red Blue Green Orange   Tier 1: UW (no providers) Which paths: Orange

BGP Policy Configuration Routing policy languages are vendor-specific Not part of the BGP protocol specification Different languages for Cisco, Juniper, etc. Still, all languages have some key features List of clauses matching on route attributes … and discarding or modifying the matching routes Configuration done by human operators Implementing the policies of their AS Business relationships, traffic engineering, security

Backbone Traffic Engineering

Routing With “Static” Link Weights Routers flood information to learn topology Determine “next hop” to reach other routers… Compute shortest paths based on link weights Link weights configured by network operator 3 2 1 4 5

Setting the Link Weights How to set the weights Inversely proportional to link capacity? Proportional to propagation delay? Network-wide optimization based on traffic? 2 1 3 1 3 2 3 1 5 4 3

Measure, Model, and Control Network-wide “what if” model Topology/ Configuration Offered traffic Changes to the network measure control Operational network

Limitations of Shortest-Path Routing Sub-optimal traffic engineering Restricted to paths expressible as link weights Limited use of multiple paths Only equal-cost multi-path, with even splitting Disruptions when changing the link weights Transient packet loss and delay, and out-of-order Slow adaptation to congestion Network-wide re-optimization and configuration Overhead of the management system

Constrained Shortest Path First Run a link-state routing protocol Configurable link weights Plus other metrics like available bandwidth Constrained shortest-path computation Prune unwanted links (e.g., not enough bw) Compute shortest path on the remaining graph 5, bw=10 s d 3, bw=80 5 bw=70 6, bw=60

Constrained Shortest Path First 5, bw=10 Signal along the path Source router sends msg to pin path to dest Revisit decisions periodically, in case better options exist s d 3, bw=80 5 bw=70 6, bw=60 1: 7: 20 2: 7: 53 20: 14: 78 53: 8: 42 link 7 1 link 14 2 link 8

Challenges for Backbone Networks

Challenges Routing protocol scalability Fast failover Thousands of routers Hundreds of thousands of address blocks Fast failover Slow convergence disrupts user performance Backup paths for faster recovery E.g., backup path around a failed link

Challenges Router configuration Measurement Adding customers, planned maintenance, traffic engineering, access control, … Manual configuration is very error prone Measurement Measuring traffic, performance, routing, etc. To detect attacks, outages, and anomalies To drive traffic-engineering decisions

Challenges Diagnosing performance problems Security New services Incomplete control and visibility Combining measurement data Security Defensive packet and route filtering Detecting and blocking denial-of-service attacks DNS security, detecting and blocking spam, etc. New services IPv6, IPTV, …

Conclusions Backbone networks Routing challenges Transit service for customers Glue that holds the Internet together Routing challenges Interdomain routing policy Intradomain traffic engineering