Swinog-3, 19 September 2001 Fabien Berger, BGP Oscillation …the Internet routing protocol is diverging! Fabien Berger CCIE#6143 IP-Plus.

Slides:



Advertisements
Similar presentations
Address-based Route Reflection Ruichuan Chen (MPI-SWS) Aman Shaikh (AT&T Labs - Research) Jia Wang (AT&T Labs - Research) Paul Francis (MPI-SWS) CoNEXT.
Advertisements

BGP Overview Processing BGP Routes.
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 1 BGP Diverse Paths draft-ietf-grow-diverse-bgp-paths-dist-02 Keyur Patel.
Internet Routing (COS 598A) Today: Topology Size Jennifer Rexford Tuesdays/Thursdays 11:00am-12:20pm.
1 © 2000, Cisco Systems, Inc. Integrated-ISIS Route Leaking.
1 © 2001, Cisco Systems, Inc. All rights reserved. ISP Workshops BGP Deployment & Scalability Mike Pennington Network Consulting Engineer Cisco Systems,
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)
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.
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.
BGP. 2 Copyright © 2009 Juniper Networks, Inc. BGP Overview Is an inter-domain routing protocol that communicates prefix reachablility.
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
Lecture 14: Inter-domain Routing Stability CS 268 class March 8 th, 2004 (slides from Timothy Griffin’s tutorial and Craig Labovitz’s NANOG talk)
S ufficient C onditions to G uarantee P ath V isibility Akeel ur Rehman Faridee
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.
Computer Networking Lecture 10: Inter-Domain Routing
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)
Feb 12, 2008CS573: Network Protocols and Standards1 Border Gateway Protocol (BGP) Network Protocols and Standards Winter
Release 5.1, Revision 0 Copyright © 2001, Juniper Networks, Inc. Advanced Juniper Networks Routing Module 6: Border Gateway Protocol.
BGP Attributes and Path Selections
1 © 2000, Cisco Systems, Inc. Session # Presentation_ID Border Gateway Protocol.
© 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.
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.
Chapter 9. Implementing Scalability Features in Your Internetwork.
Border Gateway Protocol
Xuan Zheng (modified by M. Veeraraghavan) 1 BGP overview BGP operations BGP messages BGP decision algorithm BGP states.
© 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.
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.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 ECSE-6600: Internet Protocols Informal Quiz #08: SOLUTIONS Shivkumar Kalyanaraman: GOOGLE: “Shiv.
Network Layer4-1 Intra-AS Routing r Also known as Interior Gateway Protocols (IGP) r Most common Intra-AS routing protocols: m RIP: Routing Information.
CS 268: Lecture 11 Inter-domain Routing Protocol Karthik Lakshminarayanan UC Berkeley (substituting for Ion Stoica) (*slides from Timothy Griffin and Craig.
Evolving Toward a Self-Managing Network Jennifer Rexford Princeton University
Internal BGP as PE-CE Protocol Pedro Marques Robert Raszuk Dan Tappan
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
© 2009 Cisco Systems, Inc. All rights reserved. Cisco Public Presentation_ID 1 BGP Prefix Origin Validation State Extended Community draft-pmohapat-sidr-origin-validation-signaling-00.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Scaling IGP and BGP in Service Provider Networks.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—5-1 Customer-to-Provider Connectivity with BGP Connecting a Multihomed Customer to a Single Service.
Deterministic Route Redistribution into BGP Enke Chen Jenny Yuan
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.
CS 640: Introduction to Computer Networks Aditya Akella Lecture 11 - Inter-Domain Routing - BGP (Border Gateway Protocol)
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—6-1 Scaling Service Provider Networks Introducing Confederations.
Doing Don’ts: Modifying BGP Attributes within an Autonomous System Luca Cittadini, Stefano Vissicchio, Giuseppe Di Battista Università degli Studi RomaTre.
1 QOS ©2000, Cisco Systems, Inc. BGP MED Churn Daniel Walton
BGP Deployment & Scalability
CS 3700 Networks and Distributed Systems
ISP Workshop Agenda Phithakkit Phasuk.
Boarder Gateway Protocol (BGP)
Теми: Routing Concepts Static Routing Dynamic Routing
BGP 1. BGP Overview 2. Multihoming 3. Configuring BGP.
CS 3700 Networks and Distributed Systems
Border Gateway Protocol
BGP supplement Abhigyan Sharma.
Interdomain Traffic Engineering with BGP
Lixin Gao ECE Dept. UMASS, Amherst
Cours BGP-MPLS-IPV6-QOS
Internet Routing (COS 598A) Today: Topology Size
Scaling Service Provider Networks
BGP Instability Jennifer Rexford
Presentation transcript:

Swinog-3, 19 September 2001 Fabien Berger, BGP Oscillation …the Internet routing protocol is diverging! Fabien Berger CCIE#6143 IP-Plus Backbone Engineering

Swinog-3, BGP Oscillation Fabien Berger, 2 Well known issue?  Does a BGP system always converge? –NO! –feature not a bug :)  Researchers have shown theoretical eBGP convergence issues –[Griffin]:  “bad gadget” topology diverges!  backup scenario diverges!  iBGP diverges in complex RR/confederation environment (draft- ietf-idr-route-oscillation-00.txt)

