COS 561: Advanced Computer Networks

Slides:



Advertisements
Similar presentations
Multihoming and Multi-path Routing
Advertisements

Multihoming and Multi-path Routing
Internet Routing (COS 598A) Today: Interdomain Routing Convergence Jennifer Rexford Tuesdays/Thursdays.
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)
BGP Convergence Jennifer Rexford. Outline Border Gateway Protocol (BGP) –Prefix-based routing at the AS level –Policy-based path-vector protocol –Incremental.
© 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.
Fundamentals of Computer Networks ECE 478/578 Lecture #18: Policy-Based Routing Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
1 BGP Anomaly Detection in an ISP Jian Wu (U. Michigan) Z. Morley Mao (U. Michigan) Jennifer Rexford (Princeton) Jia Wang (AT&T Labs)
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.
1 Finding a Needle in a Haystack: Pinpointing Significant BGP Routing Changes in an IP Network Jian Wu (University of Michigan) Z. Morley Mao (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.
CS Summer 2003 Quiz 1 Q1) Answer the following: List one protocol that is commonly used for intra AS routing? List one protocol that is used for.
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)
Internet Routing (COS 598A) Today: Multi-Homing Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
Routing.
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.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Wide-Area Traffic Management COS 597E: Software Defined Networking.
Jennifer Rexford Fall 2010 (TTh 1:30-2:50 in COS 302) COS 561: Advanced Computer Networks Stub.
Computer Networks Layering and Routing Dina Katabi
Transit Traffic Engineering Nick Feamster CS 6250: Computer Networks Fall 2011.
Chapter 22 Network Layer: Delivery, Forwarding, and Routing
Authors Renata Teixeira, Aman Shaikh and Jennifer Rexford(AT&T), Tim Griffin(Intel) Presenter : Farrukh Shahzad.
I-4 routing scalability Taekyoung Kwon Some slides are from Geoff Huston, Michalis Faloutsos, Paul Barford, Jim Kurose, Paul Francis, and Jennifer Rexford.
CS 3700 Networks and Distributed Systems Inter Domain Routing (It’s all about the Money) Revised 8/20/15.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks BGP.
BGP topics to be discussed in the next few weeks: –Excessive route update –Routing instability –BGP policy issues –BGP route slow convergence problem –Interaction.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Inter-domain routing Some slides used with.
Eliminating Packet Loss Caused by BGP Convergence Nate Kushman Srikanth Kandula, Dina Katabi, and Bruce Maggs.
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.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
Inter-domain Routing Outline Border Gateway Protocol.
BGP Deployment & Scalability
CS 3700 Networks and Distributed Systems
Connecting an Enterprise Network to an ISP Network
2017 session 1 TELE3118: Network Technologies Week 6: Network Layer Control Plane Inter-Domain Routing Protocols Some slides have been adapted from:
CS 3700 Networks and Distributed Systems
Jian Wu (University of Michigan)
Controlling the Impact of BGP Policy Changes on IP Traffic
Border Gateway Protocol
ICMP ICMP – Internet Control Message Protocol
CS4470 Computer Networking Protocols
COS 561: Advanced Computer Networks
TCP Congestion Control
BGP supplement Abhigyan Sharma.
Interdomain Traffic Engineering with BGP
Introduction to Internet Routing
Intra-Domain Routing Jacob Strauss September 14, 2006.
Routing.
Department of Computer and IT Engineering University of Kurdistan
COS 561: Advanced Computer Networks
Routers Routing algorithms
COS 561: Advanced Computer Networks
COS 561: Advanced Computer Networks
Inter-domain Routing Outline Homework #3 solutions
COS 561: Advanced Computer Networks
BGP Policies Jennifer Rexford
Use of Simplex Satellite Configurations to support Internet Traffic
COMP/ELEC 429/556 Introduction to Computer Networks
BGP Interactions Jennifer Rexford
COS 461: Computer Networks
COS 561: Advanced Computer Networks
BGP Instability Jennifer Rexford
Bridges Neil Tang 10/10/2008 CS440 Computer Networks.
Computer Networks Protocols
Routing.
Network Layer: Internet Inter-Domain Routing
Presentation transcript:

COS 561: Advanced Computer Networks BGP Interactions Jennifer Rexford Fall 2017 (TTh 1:30-2:50pm in CS 105) COS 561: Advanced Computer Networks http://www.cs.princeton.edu/courses/archive/fall17/cos561/

Protocol Dynamics Interaction between BGP mechanisms Path exploration vs. route-flap damping Interaction with end-host applications Slow failure detection Slow protocol convergence Interaction with other routing protocols Intra-domain routing (e.g., OSPF/IS-IS) Interaction with traffic-engineering practices Frequent changes to routing policies

