Dynamics of Hot-Potato Routing in IP Networks

Similar documents
BGP Routing inside an AS

Hot Potatoes Heat Up BGP Routing

Impact of Hot-Potato Routing Changes in IP Networks

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

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

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

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

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

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

Dynamics of Hot-Potato Routing in IP Networks

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

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

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

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

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

Planning for Information Network

BGP. Autonomous system (AS) BGP version 4

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

BGP. Autonomous system (AS) BGP version 4

Border Gateway Protocol (an introduction) Karst Koymans. Tuesday, March 8, 2016

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

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

Routing. Jens A Andersson Communication Systems

BGP. Autonomous system (AS) BGP version 4

Routing Unicast routing protocols

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Internet Routing Protocols Lecture 01 & 02

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

Routing in the Internet

Inter-Domain Routing: BGP

Interplay Between Routing, Forwarding

Lecture 19: Network Layer Routing in the Internet

Inter-Autonomous-System Routing: Border Gateway Protocol

Lecture 3: Packet Forwarding

Why dynamic route? (1)

internet technologies and standards

Computer Networking Introduction

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

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

CSc 450/550 Computer Networks Internet Routing

Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

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

BGP. Border Gateway Protocol (an introduction) Karst Koymans. Informatics Institute University of Amsterdam. (version 17.3, 2017/12/04 13:20:08)

Unit 3: Dynamic Routing

Border Gateway Protocol

Routing Protocols. Technology Description BGP CHAPTER

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Configuring BGP. Cisco s BGP Implementation

1 Introduction. AT&T Labs - Research. Jay Borkenhagen Dept. HA MT C5-3D

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

TELE 301 Network Management

Lecture 18: Border Gateway Protocol

Interdomain Routing. Networked Systems (H) Lecture 11

Lecture 17: Border Gateway Protocol

Inter-Domain Routing: BGP II

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

Master Course Computer Networks IN2097

Inter-Domain Routing: BGP II

COMP/ELEC 429 Introduction to Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Internet inter-as routing: BGP

Internet Routing Basics

Introduction to Computer Networks

Link State Routing & Inter-Domain Routing

Internet Routing Protocols Lecture 03 Inter-domain Routing

CSCD 433/533 Advanced Networks Spring 2016

The Case for Separating Routing from Routers

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

Interdomain Routing. EE122 Fall 2012 Scott Shenker

BGP. Border Gateway Protocol A short introduction. Karst Koymans. Informatics Institute University of Amsterdam. (version 18.3, 2018/12/03 13:53:22)

Chapter 4: outline. Network Layer 4-1

Interdomain Routing. EE122 Fall 2011 Scott Shenker

Chapter 4: Network Layer

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

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

Configuring BGP on Cisco Routers Volume 1

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Routing Overview for Firepower Threat Defense

PART III. Implementing Inter-Network Relationships with BGP

Lecture 16: Border Gateway Protocol

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

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

Chapter IV: Network Layer

CSE/EE 461 Lecture 11. Inter-domain Routing. This Lecture. Structure of the Internet. Focus How do we make routing scale?

CS BGP v4. Fall 2014

CSCE 463/612 Networks and Distributed Processing Spring 2018

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

BGP Configuration. BGP Overview. Introduction to BGP. Formats of BGP Messages. Header

Ravi Chandra cisco Systems Cisco Systems Confidential

Network Layer (Routing)

Routing(2) Inter-domain Routing

COMP211 Chapter 5 Network Layer: The Control Plane

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

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

IP Addressing & Interdomain Routing. Next Topic

Network-Wide Prediction of BGP Routes

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

Transcription:

Dynamics of Hot-Potato Routing in IP Networks Jennifer Rexford AT&T Labs Research http://www.research.att.com/~jrex Joint work with Renata Teixeira (UCSD), Aman Shaikh (AT&T), and Timothy Griffin (Intel)

Outline Internet routing Interdomain and intradomain routing Coupling due to hot-potato routing Measuring hot-potato routing Measuring the two routing protocols Correlating the two data streams Performance evaluation Characterization on AT&T s network Implications on operational practices Conclusions and future directions 2

Autonomous Systems Multiple links Middle of path 4 3 5 2 7 6 1 Client AS path: 6, 5, 4, 3, 2, 1 Web server 3

Interdomain Routing (BGP) Border Gateway Protocol (BGP) IP prefix: block of destination IP addresses AS path: sequence of ASes along the path Policy configuration by the operator Path selection: which of the paths to use? Path export: which neighbors to tell? I can reach 12.34.158.0/24 I can reach 12.34.158.0/24 via AS 1 1 2 3 12.34.158.5 4

Intradomain Routing (IGP) Interior Gateway Protocol (OSPF and IS-IS) Shortest path routing based on link weights Routers flood link-state information to each other Routers compute next hop to reach other routers Link weights configured by the operator Simple heuristics: link capacity or physical distance Traffic engineering: tuning link weights to the traffic 3 2 1 1 2 5 3 1 Path cost: 2+1+5 4 3 5

Two-Level Internet Routing inter-domain routing (BGP) AS 1 AS 2 AS 3 intra-domain routing (IGP) Autonomous system (AS) = network with unified administrative routing policy (ex. AT&T, Sprint, UCSD) Hierarchical routing Intra-domain Metric based Inter-domain Reachability and policy Design principles Scalability Isolation Simplicity of reasoning 6