Swinog-3, BGP Oscillation Fabien Berger, 3 Goal of the presentation  make you aware of the issue (before the customer :) –troubleshooting not easy  pointer to solutions/discussions  presentation based on [NANOG] [Cisco] [IETF]

Swinog-3, BGP Oscillation Fabien Berger, 4 Convergence  convergence = “process of bringing all route tables to a state of consistency” –no loops!  does not converge -> you see (on a RR or a confed border): #show ip bgp | include best # Paths: (3 available, best #3) #show ip bgp | include best # Paths: (3 available, best #2) #show ip bgp | include best # Paths: (3 available, best #3)...

Swinog-3, BGP Oscillation Fabien Berger, 5 Cause of the Oscillation  RR/confederation hides some information –RR/confederation sends best path only –not all routers know all best paths  MED (Multi Exit Discriminator) vs IGP cost to the neighbor: A: path , igp cost 5, med 2 B: path , igp cost 50 C: path , igp cost 500, med 1  if A,B,C are known: B is best (assuming “deterministic-med” is enabled [detMED] :)  if C is hidden: A is best  A<B<C<A

Swinog-3, BGP Oscillation Fabien Berger, 6 Oscillation A DE AS Y MED 0 AS XAS Y MED 1 B C Cluster 1Cluster = Withdrawal = Advertisement Step 1 – B selects Y0 – C selects Y1 = Route Reflector = Client B C X3 Y 12 * * Y0 AS_PATHMEDIGP 10

Swinog-3, BGP Oscillation Fabien Berger, 7 Oscillation A DE AS Y MED 0 AS XAS Y MED 1 B C Cluster 1Cluster = Withdrawal = Advertisement Step 2 – C selects X = Route Reflector = Client B C * X3 Y 12 * Y0 AS_PATHMEDIGP Y Y 13

Swinog-3, BGP Oscillation Fabien Berger, 8 Oscillation A DE AS Y MED 0 AS XAS Y MED 1 B C Cluster 1Cluster = Withdrawal = Advertisement Step 3 – B selects X = Route Reflector = Client B C * X3 Y 12 Y0 AS_PATHMEDIGP Y * X4

Swinog-3, BGP Oscillation Fabien Berger, 9 Oscillation A DE AS Y MED 0 AS XAS Y MED 1 B C Cluster 1Cluster = Withdrawal = Advertisement Step 4 – C selects Y1 = Route Reflector = Client B C X3 * Y 12 Y0 AS_PATHMEDIGP 10 * X4

Swinog-3, BGP Oscillation Fabien Berger, 10 Oscillation A DE AS Y MED 0 AS XAS Y MED 1 B C Cluster 1Cluster = Withdrawal = Advertisement Step 5 – B selects Y0 = Step 1!! = Route Reflector = Client B C X3 * Y 12 0 AS_PATHMEDIGP 10

Swinog-3, BGP Oscillation Fabien Berger, 11 How to detect an oscillation?  Observe the latest received routes: –run every minute during 5 minutes #show ip route | include ^B_.*_00:00: –prefixes that appear 60% of the time are probably oscillating –full routing table must be traversed :(  Via SNMP: –poll ipRouteAge of ipRouteTable  Observation should be made in the core (top level RR, backbone sub-AS) –eBGP within a confed applies flap damping –RR client may see only the replacement route

Swinog-3, BGP Oscillation Fabien Berger, 12 Shall we care?  MED usage –34% of the prefix we receive have the MED set –75% of our peers have > 1 prefix with MED set  Potential AS that can oscillate (AS received via > 2 peers) –60% (upper bound, as-path not taken into account!)  Oscillation not propagated to customers because of damping  Oscillation seen in our backbone :( but cured :)

Swinog-3, BGP Oscillation Fabien Berger, 13 Solutions  configure bgp deterministic-med  full iBGP mesh when you can  do not listen to the MED (or only with stub-AS) –set metric 0 on all prefixes –bgp always-compare-med  use local-pref to force decision –exit no longer chosen by peer = more work :(  allow peer to set local-pref using community  protocol improvement –RR/confederation should send more than just the best path –closer to the iBGP full mesh :(

Swinog-3, BGP Oscillation Fabien Berger, 14 Conclusion  It’s happening today :(  It is possible to detect  Solutions (fixes) exist today  Protocol improvement on the way by IETF

Swinog-3, BGP Oscillation Fabien Berger, 15 References  [Cisco]  [IETF] draft-ietf-idr-route-oscillation-00.txt,  [Nanog] NANOG 21 Atlanta February 2001,  [Griffin]  [detMED]  [bgpDecision]

Swinog-3, BGP Oscillation Fabien Berger, 16 BGP Oscillation comments? questions? experiences?

Swinog-3, BGP Oscillation Fabien Berger, 17 BGP Decision Process [bgpDecision] 1. Largest weight 2. Largest local preference 3. Locally originated 4. Shortest AS-Path length 5. Lowest origin 6. Lowest Multi Exit Discriminator (cisco default = 0 unlesss “bgp- bestpath-missing-as-worst”) 7. Prefer EBGP over IBGP (conf EBGP=IBGP) 8. Lowest IGP metric 9. Lowest BGP router ID