Persistent Routing Changes Causes Link with intermittent connectivity Congestion causing repeated session resets Persistent oscillation due to policy conflicts Effects Lots of BGP update messages Disruptions to data traffic High overhead on routers Solution Suppress paths that go up/down repeatedly … to avoid updates and prefer stable paths

Design and deployed in the mid-to-late 1990s Route Flap Damping BGP-speaking router One or more BGP neighbors Keep an “RIB-in” per neighbor Select single best route per destination prefix Route-flap damping Penalty counter per (peer, prefix) pair Increment penalty when peer changes route Decrease penalty over time when route is stable Design and deployed in the mid-to-late 1990s Widely viewed as helping improve stability

Example Why Damping is Good Consider AS 3 Path #1: (3,1,0) Path #2: (3,2,0) If link (1,0) fails AS 3 switches routes If link (1,0) restores If this happens a lot Better for AS 3 to stick with (3,2,0) (1,0) (2,0) 1 2 3

Damping Penalty Function suppression threshold penalty reuse threshold time

Configurable Damping Parameters Penalty for a routing change May vary with the type of update message Advertisement vs. withdraw? Attributes change? Decaying in absence of a change Exponent in the exponential decay Suppression threshold Trigger for damping the route Determines how many updates are tolerated Reuse threshold Trigger for considering the route again Determines how long the route is not usable

Best Common Practices for Damping Different parameters for different prefixes More aggressive with small address blocks Disable damping on certain prefixes (e.g., corresponding to the DNS root servers) Avoid suppressing stable routes Tolerate at least four routing changes Suppress unstable routes for quite a while Values ranging from 10 minutes to 1 hour Values for 30 minutes are not uncommon

Interaction with Path Exploration BGP routing convergence Explore one or more alternate paths Number of alternate paths may be quite high Time between steps is small (e.g., 30 seconds) Triggering route-flap damping Increasing penalty with each step Only small amount of decay between steps Convergence may trigger route flap damping Convergence may involve more than 4 changes Routing change may trigger lost connectivity!!! Ironically penalizes more richly connected sites

Effects of Damping are Confusing AS 0 is a stable network Link (1,3) fails a lot AS 3 switches routes back and forth a lot Sends new BGP updates to its customers Suppose AS 3 does not apply route-flap damping AS 3’s customers Eventually dampen route Causes lost reachability to destination in AS 0 1 2 3

Want to suppress unstable routes Open Questions Want to suppress unstable routes Otherwise, lots of update messages … and lots of transient disruptions Yet, want to tolerate path exploration Otherwise, you suppress stable routes … and black-hole otherwise reachable destinations How to reconcile? Better flap-damping parameters? More information in update messages? Something more gentle than suppression?

Multi-Homing

Why Connect to Multiple Providers? Reliability Reduced fate sharing Survive ISP failure Performance Multiple paths Select the best Financial Leverage through competition Game 95th-percentile billing model Provider 1 Provider 2

Outbound Traffic: Pick a BGP Route Easier to control than inbound traffic IP routing is destination based Sender determines where the packets go Control only by selecting the next hop Border router can pick the next-hop AS Cannot control selection of the entire path Provider 1 Provider 2 “(1, 3, 4)” “(2, 7, 8, 4)”

Outbound Traffic: Shortest AS Path No import policy on border router Pick route with shortest AS path Arbitrary tie break (e.g., router-id) Performance? Shortest path is not necessarily best Propagation delay or congestion Load balancing? Could lead to uneven split in traffic E.g., one provider with shorter paths E.g., too many ties with a skewed tie-break d s

Outbound Traffic: Primary and Backup Single policy for all prefixes High local-pref for session to primary provider Low load-pref for session to backup provider Outcome of BGP decision process Choose the primary provider whenever possible Use the backup provider when necessary But… What if you want to balance traffic load? What if you want to select better paths?

Outbound Traffic: Load Balancing Selectively use each provider Assign local-pref across destination prefixes Change the local-pref assignments over time Useful inputs to load balancing End-to-end path performance data E.g., active measurements along each path Outbound traffic statistics per destination prefix E.g., packet monitors or router-level support Link capacity to each provider Billing model of each provider

Outbound Traffic: What Kind of Probing? Lots of options HTTP transfer UDP traffic TCP traffic Traceroute Ping Pros and cons for each Accuracy Overhead Dropped by routers Sets off intrusion detection systems How to monitor the “paths not taken”?

Outbound Traffic: How Often to Change? Stub ASes have no BGP customers So, routing changes do not trigger BGP updates TCP flows that switch paths Out-of-order packets during transition Change in round-trip-time (RTT) Impact on the providers Uncertainty in the offered load Interaction with their own traffic engineering? Impact on other end users Good: move traffic off of congested paths Bad: potential oscillation as other stub ASes adapt?