Stable Internet Routing Without Global Coordination Jennifer Rexford Princeton University Joint work with Lixin Gao,

Slides:



Advertisements
Similar presentations
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)
Advertisements

© 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.
Does BGP Solve the Shortest Paths Problem? Timothy G. Griffin Joint work with Bruce Shepherd and Gordon Wilfong Bell Laboratories, Lucent Technologies.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 Interdomain Routing and Games Hagay Levin, Michael Schapira and Aviv Zohar The Hebrew University.
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.
Towards a Logic for Wide-Area Internet Routing Nick Feamster and Hari Balakrishnan M.I.T. Computer Science and Artificial Intelligence Laboratory Kunal.
Neighbor-Specific BGP (NS-BGP): More Flexible Routing Policies While Improving Global Stability Yi Wang, Jennifer Rexford Princeton University Michael.
Announcement  Slides and reference materials available at  Slides and reference materials available.
Part II: Inter-domain Routing Policies. March 8, What is routing policy? ISP1 ISP4ISP3 Cust1Cust2 ISP2 traffic Connectivity DOES NOT imply reachability!
Putting BGP on the Right Path: A Case for Next-Hop Routing Michael Schapira (Yale University and UC Berkeley) Joint work with Yaping Zhu and Jennifer Rexford.
Distributed Route Aggregation on the Global Network (DRAGON) João Luís Sobrinho 1 Laurent Vanbever 2, Franck Le 3, Jennifer Rexford 2 1 Instituto Telecomunicações,
Can Economic Incentives Make the ‘Net Work? Jennifer Rexford Princeton University
Game Theoretic and Economic Perspectives on Interdomain Routing Michael Schapira Yale University and UC Berkeley.
BGP Safety with Spurious Updates Martin Suchara in collaboration with: Alex Fabrikant and Jennifer Rexford IEEE INFOCOM April 14, 2011.
Traffic Engineering With Traditional IP Routing Protocols
1 Tutorial 5 Safe “Peering Backup” Routing With BGP Based on:
1 BGP Security -- Zhen Wu. 2 Schedule Tuesday –BGP Background –" Detection of Invalid Routing Announcement in the Internet" –Open Discussions Thursday.
Tutorial 5 Safe Routing With BGP Based on: Internet.
Mini Introduction to BGP Michalis Faloutsos. What Is BGP?  Border Gateway Protocol BGP-4  The de-facto interdomain routing protocol  BGP enables policy.
Internet Networking Spring 2004 Tutorial 5 Safe “Peering Backup” Routing With BGP.
MIRED: Managing IP Routing is Extremely Difficult Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
Stable Internet Routing Without Global Coordination Jennifer Rexford Princeton University Joint work with Lixin Gao (UMass-Amherst)
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
Interdomain Routing Establish routes between autonomous systems (ASes). Currently done with the Border Gateway Protocol (BGP). AT&T Qwest Comcast Verizon.
Internet Routing (COS 598A) Today: Interdomain Traffic Engineering Jennifer Rexford Tuesdays/Thursdays.
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
A Routing Control Platform for Managing IP Networks Jennifer Rexford Princeton University
Economic Incentives in Internet Routing Jennifer Rexford Princeton University
Network Monitoring for Internet Traffic Engineering Jennifer Rexford AT&T Labs – Research Florham Park, NJ 07932
Stable Internet Routing Without Global Coordination Jennifer Rexford AT&T Labs--Research
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.
Stable Internet Routing Without Global Coordination Jennifer Rexford AT&T Labs--Research
Stable Internet Routing Without Global Coordination Jennifer Rexford AT&T Labs--Research Joint work with Lixin Gao.
Interdomain Routing and the Border Gateway Protocol (BGP) Reading: Section COS 461: Computer Networks Spring 2011 Mike Freedman
Building a Strong Foundation for a Future Internet Jennifer Rexford ’91 Computer Science Department (and Electrical Engineering and the Center for IT Policy)
1 ECE453 – Introduction to Computer Networks Lecture 10 – Network Layer (Routing II)
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
Impact of Prefix Hijacking on Payments of Providers Pradeep Bangera and Sergey Gorinsky Institute IMDEA Networks, Madrid, Spain Developing the Science.
Egress Route Selection for Interdomain Traffic Engineering Design considerations beyond BGP.
9/15/2015CS622 - MIRO Presentation1 Wen Xu and Jennifer Rexford Department of Computer Science Princeton University Chuck Short CS622 Dr. C. Edward Chow.
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.
1 Cabo: Concurrent Architectures are Better than One Jennifer Rexford Princeton University Joint work with Nick Feamster.
How Secure are Secure Inter- Domain Routing Protocols? SIGCOMM 2010 Presenter: kcir.
Lecture 4: BGP Presentations Lab information H/W update.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
Chapter 9. Implementing Scalability Features in Your Internetwork.
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.
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
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
CSci5221: BGP Policies1 Inter-Domain Routing: BGP, Routing Policies, etc. BGP Path Selection and Policy Routing Stable Path Problem and Policy Conflicts.
Constructing Inter-Domain Packet Filters to Control IP Spoofing Based on BGP Updates Zhenhai Duan, Xin Yuan Department of Computer Science Florida State.
1 Internet Routing: BGP Routing Convergence Jennifer Rexford Princeton University
1 Internet Routing 4/12/2012. Admin. r Exam 2 date: m Wednesday, May 2 at 2:00 p.m. m If you want to take the exam in another day (e.g. due to travel),
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
COS 561: Advanced Computer Networks
Interdomain Traffic Engineering with BGP
Introduction to Internet Routing
Can Economic Incentives Make the ‘Net Work?
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
BGP Policies Jennifer Rexford
COS 461: Computer Networks
COS 561: Advanced Computer Networks
Fixing the Internet: Think Locally, Impact Globally
BGP Instability Jennifer Rexford
Presentation transcript:

