Controlling the Impact of BGP Policy Changes on IP Traffic Jennifer Rexford IP Network Management and Performance AT&T Labs – Research; Florham Park, NJ.

Slides:



Advertisements
Similar presentations
Multihoming and Multi-path Routing
Advertisements

Multihoming and Multi-path Routing
Multihoming and Multi-path Routing CS 7260 Nick Feamster January
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)
1 EL736 Communications Networks II: Design and Algorithms Class3: Network Design Modeling Yong Liu 09/19/2007.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
Border Gateway Protocol Autonomous Systems and Interdomain Routing (Exterior Gateway Protocol EGP)
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 Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Traffic Engineering With Traditional IP Routing Protocols
Practical and Configuration issues of BGP and Policy routing Cameron Harvey Simon Fraser University.
1 Adapting Routing to the Traffic COS 461: Computer Networks Spring 2006 (MW 1:30-2:50 in Friend 109) Jennifer Rexford Teaching Assistant: Mike Wawrzoniak.
Traffic Engineering Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
1 Traffic Engineering for ISP Networks Jennifer Rexford IP Network Management and Performance AT&T Labs - Research; Florham Park, NJ
Traffic Engineering in IP Networks Jennifer Rexford Computer Science Department Princeton University; Princeton, NJ
The Border Gateway Protocol (BGP) Sharad Jaiswal.
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.
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
MIRED: Managing IP Routing is Extremely Difficult Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
1 Deriving Traffic Demands for Operational IP Networks: Methodology and Experience Anja Feldmann*, Albert Greenberg, Carsten Lund, Nick Reingold, Jennifer.
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
Internet Routing (COS 598A) Today: Interdomain Traffic Engineering Jennifer Rexford Tuesdays/Thursdays.
1 Design and implementation of a Routing Control Platform Matthew Caesar, Donald Caldwell, Nick Feamster, Jennifer Rexford, Aman Shaikh, Jacobus van der.
Ion Stoica October 2, 2002 (* this presentation is based on Lakshmi Subramanian’s slides) EE 122: Inter-domain routing – Border Gateway Protocol (BGP)
Internet Routing (COS 598A) Today: Multi-Homing Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
Network Monitoring for Internet Traffic Engineering Jennifer Rexford AT&T Labs – Research Florham Park, NJ 07932
Routing.
1 Deriving Traffic Demands for Operational IP Networks: Methodology and Experience Anja Feldmann*, Albert Greenberg, Carsten Lund, Nick Reingold, Jennifer.
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.
Multipath Routing Jennifer Rexford Advanced Computer Networks Tuesdays/Thursdays 1:30pm-2:50pm.
Border Gateway Protocol(BGP) L.Subramanian 23 rd October, 2001.
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Stub.
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.
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
Using Measurement Data to Construct a Network-Wide View Jennifer Rexford AT&T Labs—Research Florham Park, NJ
1 GIRO: Geographically Informed Inter-domain Routing Ricardo Oliveira, Mohit Lad, Beichuan Zhang, Lixia Zhang.
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.
Border Gateway Protocol
Dynamics of Hot-Potato Routing in IP Networks Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira (UCSD),
Traffic Engineering for ISP Networks Jennifer Rexford Internet and Networking Systems AT&T Labs - Research; Florham Park, NJ
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.
April 4th, 2002George Wai Wong1 Deriving IP Traffic Demands for an ISP Backbone Network Prepared for EECE565 – Data Communications.
Intradomain Traffic Engineering By Behzad Akbari These slides are based in part upon slides of J. Rexford (Princeton university)
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Mike Freedman Fall 2012 COS 561: Advanced Computer Networks Traffic Engineering.
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.
Text BGP Basics. Document Name CONFIDENTIAL Border Gateway Protocol (BGP) Introduction to BGP BGP Neighbor Establishment Process BGP Message Types BGP.
Michael Schapira, Princeton University Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks
Border Gateway Protocol BGP-4 BGP environment How BGP works BGP information BGP administration.
CS 3700 Networks and Distributed Systems
CS 3700 Networks and Distributed Systems
Controlling the Impact of BGP Policy Changes on IP Traffic
COS 561: Advanced Computer Networks
BGP supplement Abhigyan Sharma.
Interdomain Traffic Engineering with BGP
Module Summary BGP is a path-vector routing protocol that allows routing policy decisions at the AS level to be enforced. BGP is a policy-based routing.
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
BGP Policies Jennifer Rexford
COS 561: Advanced Computer Networks
BGP Instability Jennifer Rexford
Presentation transcript:

Controlling the Impact of BGP Policy Changes on IP Traffic Jennifer Rexford IP Network Management and Performance AT&T Labs – Research; Florham Park, NJ Work with Nick Feamster & Jay Borkenhagen

Summary Why do interdomain traffic engineering? –We are just gluttons for punishment… –Operators need to control traffic on edge links Why work within BGP? –BGP is what we have to work with… –Hopefully we’ll get insight for improving BGP Our approach –Model influence of BGP policy changes on traffic –Find ways to minimize the overhead of changes –Limit the impact of changes on neighboring ASes –Evaluate ideas by using traffic and routing data

What is Traffic Engineering? Don’t IP networks manage themselves? –TCP adapts sending rate to network congestion –Routing protocols adapt to changes in topology Goals: user performance & network efficiency –Add routers/links to increase network capacity –Change routing to improve the flow of traffic Tuning the configuration of existing protocols –Works today without deploying new protocols –Avoids stability challenges of load-sensitive routing –Allows operators to incorporate diverse constraints –Gives insight to drive future changes to protocols

BGP Traffic Engineering? Limitations of intradomain traffic engineering –Alleviating congestion on edge links –Making use of new or upgraded edge links –Influencing choice of end-to-end path Extra flexibility by allowing changes to BGP policies –Direct traffic toward/from certain edge links –Change the set of egress links for a destination

