Hot Potatoes Heat Up BGP Routing

Similar documents
BGP Routing inside an AS

Dynamics of Hot-Potato Routing in IP Networks

Managing routing disruptions in Internet service provider networks

On the Sensitivity of Transit ASes to Internal Failures

Impact of Hot-Potato Routing Changes in IP Networks

Finding a Needle in a Haystack: Pinpointing Significant BGP Routing Changes in an IP Network

Network Sensitivity to Intradomain Routing Changes

Traffic Matrix Reloaded: Impact of Routing Changes

CS4450. Computer Networks: Architecture and Protocols. Lecture 15 BGP. Spring 2018 Rachit Agarwal

TIE Breaking: Tunable Interdomain Egress Selection

BGP routing changes: Merging views of two ISPs

Interdomain Routing Reading: Sections P&D 4.3.{3,4}

Dynamics of Hot-Potato Routing in IP Networks

Modeling the Routing of an ISP with C-BGP

BGP Route Propagation between Neighboring Domains

TIE Breaking: Tunable Interdomain Egress Selection

Interdomain Routing. EE122 Fall 2011 Scott Shenker

CS 640: Introduction to Computer Networks. Intra-domain routing. Inter-domain Routing: Hierarchy. Aditya Akella

Interdomain Routing Reading: Sections K&R EE122: Intro to Communication Networks Fall 2007 (WF 4:00-5:30 in Cory 277)

Backbone Networks. Networking Case Studies. Backbone Networks. Backbone Topology. Mike Freedman COS 461: Computer Networks.

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Important Lessons From Last Lecture Computer Networking. Outline. Routing Review. Routing hierarchy. Internet structure. External BGP (E-BGP)

Traffic Engineering with Estimated Traffic Matrices

Internet measurements: topology discovery and dynamics. Renata Teixeira MUSE Team Inria Paris-Rocquencourt

Inter-Domain Routing: BGP II

Inter-Domain Routing: BGP II

Interdomain Routing. EE122 Fall 2012 Scott Shenker

Outline Computer Networking. Inter and Intra-Domain Routing. Internet s Area Hierarchy Routing hierarchy. Internet structure

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing

BGP Routing Stability of Popular Destinations

Inter-Domain Routing: BGP

Border Gateway Protocol (an introduction) Karst Koymans. Monday, March 10, 2014

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013

Interdomain Routing. Networked Systems (H) Lecture 11

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Ordered FIB Updates. draft-francois-ordered-fib-01.txt. Pierre Francois Olivier Bonaventure Mike Shand Stefano Previdi Stewart Bryant

BGP. Autonomous system (AS) BGP version 4

State of routing research

Internet Routing. Shortest-Path Routing. Intra-Domain Routing and Traffic Engineering. Two-Tiered Internet Routing System

IP Addressing & Interdomain Routing. Next Topic

BGP. Autonomous system (AS) BGP version 4

Internet Measurements. Motivation

BGP. Autonomous system (AS) BGP version 4

Modeling the Routing of an ISP

Some Foundational Problems in Interdomain Routing

CSE 561 Lecture 6, Spring David Wetherall

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

6.829 BGP Recitation. Rob Beverly September 29, Addressing and Assignment

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

Traffic Matrix Estimation

Lecture 18: Border Gateway Protocol

TO CONTROL the flow of traffic through their networks,

Internet Routing Protocols Lecture 01 & 02

Network-Wide Prediction of BGP Routes

Achieving Sub-50 Milliseconds Recovery Upon BGP Peering Link Failures

Interdomain routing with BGP4 Part 4/5

BGP. Autonomous system (AS) BGP version 4. Definition (AS Autonomous System)

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

Next Lecture: Interdomain Routing : Computer Networking. Outline. Routing Hierarchies BGP

Routing Basics. ISP Workshops. Last updated 10 th December 2015

Lecture 13: Traffic Engineering

Routing. Jens A Andersson Communication Systems

Lecture 16: Interdomain Routing. CSE 123: Computer Networks Stefan Savage

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

Computer Networking Introduction

Interdomain Routing and Connectivity