Coupling: Hot-Potato Routing dst X 10 ISP network Hot-potato routing = ISPs policy of routing to closest exit point when there is more than one Traffic route to shift destination Y 911 Z Routes packet to dst thousands of destinations switch exit point!!! failure planned maintenance traffic engineering Consequences: Routers CPU overload Transient forwarding instability Inter-domain routing changes 7

BGP Decision Process Equally good Ignore if exit point unreachable Highest local preference Lowest AS path length Lowest origin type Lowest MED (with same next hop AS) Lowest IGP cost to next hop Lowest router ID of BGP speaker 8

Hot-Potato Routing Model X 10 8 Z dst W Y 99 Cost vector for Z: c X =10, c W =8, and c Y =9 Egress set for dst: {X, Y} Best route for Z: through Y, which is closest Hot-potato change: change in cost vector causes change in best route 9

The Big Picture Cost vector changes Interdomain changes Hot-potato routing changes (interdomain changes caused by intradomain changes) 10

Why Care about Hot Potatoes? Understanding of Internet routing Frequency of hot-potato routing changes Influence on end-to-end performance Operational practices Knowing when hot-potato changes happen Avoiding unnecessary hot-potato changes Analyzing externally-caused BGP updates Distributed root cause analysis Each AS can tell what BGP updates it caused Someone should know why each change happened 11

Our Approach Measure both protocols BGP and OSPF monitors X AT&T backbone Z OSPF messages BGP updates M Correlate the two streams Match BGP updates with OSPF events Analyze the interaction Y 12

Heuristic for Matching Stream of OSPF messages Transform stream of OSPF messages into routing changes refresh link failure chg cost weight change chg cost del Match BGP updates with OSPF events that happen close in time time Classify BGP updates by possible OSPF causes Stream of BGP updates 13

Computing Cost Vectors Transform OSPF messages into path cost changes from a router s perspective OSPF routing changes: X 1 2 1 10 2 10 2 1 1 Z X 5 CHG Y, 7 Y 4 7 DEL X ADD X, 5 M LSA weight delete change, 10 Y 14

Classifying BGP Updates Cannot have been caused by cost change Destination just became (un)available in BGP New BGP route through same egress point New route better/worse than old (e.g., AS path len) Can have been caused by cost change New route is equally good as old route (perhaps X got closer, or Y got further away) X M Z dst Y 15

The Role of Time IGP link-state advertisements Multiple LSAs from a single physical event Group into single cost vector change BGP update messages Multiple BGP updates during convergence Group into single BGP routing change Matching IGP to BGP 70 sec 180 sec 10 sec Avoid matching unrelated IGP and BGP changes Match related changes that are close in time Characterize the measurement data to determine the right windows 16

Summary Results (June 2003) High variability in % of BGP updates location min max days > 10% close to peers 0% 3.76% 0 between peers 0% 25.87% 5 One LSA can have a big impact location no impact prefixes impacted close to peers 97.53% less than 1% between peers 97.17% 55% 17

Delay for BGP Routing Change Router vendor scan timer BGP table scan every 60 seconds OSPF changes arrive uniformly in interval Internal BGP hierarchy (route reflectors) Wait for another router to change best route Introduces a wait for a second BGP scan Transmitting many BGP messages Latency for transferring the data We have seen delays of up to 180 seconds! 18

Delay for First BGP Change Two BGP scans Fraction of Hot-Potato Changes Cisco BGP scan timer Routers in backbone (June) Routers in backbone (September) Router in lab time BGP update time LSA (seconds) 19

Transferring Multiple Prefixes Cumulative Number of Hot-Potato Changes 81 seconds delay time BGP update time LSA (seconds) 20

BGP Updates Over Prefixes Contrast with non-ospf triggered BGP updates prefixes with only one exit point Cumulative %BGP updates OSPF-triggered BGP updates affects ~50% of prefixes uniformly Non-OSPF triggered All OSPF-triggered % prefixes 21

Operational Implications Forwarding plane convergence Accuracy of active measurements Router proximity to exit points Likelihood of hot-potato routing changes Cost in/out of links during maintenance Avoid triggering BGP routing changes 22

Forwarding Convergence R 1 s scan process Packets to dst may can take up to Scan be caught process in a loop 60 seconds to Rrun 2 starts runs using for 60 Rseconds! 12 to reach dst R 10 1 R 2 100 111 10 dst 23

Measurement Accuracy Measurements of customer experience Probe machines have just one exit point! loop to reach dst R 10 1 R 2 W 1 100 111 W 2 dst 24

Avoid Equal-distance Exits Z Z X 10 X 1 10 1000 Y Y dst dst Small changes will make Z switch exit points to dst More robust to intra-domain routing changes 25

Careful Cost in/out Links X 5 10 4 100 5 10 Z 10 dst Y Traffic is more predictable Faster convergence Less impact on neighbors 26

Ongoing Work Black-box testing of the routers Scan timer and its effects (forwarding loops) Vendor interactions (with Cisco) Impact of the IGP-triggered BGP updates Changes in the flow of traffic Forwarding loops during convergence Externally visible BGP routing changes Improving isolation (cooling those potatoes!) Operational practices: preventing interactions Protocol design: weaken the IGP/BGP coupling Network design: internal topology/architecture 27

Thanks! Any questions? 28

ibgp Route Reflectors Y X 11 8 Announcement X dst X,19 Y, 18 21 dst W, 20 Z 9 10 20 dst W Scalability trade-off: Less BGP state vs. Number of BGP updates from Z and longer convergence delay 29

Exporting Routing Instability Announcement Z X dst Y No change => no announcement Z dst X Y 30