Stable Internet Routing Without Global Coordination Jennifer Rexford Princeton University Joint work with Lixin Gao, Michael Schapira, and Yi Wang

What is an Internet?  A “network of networks” –Networks run by different institutions  Autonomous System (AS) –Collection of routers run by a single institution  ASes have different goals –Different views of which paths are good  Interdomain routing is what reconciles those views –To compute end-to-end paths through the Internet Wonderful problem setting for game theory and mechanism design

An Open Question Can we have all three? Under what conditions? Evolvable Protocols (under-specified, programmable) Autonomy (autonomous parties, with different economic objectives) Global Properties (stability, scalability, reliability, security, managability, …) ?

Autonomous Systems (ASes) Client Web server Path: 6, 5, 4, 3, 2, 1

Interdomain Routing: Border Gateway Protocol  ASes exchange info about who they can reach –Destination: block of IP addresses (an “IP prefix”) –AS path: sequence of ASes along the path  Policies configured by the AS’s network operator –Path selection: which of the paths to use? –Path export: which neighbors to tell? 1 23 d “I can reach d” “I can reach d via AS 1” data traffic

Interdomain Routing Convergence Challenges  Must scale –Address blocks: 300,000 and growing –Autonomous Systems: around 35,000  Must support flexible policy –Path selection: which path your AS wants to use –Path export: who can send packets through your AS  Must converge, and quickly –Routing convergence can take several minutes –… and the system doesn’t necessarily converge at all! Goal: Guaranteed convergence of the global routing system with purely local control.

Stable Paths Problem (SPP) Model  Model of routing policy –Each AS has a ranking of the permissible paths  Model of path selection –Pick the highest-ranked path consistent with neighbors  Flexibility is not free –Global system converges slowly, or not at all –Depending on the way the ASes rank their paths 1 2 d 1 d 2 3 d 2 d 3 1 d 3 d d

Conflicting Policies Cause Convergence Problems Pick the highest-ranked path consistent with your neighbors’ choices. Only choice! Top choice! Only choice! Better choice! Only choice! Better choice!

Global Control is Not Workable  Create a global Internet routing registry –Keeping the registry up-to-date would be difficult  Require each AS to publish its routing policies –ASes may be unwilling to reveal BGP policies  Check for conflicting policies, and resolve conflicts –Checking for convergence problems is NP-complete –Link/router failure may result in an unstable system Need a solution that does not require global coordination.