CS Networks and Distributed Systems. Lecture 8: Inter Domain Routing

Routing Basics. Campus Network Design & Operations Workshop

Service Provider Multihoming

Stable Internet Route Selection

Advanced Multihoming. BGP Traffic Engineering

Professor Yashar Ganjali Department of Computer Science University of Toronto.

CIDR VLSM AS. รศ.ดร. อน นต ผลเพ ม Asso. Prof. Anan Phonphoem, Ph.D.

Inter-Autonomous-System Routing: Border Gateway Protocol

Master Course Computer Networks IN2097

Deriving Traffic Demands for Operational IP Networks: Methodology and Experience

CSE 222 Graduate Networking

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Routing Basics ISP/IXP Workshops

Routing Unicast routing protocols

Making an AS Act Like a Single Node: Toward Intrinsically Correct Interdomain Routing

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

INTERDOMAIN ROUTING POLICY

Routing Basics ISP/IXP Workshops

The Case for Separating Routing from Routers

Master Course Computer Networks IN2097

Lecture 17: Border Gateway Protocol

COM-208: Computer Networks - Homework 6

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Network Layer (Routing)

Inter-AS routing and BGP. Network Layer 4-1

Service Provider Multihoming

Chapter 4: outline. Network Layer 4-1

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing

Lecture 19: Network Layer Routing in the Internet

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

Methods and Techniques for Disruption-free Network Reconfiguration

Lecture 3: Packet Forwarding

Transcription:

Hot Potatoes Heat Up BGP Routing Renata Teixeira Laboratoire d Informatique de Paris 6 Université Pierre et Marie Curie Amsterdam

Internet Routing Architecture Verio AT&T AOL Web Server UCSD Sprint User interdomain routing (BGP) intradomain routing (IGP) Changes in one AS Most common: OSPF,IS-IS may impact traffic and routing in other ASes 2

Interaction between IGP and BGP destination prefix multiple egress points San Francisco ISP network 9 10 New York Dallas Hot-potato routing = select closest egress point when there is more than one route to destination 3

Impact of Internal Routing Changes destination prefix San Francisco -failure - planned maintenance - traffic engineering 11 ISP network Consequences: Transient forwarding instability Traffic shift Interdomain routing changes 9 10 11 Dallas New York Routes to thousands of prefixes switch egress points!!! 4

Outline Measurement methodology Collection of OSPF and BGP data of AT&T Identification of hot-potato routing changes BGP impact Traffic impact Minimizing hot-potato disruptions 5

Collecting Input Data BGP updates BGP monitor Monitor updates from nine vantage points A AT&T backbone B OSPF messages OSPF Monitor Replay routing decisions from vantage point A and B to identify hot-potato changes Monitor de flooding of link-state advertisements 6

Algorithm for Correlating Routing Changes Compute distance changes Group OSPF messages close in time Compute distance changes from each vantage point Classify BGP changes by possible OSPF cause Group updates close in time Compare old and new route according to decision process SF NY Consistent BGP and OSPF changes Close in time 9? 10 Dallas BGP update: SF NY Determine causal relationship 7

Outline Measurement methodology BGP impact How often do hot-potato changes happen? Which fraction of prefixes do they affect? Traffic impact Minimizing hot-potato disruptions 8

BGP Impact of an OSPF Change router A router B but few have a very big impact Vast majority of OSPF changes have no impact on these routers 9

Variation across Routers SF 9 dst A 10 NY Small changes will make router A switch egress points to dst SF B 1 dst 1000 NY More robust to intradomain routing changes Significance of hot-potato routing depends on network design and router location. 10

Outline Measurement methodology BGP impact Traffic impact How long are convergence delays? What is the impact in the traffic matrix? Minimizing hot-potato disruptions 11

Delay for BGP Routing Change Steps between OSPF change and BGP update OSPF message flooded through the network (t 0 ) OSPF updates distance information BGP decision process rerun (timer driven) BGP update sent to another router (t) First BGP update sent (t 1 ) Metrics time for BGP to revisit its decision time to update other prefixes t 0 t 1 t time OSPF monitor BGP monitor 12

