Doing Don’ts: Modifying BGP Attributes within an Autonomous System Luca Cittadini, Stefano Vissicchio, Giuseppe Di Battista Università degli Studi RomaTre.

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

1 Copyright  1999, Cisco Systems, Inc. Module10.ppt10/7/1999 8:27 AM BGP — Border Gateway Protocol Routing Protocol used between AS’s Currently Version.
Part IV: BGP Routing Instability. March 8, BGP routing updates  Route updates at prefix level  No activity in “steady state”  Routing messages.
CS Summer 2003 CS672: MPLS Architecture, Applications and Fault-Tolerance.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
CS540/TE630 Computer Network Architecture Spring 2009 Tu/Th 10:30am-Noon Sue Moon.
© 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 Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
Best Practices for ISPs
Swinog-3, 19 September 2001 Fabien Berger, BGP Oscillation …the Internet routing protocol is diverging! Fabien Berger CCIE#6143 IP-Plus.
Towards a Logic for Wide-Area Internet Routing Nick Feamster and Hari Balakrishnan M.I.T. Computer Science and Artificial Intelligence Laboratory Kunal.
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!
BGP Safety with Spurious Updates Martin Suchara in collaboration with: Alex Fabrikant and Jennifer Rexford IEEE INFOCOM April 14, 2011.
Practical and Configuration issues of BGP and Policy routing Cameron Harvey Simon Fraser University.
S ufficient C onditions to G uarantee P ath V isibility Akeel ur Rehman Faridee
Instability of BGP ASPP Supervised by Prof. Chiu and Prof. John Presented by Hui Wang.
CS Summer 2003 Lecture 4. CS Summer 2003 Route Aggregation The process of representing a group of prefixes with a single prefix is known as.
The Border Gateway Protocol (BGP) Sharad Jaiswal.
Slide -1- February, 2006 Interdomain Routing Gordon Wilfong Distinguished Member of Technical Staff Algorithms Research Department Mathematical and Algorithmic.
Dynamics of Hot-Potato Routing in IP Networks Renata Teixeira (UC San Diego) with Aman Shaikh (AT&T), Tim Griffin(Intel),
More on BGP Check out the links on politics: ICANN and net neutrality To read for next time Path selection big example Scaling of BGP.
Inherently Safe Backup Routing with BGP Lixin Gao (U. Mass Amherst) Timothy Griffin (AT&T Research) Jennifer Rexford (AT&T Research)
Economic Incentives in Internet Routing Jennifer Rexford Princeton University
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
© 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.
Stable Internet Routing Without Global Coordination Jennifer Rexford AT&T Labs--Research Joint work with Lixin Gao.
Hot Potatoes Heat Up BGP Routing Jennifer Rexford AT&T Labs—Research Joint work with Renata Teixeira, Aman Shaikh, and.
BGP Attributes and Path Selections
Network Sensitivity to Hot-Potato Disruptions Renata Teixeira (UC San Diego) with Aman Shaikh (AT&T), Tim Griffin(Intel),
© 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.
Scaling iBGP. BGP iBGP –Internal BGP –BGP peering between routers in same AS –Goal: get routes from a border router to another border router without losing.
CS 268: Lecture 9 Inter-domain Routing Protocol Scott Shenker and Ion Stoica Computer Science Division Department of Electrical Engineering and Computer.
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.
Border Gateway Protocol
© 2001, Cisco Systems, Inc. A_BGP_Confed BGP Confederations.
BGP4 - Border Gateway Protocol. Autonomous Systems Routers under a single administrative control are grouped into autonomous systems Identified by a 16.
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.
A Firewall for Routers: Protecting Against Routing Misbehavior1 June 26, A Firewall for Routers: Protecting Against Routing Misbehavior Jia Wang.
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.
CS 268: Lecture 11 Inter-domain Routing Protocol Karthik Lakshminarayanan UC Berkeley (substituting for Ion Stoica) (*slides from Timothy Griffin and Craig.
CSCI-1680 Network Layer: Inter-domain Routing Based partly on lecture notes by Rob Sherwood, David Mazières, Phil Levis, Rodrigo Fonseca John Jannotti.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
The New Policy for Enterprise Networking Robert Bays Chief Scientist June 2002.
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.
1 Border Gateway Protocol (BGP) and BGP Security Jeff Gribschaw Sai Thwin ECE 4112 Final Project April 28, 2005.
Route Selection Using Attributes
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
1 Internet Routing 11/11/2009. Admin. r Assignment 3 2.
CS 3700 Networks and Distributed Systems
ISP Workshop Agenda Phithakkit Phasuk.
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
CS 3700 Networks and Distributed Systems
Jian Wu (University of Michigan)
Border Gateway Protocol
L. Cittadini, G. Di Battista, M. Rimondini, S. Vissicchio
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
Scaling Service Provider Networks
COS 561: Advanced Computer Networks
COS 461: Computer Networks
Presentation transcript:

Doing Don’ts: Modifying BGP Attributes within an Autonomous System Luca Cittadini, Stefano Vissicchio, Giuseppe Di Battista Università degli Studi RomaTre IEEE/IFIP Network Operations and Management Symposium (NOMS) - April 2010

The Point of View of an AS BR1 BR2 RR1 RR2 AS X eBGP peerings to exchange information on interdomain routing iBGP peerings to distribute eBGP routes within an AS Route Reflector hierarchy, to scale iBGP

About The Role of iBGP iBGP just propagates eBGP routes across the AS Typically, no policy is applied in iBGP ▫Policies are applied only at the border ▫Best practices do not recommend applying policies in iBGP ▫Research community often assumes that iBGP messages are left untouched ([Griffin 02,Flavel 08 ])

Our Contributions: Doing Don’ts Consequences of changing iBGP messages are poorly understood ▫why an ISP should (not) modify iBGP messages? ▫who changes iBGP attributes in the real world? ▫what are the consequences on iBGP stability? ▫technique and tool for detecting instabilities ▫how can an ISP change iBGP attributes without affecting iBGP stability? ▫configuration guidelines

Why Should an AS Change iBGP attributes? attributes influence the BGP decision process StepCriterion 1Prefer routes with higher LOCAL-PREFERENCE 2Prefer routes with lower AS-PATH length 3Prefer routes with lower ORIGIN …… An ISP can use iBGP attributes changing as an additional knob to better engineer its traffic ▫recent Cisco IOS releases allow operators to partially modify the decision process

Simple Scenario USEU BR1 BR2 RR1 RR2 PAIX AMS-IX eBGP announcement AS-PATH ABCD eBGP announcement AS-PATH YZD AS X

Simple Scenario USEU BR1 BR2 RR1 RR2 PAIX AMS-IX eBGP announcement AS-PATH ABCD eBGP announcement AS-PATH YZD AS X iBGP attributes are not changed by any router traffic flow all the traffic to AS D exits from BR2

Simple Scenario USEU BR1 BR2 RR1 RR2 PAIX AMS-IX eBGP announcement AS-PATH ABCD eBGP announcement AS-PATH YZD AS X if msg from BR1: set local-pref 120 traffic flow if msg from BR2: set local-pref 120 traffic flow

Who engineers iBGP in real world? route-server.phx1>sh ip bgp /24 Paths: (4 available, best #1) , (received & used) from ( ) Origin IGP, metric 0, localpref 300, valid, internal, best Community: 3549: :30840 Originator: , Cluster list: … , (received & used) from ( ) Origin IGP, metric 0, localpref 300, valid, internal Community: 3549: :34076 Originator: , Cluster list: , internal router routes with different AS-PATH length

iBGP Attribute Changing in Internet We estimated the number of ASes which exhibit simultaneously active routes having different AS-PATH length ▫conservative approach ▫dataset: RIBs from RIS and Routeviews (May 2009 ) We found that 1,838 ASes out of 32,066 ( 5.7 %) change iBGP attributes

What Impact on Routing Stability? We use a custom extension of the Stable Path Problem (SPP) framework as the model ▫an undirected graph represents (i)BGP peerings permitted paths are ranked according to the BGP decision process a single destination prefix is originated by 0 eBGP paths are collapsed in single edges at each node, permitted paths to reach the destination prefix are specified

More Flexibility = More Instability AS A Theo: BGP configurations that allow iBGP attribute changing can generate a larger set of oscillations than BGP configurations where iBGP attributes are not modified. if msg from b2: set local-pref 120 if msg from b1: set local-pref 120 b1 b2 b1 0 b1 b2 0 b1 0 0 b2 b1 0 b2 0

Detecting Oscillations We propose a technique to automatically check iBGP configuration for routing stability ▫Known detection techniques assume that iBGP attributes are left unchanged [Flavel 08 ] ▫Conveniently translating an iBGP configuration into an SPP instance allows us to check for stability even when iBGP attributes are changed ▫The SPP instance is then checked with a known polynomial heuristic algorithm [Cittadini 08 ]

A Stability Checker Tool We built and evaluated a prototype tool able to check iBGP configurations for stability

Evaluation of the Tool We evaluated the stability checker on both synthetic and real-world configurations in-vitro configurations with up to 1100 iBGP speaking routers three route reflection levels 20 eBGP routes injected real-world configuration of a medium-sized Italian ISP for all the prefixes in the full RIB the entire test takes only few minutes

Performance of the Tool

How Can We Prevent Oscillations? More flexibility implies increased instability ▫challenge: change iBGP attributes  with profit  without affecting routing stability  requiring low management complexity We provide two configuration guidelines ▫two main high-level requirements  routes should be ranked according to revenues and costs [GaoRexford 00 ]  internal transit cost should be minimized

Configuration Guidelines Guideline A. Every iBGP speaker assigns to each route a local-preference value such that ▫LP cust > LP peer > LP prov Guideline B. Route reflectors prefer the routes propagated from their own clients ▫LP cust-client > LP cust-non-client > LP peer-client > LP peer-non-client To keep management complexity low, the community attribute can be used as a tag and the value of the local-preference attribute can be changed according to tags routes are ranked according to the commercial relationships between ASes internal transit is minimized while respecting policies for commercial relationships We also formally proved that these guidelines guarantee routing stability configuration is robust to external factors

Conclusions We explored the possibility of changing attributes in iBGP, evaluating pros AspectContributions Pro Better traffic engineering We showed a simple scenario in which an ISP is allowed to easily perform fine-grained TE Pro Complete control of traffic flow We showed that iBGP attribute changing can prevent traffic shift and modification of load balancing ProAdded flexibility We showed that some real-world ASes already change iBGP attributes

Conclusions We explored the possibility of changing attributes in iBGP, evaluating pros and cons AspectContributions Con Stability Problem is exacerbated We defined configuration guidelines which ensure stability We proposed a technique for detecting routing instabilities We realized a prototype tool able to efficiently detect instabilities Con Management complexity Our guidelines do not add significant configuration complexity

Thank You! Questions?