Controlling the Impact of BGP Policy Changes on IP Traffic

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)
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
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.
TIE Breaking: Tunable Interdomain Egress Selection Renata Teixeira Laboratoire d’Informatique de Paris 6 Université Pierre et Marie Curie with Tim Griffin.
Traffic Engineering With Traditional IP Routing Protocols
Practical and Configuration issues of BGP and Policy routing Cameron Harvey Simon Fraser University.
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
Traffic Engineering for ISP Networks 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.
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.
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
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.
© 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
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
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.
Controlling the Impact of BGP Policy Changes on IP Traffic Jennifer Rexford IP Network Management and Performance AT&T Labs – Research; Florham Park, NJ.
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)
Mike Freedman Fall 2012 COS 561: Advanced Computer Networks Traffic Engineering.
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
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
BGP Routing Stability of Popular Destinations
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
CS 3700 Networks and Distributed Systems
Routing Jennifer Rexford.
Border Gateway Protocol
Routing Information Protocol (RIP)
BGP (cont) 1. BGP Peering 2. BGP Attributes
What Are Routers? Routers are an intermediate system at the network layer that is used to connect networks together based on a common network layer protocol.
COS 561: Advanced Computer Networks
BGP supplement Abhigyan Sharma.
Interdomain Traffic Engineering with BGP
Introduction to Internet Routing
Intra-Domain Routing Jacob Strauss September 14, 2006.
Lixin Gao ECE Dept. UMASS, Amherst
Routing.
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.
Netscope: Traffic Engineering for IP Networks
COS 561: Advanced Computer Networks
CS 3700 Networks and Distributed Systems
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
CS 3700 Networks and Distributed Systems
COS 561: Advanced Computer Networks
Backbone Networks Mike Freedman COS 461: Computer Networks
BGP Policies Jennifer Rexford
BGP Interactions Jennifer Rexford
COS 561: Advanced Computer Networks
BGP Instability Jennifer Rexford
Routing.
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 http://www.research.att.com/~jrex/papers/tm011106.02.ps Work with Nick Feamster & Jay Borkenhagen

Why do interdomain traffic engineering? 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 2 1 4 3

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

Components of BGP BGP protocol BGP decision process 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 Shortest AS path 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 BGP routing tables 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: {1239 2179 11485, 701 2179 11485}, la2ca01: {1239 12179 11485} 5: attga01: {3561 12179 12179 12179 11485}, la2ca01: {3561 12179 12179 12179 11485}

Controlling the Scale Destination prefixes Routing choices 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 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., “701 80 80 80” instead of “701 80” 18% of routes had some form of AS prepending

Conclusions BGP traffic engineering Data analysis Ongoing work 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!!! http://www.ietf.org/internet-drafts/draft-duffield-framework-papame-01.txt http://ops.ietf.org/lists/psamp/