BGP Reaction Time uniform 5 80 sec Worst case scenario: Transfer delay 0 80 sec to revisit BGP decision 50 110 sec to send multiple updates Last prefix may take 3 minutes to converge! First BGP update All BGP updates 13

Transient Data Disruptions 11 BGP decision process runs in in R 2 2 22 R 2 2 starts using E 1 1 to to reach dst 3 R 1 s BGP decision can take up to 60 seconds to run Packets to dst may be caught in a loop for 60 seconds! R 10 10 1 1 R 2 2 100 10 10 111 E 1 1 E 2 2 dst Disastrous for interactive applications (VoIP, gaming, web) 14

Challenges for Active Measurements Problem: Single-homed probe machines Probes do not experience the loop Probes do not illustrate the customer experience customer traffic in loop R 10 1 R 2 100 10 111 10 Operator probes R 2 P E 1 E 2 1 P 2 dst 15

Traffic Shifts p e e 1 2 MB per second routing shift ( R) i load variation ( L) decrease TM(i,e in traffic 1,t) = L(i,e 1,t) + R(i,e 1,t) L(i,e 1,t) : variation TM(i,e 1 of,t) traffic = TM(i,e that 1,t) still - TM uses (i,ee 11,t-1) R(i,e 1,t) : traffic that moved to e 1 moved out of e 1 minutes 16

Large Shifts Caused by Routing Changes R relative to normal variations routing shift 70 times normal variations TM caused by routing TM caused by load Vast majority (99.88%) of TM [-4,4] TM relative to normal variations 17

Hot-potato vs. External BGP Routing Changes CDF Hot-potato changes have biggest impact on TM Hot-potato ebgp TM relative to normal variations 18

Summary of Measurement Analysis Convergence can take minutes Forwarding loops, leads to packet loss and delay Fixes: event-driven implementations or tunnels Frequency of hot-potato changes depends on location Once a week on average for more affected routers Internal events can have big impact Some events affect over half of a BGP table Responsible for largest traffic variations Implications End users: Transient disruptions and new end-to-end path characteristics Network administrators: Instability in the traffic matrix 19

Outline Measurement methodology BGP impact Traffic impact Minimizing hot-potato disruptions What can operators do today? 20

What can operators do today? Network design Design networks that minimize hot-potato changes Implement a fixed ranking of egress points (e.g., MPLS tunnels injected in IGP) Maintenance Plan maintenance activities considering the impact of changes on BGP routes Monitoring Deploy measurement infrastructure that captures disruptions caused by hot-potato routing 21

Comparison of Network Designs dst dst NY SF 9 Dallas 10 NY SF 9 dst 9 SF 10 10 1 NY 1000 Dallas Small changes will make Dallas switch egress points to dst Dallas More robust to intradomain routing changes 22

Careful Cost in/out Links SF 10 dst 10 10 4 5 5100 NY Dallas 23

Conclusion Hot-potato routing is too disruptive Small changes inside an AS can lead to big disruptions on BGP and transit traffic In addition, hot potato is Too restrictive: Egress selection mechanism dictates a policy Too convoluted: IGP metrics determine BGP egress selection Introduce more flexible egress selection mechanism TIE: Tunable Interdomain Egress selection 24

More Info http://rp.lip6.fr/~teixeira BGP impact R. Teixeira, A. Shaikh, T. Griffin, and J. Rexford, Dynamics of Hot-Potato Routing in IP networks, in proceedings of ACM SIGMETRICS, June 2004. Traffic impact R. Teixeira, N. Duffield, J. Rexford, and M. Roughan, Traffic Matrix Reloaded: Impact of Routing Changes, in proceedings of PAM, March 2005. Model of network sensitivity to IGP changes R. Teixeira, T. Griffin, A. Shaikh, and G.M. Voelker, Network Sensitivity to Hot-Potato Disruptions, in proceedings of ACM SIGCOMM, August 2004. New egress selection mechanism R. Teixeira, T. Griffin, M. Resende, and J. Rexford, TIE Breaking: Tunable Interdomain Egress Selection, in proceedings of CoNext, October 2005. 25