Impact of Routing on Traffic Flow Topology Routing configuration BGP updates Offered traffic Distributed routing protocols Flow of traffic through the network

Components of BGP BGP protocol –Definition of how two BGP neighbors communicate –Message formats, state machine, route attributes, etc. –Standardized by the IETF BGP decision process –Complex sequence of rules for selecting the best route –De facto standard applied by router vendors –Certain steps can be disabled or tuned by configuration Policy specification –Flexible language for filtering and manipulating routes –Indirectly affects the selection of the best route –Varies across vendors, though constructs are similar

BGP Decision Process Highest local preference –Set by import policies upon receiving advertisement Shortest AS path –Included in the route advertisement Lowest origin type –Included in advertisement or reset by import policy Smallest multiple exit discriminator –Included in the advertisement or reset by import policy Smallest internal path cost –Based on intradomain routing protocol (e.g., OSPF) Smallest next-hop router id –Final tie-break

Paths to a Destination Prefix Two routes with shortest AS path among routes with max local-pref… … each router selects “closest” egress point based on OSPF weights

Limitations of BGP for TE BGP protocol –Distributed, policy based path vector protocol –No capacity or traffic load information in attributes Commercial realities –ASes may have different/inconsistent policy goals –Change in best path may affect neighbor’s choices –Commercial relationships impose some policy constraints BGP decision process –Policies have only indirect influence on path selection –Each router has a single “best” BGP route per prefix –All “best routes” for a prefix must have same path length –Strict hierarchy of rules in the decision process

Scoping the Problem Predictability –Ensure the BGP decision process is deterministic –Assume that BGP updates are (relatively) stable Outbound traffic (import policy, local preference) –Easier to control how traffic leaves the network –Cooperate with neighbor ASes for inbound traffic Limit overhead introduced by routing changes –Minimize frequency of changes to routing policies –Limit number of prefixes affected by changes Limit impact on how traffic enters the network –Avoid new routes that might change neighbor’s mind –Select route with same attributes, or at least path length

AT&T Data (June 1, 2001) Analysis of peering links –Links connecting AT&T to other large providers –Relatively small number of high-end routers –Availability of both routing and traffic data BGP routing tables –Log daily output of “show ip bgp” command –Extract BGP advertisements for each destination prefix –Focus only on routes learned directly from peers Cisco Netflow –Collect continuous flow-level measurement –Aggregate the traffic based on the destination prefix –Focus only on outbound traffic headed to peers

Modeling Routing Choices Representation of BGP updates per prefix –Consider all routes learned from neighboring ASes –Separate into rows based on AS path length –In each row, group routes by border router –Order routes by other attributes (origin, MED, id) Example –3: cgcil01: { , }, la2ca01: { } –5: attga01: { }, la2ca01: { }

Controlling the Scale Destination prefixes –More than 90,000 destination prefixes  Don’t want to have per-prefix routing policies –1% of prefixes  55% of traffic  Focus on the small number of heavy hitters –Define routing policies for selected prefixes Routing choices –About 27,000 unique “routing choices”  Help in reducing the scale of the problem –1% of routing choices  70% of traffic  Focus on the very small number of “routing choices” –Define routing policies on common attributes

Avoid Impacting Downstream Neighbors Will traffic volume change???

Predictable Routing Change Predictability –Do not change the route sent to downstream neighbor –Focus on prefixes where all “best” routes are identical –Neighbors do not even receive a new BGP advertisement! Example application –Multiple links to same peer, with one congested link –Assign lower local-pref at that link for some prefixes Empirical results –83.5% of prefixes have shortest AS paths that are all identical (same next-hop AS, same AS path, etc.) –These prefixes are responsible for 45% of the traffic –Plenty of scope to move traffic in a predictable fashion

Semi-Predictable Routing Change Semi-predictability –Do not change the length of the AS path sent to neighbor –Neighbors receive new advertisement with same length –(Hopefully) they still make the same routing decision Example application –Need to move some traffic from one peer to another –Find prefixes with “best” paths via both neighbors –Assign lower local-pref at some links for some prefixes Empirical results –10-15% of prefixes have shortest paths with 2 next hops –These prefixes contribute 35-40% of the traffic –Potential to move traffic in a semi-predictable fashion

Influence of AS Path Length AS path length –Plays a significant role in the BGP decision process –All “best” routes must have the same AS path length –10% of prefixes have choices with different path lengths An idea: a more flexible approach –Possible to disable consideration of AS path length, and incorporate AS path length in local-pref assignment –E.g., treat paths of length 3 and 4 as equally good AS prepending by other ASes –Inflating AS path length by adding fake hops –E.g., “ ” instead of “701 80” –18% of routes had some form of AS prepending

Conclusions BGP traffic engineering –Alleviate congestion on the edge links between ASes –Configure BGP policies to control the flow of traffic Data analysis –Extract routing choices from the BGP routing tables –Collect prefix-level measurements of outgoing traffic –Analyze traffic to help in scoping the BGP TE problem Ongoing work –Toolkit for what-if questions about changes in BGP policies –Heuristics for suggesting possible BGP policy changes –Techniques for coordination between neighboring ASes –Lightweight support for measurement in IP routers

(Shameless) Psamp Plug IETF activity on packet sampling –Minimal functionality for packet-level measurement –Tunable trade-offs between overhead and accuracy –Measurement data for a variety of important applications Basic idea: parallel filter/sample banks –Filter on header fields (src/dest, port #s, protocol) –1-out-of-N sampling (random, periodic, or hash) –Record key IP and TCP/UDP header fields –Send measurement record to a collection system Get involved!!! – framework-papame-01.txt –