Think Globally, Act Locally  Key features of a good solution –Flexibility: allow diverse local policies for each AS –Privacy: do not force ASes to divulge their policies –Backwards-compatibility: no changes to BGP –Guarantees: convergence even when system changes  Restrictions based on AS relationships –Path selection rules: which route you prefer –Export policies: who you tell about your route –AS graph structure: who is connected to who

Customer-Provider Relationship  Customer pays provider for access to the Internet –Provider exports its customer’s routes to everybody –Customer exports provider’s routes only to downstream customers d d provider customer provider Traffic to the customerTraffic from the customer advertisements traffic

Peer-Peer Relationship  Peers exchange traffic between their customers –AS exports only customer routes to a peer –AS exports a peer’s routes only to its customers peer Traffic to/from the peer and its customers d advertisements traffic

Hierarchical AS Relationships  Provider-customer graph is a directed, acyclic graph –If u is a customer of v and v is a customer of w –… then w is not a customer of u u v w

Valid and Invalid Paths d Provider-Customer Peer-Peer Valid paths: “1 2 d” and “7 d” Invalid path: “5 8 d” Valid paths: “6 4 3 d” and “8 5 d” Invalid paths: “6 5 d” and “1 4 3 d”

Act Locally, Prove Globally  Route export –Do not export routes learned from a peer or provider –… to another peer or provider  Global topology –Provider-customer relationship graph is acyclic –E.g., my customer’s customer is not my provider  Route selection –Prefer routes through customers –… over routes through peers and providers  Guaranteed to converge to unique, stable solution

Our Local Path Selection Rules  Classify routes based on next-hop AS –Customer routes, peer routes, and provider routes  Rank routes based on classification –Prefer customer routes over peer and provider routes  Allow any ranking of routes within a class –E.g., can rank one customer route higher than another –Gives network operators the flexibility they need  Consistent with traffic engineering practices –Customers pay for service, and providers are paid –Peer relationship contingent on balanced traffic load

Solving the Convergence Problem  Result –Safety: guaranteed convergence to unique stable solution –Inherent safety: holds under failures and policy changes  Definitions –System state: current best route at each AS –Activating AS: re-do decision based on neighbor choices  Sketch of (constructive) proof –Find an activation sequence that leads to a stable state –Any “fair” sequence (eventually) includes this sequence

Rough Sketch of the Proof  Two phases –Walking up the customer-provider hierarchy –Walking down the provider-customer hierarchy d Provider-Customer Peer-Peer

Economic Incentives Affect Protocol Behavior  ASes already follow our rules, so system is stable –High-level argument »Export and topology assumptions are reasonable »Path selection rule matches with financial incentives –Empirical results »BGP routes for popular destinations are stable for ~10 days »Most instability from failure/recovery of a few destinations  ASes should follow our rules to make system stable –Need to encourage operators to obey these guidelines –… and provide ways to verify the network configuration –Need to consider more complex relationships and graphs

Playing One Condition Off Against Another  All three conditions are important –Path ranking, export policy, and graph structure  Allowing more flexibility in ranking routes –Allow same preference for peer and customer routes –Never choose a peer route over a shorter customer route  … at the expense of stricter AS graph assumptions –Hierarchical provider-customer relationship (as before) –No private peering with (direct or indirect) providers Peer-peer

Extension to Backup Relationships  Backups: more liberal export policies, and different ranking –The motivation is increased reliability –…but ironically it may cause routing instability!  Generalize rule: prefer routes with fewest backup links –Need to maintain a count of the # of backup links in the path backup path primary provider backup provider failure Backup Provider backup path failure peer provider Peer-Peer Backup [RFC 1998]

Results Hold Under More Complex Scenarios  Complex AS relationships –AS pair with different relationship for different prefixes –AS pair with both a backup and a peer relationships –AS providing transit service between two peer ASes  Stability under changing AS relationships –Customer-provider to/from peer-peer –Customer-provider to/from provider-customer

Extensions of the Work  Influence of AS relationships on BGP convergence –Algebraic framework and design principles for policy languages –Fundamental limits on relaxing the assumptions  Application of the idea to internal BGP inside an AS –Sufficient conditions for iBGP convergence inside an AS –“What-if” tool for traffic engineering inside an AS  AS-level analysis of the Internet topology –Inference of AS relationships and policies from routing data –Characterization of AS-level topology and growth  Practical applications of knowing AS relationships –Analyzing your competitors’ business relationships –Identifying BGP routes that violate export conditions

A Case For Customized Route Selection  ISPs usually have multiple paths to the destination  Different paths have different properties  Different neighbors may prefer different routes Bank VoIP provider School Most secure Shortest latency Lowest cost

Neighbor-Specific Route Selection  A node has a ranking function per neighbor is node i’s ranking function for neighbor node j.

Stability Conditions for NS-BGP  Surprisingly, NS-BGP improves stability! –Neighbor-specific selection is more flexible –Yet, requires less restrictive stability conditions  “Prefer customer” assumption is not needed –Choose any “permissible” route per neighbor  That is, need just two assumptions –No cycle of provider-customer relationships –Do not export routes learned from one peer/provider to other peers/providers

Why Do Weaker Conditions Work?  An AS always tells its neighbor a route –If it has any route that is permissible for that neighbor

Deploying NS-BGP  An AS can deploy NS-BGP alone –Without upgrading their routers –Without coordinating with all their neighbors  Three aspects to the solution –Disseminating extra BGP routes –Customized route selection –Directing traffic from ingress to egress  Can be done exploiting existing mechanisms –Designed for Virtual Private Networks (VPNs)

Disseminating Extra BGP Routes  Advertising more than one BGP route –Route distinguisher feature for VPNs –Multiple internal BGP sessions –ADD-PATHs extensions to internal BGP

Customized Route Selection  Multiple virtual routing and forwarding tables –Cisco: Virtual Routing and Forwarding (VRF) –Juniper: Virtual Router D: (red path): R6 D: (blue path): R7 R3’s forwarding table (FIB) entries

Directing Traffic from Ingress to Egress  Tunnels from ingress to egress –IP-in-IP tunneling –MPLS ?

Customized Route Selection  Customized route selection as a service –Select a different best route for different neighbors  Different menu options –Cheapest route (e.g., “prefer customer”) –Best performing routes, or most secure routes –Routes that avoid undesirable ASes (e.g., censorship)  Nice practical features of NS-BGP –An individual AS can deploy NS-BGP alone –… without compromising global stability!

Conclusions  Avoiding convergence problems –Hierarchical of provider-customer relationships –Export policies based on commercial relationships –(Path ranking based on AS relationships)  Salient features –No global coordination (locally implementable) –No changes to BGP protocol or decision process –Guaranteed convergence, even under failures –Guidelines consistent with financial incentives

References Related to This Talk  “The stable paths problem and interdomain routing” –Tim Griffin, Bruce Shepherd, and Gordon Wilfong –  “Stable Internet routing without global coordination” –Lixin Gao and Jennifer Rexford –  “Inherently Safe Backup Routing with BGP” –Lixin Gao, Tim Griffin, and Jennifer Rexford –  “Neighbor-Specific BGP: More flexible routing policies while improving global stability” –Yi Wang, Michael Schapira, and Jennifer Rexford –

Other Related Research Papers  Inherently Safe Backup Routing with BGP –  Design Principles of Policy Languages for Path Vector Protocols –  Implications of Autonomy for the Expressiveness of Policy Routing –  Meta-routing –  An Algebraic Theory of Interdomain Routing –  Searching for Stability In Interdomain Routing –

36 Related Papers With Game Theory  Interdomain Routing and Games –  Rationality and Traffic Attraction: Incentives for Honest Path Announcements in BGP –  Incentive-Compatible Interdomain Routing –  Mechanism Design for Policy Routing –  The Complexity of Game Dynamics: BGP Oscillations, Sink Equlibria, and Beyond –  Specification Faithfulness in Networks with Rational Nodes –  Distributed Algorithmic Mechanism Design –  Partially Optimal Routing –

37 Background on Interdomain Economics     cisco_ipj_archive_article09186a00800c83a5.html cisco_ipj_archive_article09186a00800c83a5.html  cisco_ipj_archive_article09186a00800c8900.html cisco_ipj_archive_article09186a00800c8900.html 