Brent Sweeny Global Research NOC at Indiana University (USA) Terena Network Conference 19 April 2014 (Dublin)

Similar documents
Network Working Group Request for Comments: 1998 Category: Informational cisco Systems August 1996

Lecture 18: Border Gateway Protocol

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

L11 : Inter-domain Routing with BGP Lecture14 Michaelmas, 2016

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

Lecture 17: Border Gateway Protocol

BGP Attributes and Path Selection

IPv4/IPv6 BGP Routing Workshop. Organized by:

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

BGP. Autonomous system (AS) BGP version 4

BGP Case Studies. ISP Workshops

Balancing incoming traffic over multiple links

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

Service Provider Multihoming

BGP. Autonomous system (AS) BGP version 4

Multihoming Complex Cases & Caveats

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

Advanced Multihoming. BGP Traffic Engineering

Service Provider Multihoming

BGP. Autonomous system (AS) BGP version 4

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

Service Provider Multihoming

Request for Comments: 3345 Category: Informational AOL Time Warner, Inc. D. Walton A. Retana Cisco Systems, Inc. August 2002

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

BGP Multihoming ISP/IXP Workshops

Network Configuration Example

Service Provider Multihoming

Connecting to a Service Provider Using External BGP

LACNIC XIII. Using BGP for Traffic Engineering in an ISP

BGP Attributes and Policy Control

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

IBGP scaling: Route reflectors and confederations

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

Lecture 16: Border Gateway Protocol

TELE 301 Network Management

BGP Attributes and Policy Control

Internet Exchange BGP Route Server. Abstract

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

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

32-bit ASNs. Greg Hankins Chris Malayter APRICOT 2009 APRICOT /02/25

BGP101. Howard C. Berkowitz. (703)

BGP Configuration for a Transit ISP

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

Shim6: Network Operator Concerns. Jason Schiller Senior Internet Network Engineer IP Core Infrastructure Engineering UUNET / MCI

Module 8 Multihoming Strategies Lab

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

BGP Attributes and Policy Control

BGP Routing and BGP Policy. BGP Routing. Agenda. BGP Routing Information Base. L47 - BGP Routing. L47 - BGP Routing

Internet Routing Protocols Lecture 03 Inter-domain Routing

Unit 3: Dynamic Routing

Cisco CISCO Configuring BGP on Cisco Routers Exam. Practice Test. Version

Multihoming Case Study

BGP Multihoming. ISP/IXP Workshops

BGP made easy. John van Oppen Spectrum Networks / AS11404

Multihoming Techniques. bdnog8 May 4 8, 2018 Jashore, Bangladesh.

ISP Border Definition. Alexander Azimov

BGP Made Easy. John van Oppen NANOG PTC January 15th 2017

Using BGP Communities

Internet Routing Protocols Lecture 01 & 02

EE 122: Inter-domain routing Border Gateway Protocol (BGP)

Module 16 An Internet Exchange Point

Ravi Chandra cisco Systems Cisco Systems Confidential

Connecting to a Service Provider Using External BGP

Network Working Group. Category: Experimental June 1996

BGP Multihoming Techniques

Using BGP Communities

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

Introduction to IP Routing. Geoff Huston

How BGP Routers Use the Multi Exit Discriminator for Best Path Selection

CSE 561 Lecture 6, Spring David Wetherall

Inter-domain Routing. Outline. Border Gateway Protocol

Routing part 2. Electrical and Information Technology

CSCI-1680 Network Layer: Inter-domain Routing Rodrigo Fonseca

Internet Engineering Task Force (IETF) Category: Standards Track December 2012 ISSN:

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

BGP Route-Map Continue

Routing. Jens A Andersson Communication Systems

Modeling the Routing of an ISP

PART III. Implementing Inter-Network Relationships with BGP

Module 12 Multihoming to the Same ISP

4-Byte AS Numbers. The view from the Old BGP world. Geoff Huston February 2007 APNIC

Lab 3 Multihoming to the Same ISP

Internet inter-as routing: BGP

Junos OS Multiple Instances for Label Distribution Protocol Feature Guide Release 11.4 Published: Copyright 2011, Juniper Networks, Inc.

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

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

BGP Multihoming Techniques

Routing Between Autonomous Systems (Example: BGP4) RFC 1771

IBGP internals. BGP Advanced Topics. Agenda. BGP Continuity 1. L49 - BGP Advanced Topics. L49 - BGP Advanced Topics

32-bit ASNs. Philip Smith. AfNOG rd April 1st May Abuja, Nigeria

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Internet Engineering Task Force (IETF) Request for Comments: 6368 Category: Standards Track

IPv6 Module 16 An IPv6 Internet Exchange Point

Robust Routing Policy Architecture. Job Snijders NTT Communications

Network Working Group Request for Comments: August Address-Prefix-Based Outbound Route Filter for BGP-4

Internet Protocols Fall Lectures Inter-domain routing, mobility support, multicast routing Andreas Terzis

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Routing Basics. Campus Network Design & Operations Workshop

Module 6 Implementing BGP

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

Transcription:

BGP path 'hinting': A New Way to Influence Return Routing Brent Sweeny Global Research NOC at Indiana University (USA) sweeny@iu.edu Terena Network Conference 19 April 2014 (Dublin)

Topics Purpose (what's this all about?) Why? (why might this be a good idea?) Why not? (why might this be a bad idea?) How? (how might it be done?) How? (possible variations) What's necessary to make it work? Demonstration What next? 2

Purpose Allow end sites to 'hint' or suggest to intermediate networks a path the end site would prefer traffic take back toward them Use well-known BGP community values Its use is optional to intermediate networks 3

Why? (p.1) Some user-oriented reasons: Unequal paths toward user, end-user wants to direct Varying criteria for preference of a path even by the same site at different times for example: Lowest latency, irrespective of other measures Highest bandwidth, irrespective of other measures Symmetry Avoid lossy path Move traffic from a path, e.g. for a large demo Existing alternative methods aren't sufficient: there is no good way for end-users in multi-tiered, multihomed networks to indicate to a network more than a layer away how best to return traffic. (see what's wrong ) 4

Why? (p.2) Some 'community' and implementation considerations: 'R&E network community' approach may help establish a new convention (as with jumbo-mtu BCP) Common, documented approach easier to debug through net than current potpourri 'Normalized' approach could allow for selection to be programmed for general cases, not one-off exceptions to your normal routing policies Intermediate networks may use (default) criteria for path selection different than end-site's but may take requests into consideration 5

Why #2: What's wrong with current alternatives? Existing methods which work in some simple cases are insufficient, or Bad Ideas... for example: MEDs only communicates to next AS AS-prepending blunt tool: affects all who hear it Sending more-specifics blunt tool: affects all who hear it, some nets refuse them (and no scheme will work with very small netblocks for that reason) Withdrawing announcement in some directions very blunt tool Local-pref 'nudging' using per-network hint schemes (e.g. Internet2, NLR, carriers each have different schemes, others have none). Per-vendor communities are scoped only pervendor: a more generalized solution would be useful. There's no other good way to do this! 6

Why not? What problems could it cause? Does anyone remember ip source-route? Do end-sites know something about topology and policy (esp for intermediate networks) that the transit networks don't? (answer: sometimes, yes, but enough to override your policy?) Wrong people making the decision about traffic engr? How do you know the actual end-site really requested this? (the rogue transit network : could it be a DoS? Do you trust your peers?) Added complexity to routing, troubleshooting Will it scale to lots of networks? Is it maintainable? Some networks filter local BGP communities 7

How? The BGP Community Defined in RFC1997, 'extended' in RFC4360. A 32-bit (or 64-bit 'extended') value commonly encoded 16bits:16bits with an Autonomous System number in the 1 st field and a value with meaning to that AS in the 2 nd : e.g. 11537:950. Used to 'mark' prefixes with values that can be used in policies for arbitrary special treatment (higher, lower, refused, classification, etc.) Generally (but not always) transitive. There are some pre-defined well-known community values. 8

How? Very simple first step: Propose a 'well-known' consensus-agreedupon set of unique BGP communities that work in the same way among any transits who choose to participate Attached to hinted prefixes by originator of the BGP announcement, who is the owner of the 'hinted' destination Format: ( well-known hinting value) : (AS-path-selection) e.g. 60000:11537 Where the hinting value is an well-known number, and ASpath-selection is the 'hint' to what network to prefer for return traffic toward the originator of the prefix. Read as please, whoever sees this, when you're deciding which available path to send traffic to me, I'd prefer you use AS11537. Some networks in the path must pass the signal upstream Participating transit-nets modify their policy to implement hinting any way they choose 9

Possible Enhancements Degrees of preference (prefer path through network A less, B more) Hierarchy of preference (prefer path through network A first, network E second, network K third) Mark or signal continents or countries to avoid suboptimal paths 10

How? (example) A B End site sends 'hint' upstream: prefer path via transit network 'Y' Upstream network 'Z' honors the request and prefers 'Y' path for end site's requested prefixes Endsite could change preference at any time (and so could 'Z'!) C 11

What's necessary to make it work? 1)General agreement on a method ( critical mass ) 2)Willingness at some user sites to use this method for hinting 3)Agreement by some R&E transit networks ideally those who carry traffic for users in #2 above to implement that method (#1) and to honor at least some requests 12

It's (slightly) past the talking phase... It's been done, as a proof-of-concept, in a multipath, multi-as network 13

Demonstration Logic: If I want to to honor hinting requests from peers Q & M On inbound policy from each of Q & M: If a prefix has the hinting community 'marking' Then give it a high local-preference, e.g. (JunOS): policy-statement HINTS term HINT-I2 from community HINT-I2 <which is 60000:11537 today> then local-preference 5000 term HINT-NLR from community HINT-NLR <60000:19401> then local-preference 5000 Result: prefer path through I2 or NLR toward that prefix Else (other peers or no hint) leave unchanged, apply normal policies and BGP path-selection 14

How does it work? (bird's-eye view)

Before: many ASs between IUB and TransPAC, normal Traffic flow is through Internet2

IUB signals (via BGP community attached to an individual prefix announcement) a request for a specific return path Advertise 'hint'

TransPAC honors the request and selects the different return path

How does it work? (the details)

Construction of the 'hint' signal Originator of the prefix attaches a BGP community to the prefix containing the 'hint' BGP communities conventionally have two parts: 16 bits of autonomous-system number, usually a marker for who should listen 16 bits arbitrary to the listener The hinting community uses a unique 'well-known' ASN specific to this function: 27198; the 2 nd field is the ASN of the network through which you request upstream network operators to send the traffic back towards you. e.g. Please send back through APAN: 27198:7760.

Requesting site marks traffic with 'hint' (JunOS:) from { route-filter 129.79.9.1/32 exact; # could also use prefix-list } then { community add 27198:19401; }

Upstream site honors 'hint' (JunOS configuration in the TransPAC router): community HINT-I2 members 27198:11537; (11537 is Internet2's AS) community HINT-NLR members 27198:19401; (19401 is NLR's AS) policy-statement HINT-IN { term hint-i2 { from community HINT-I2; then { local-preference 5000; next-hop 207.231.240.131; next term; }.. term hint-nlr { from community HINT-NLR; then { local-preference 5000; next-hop 207.231.241.14; next term; }.. (add to BGP import policies)

Watch out for loops! A loop is possible IFF: 'signaling' site requests hints to multiple networks Transit site is connected to >1 of them To avoid this: Be careful initiating multiple hints Transit site may be able to avoid with more complicated policy, by examining AS-path or by examining hint-requests for directional validity you want to send traffic only toward requester

Current status Did proof-of-concept from Indiana University through Indiana Gigapop, NLR & Internet2, to TransPAC in Los Angeles to influence altered return path Worked with ARIN to procure unique AS27198 used for 'signaling'; received Feb'09. (This is a 'paid' ASN; it'd be better to be able to get a long-term experimental one.) Several expressions of interest from R&E nets; need to convert those to action; working to publicize more Plan to document as draft RFC Goal to have path-hinting in place in some R&E networks for Supercomputing conference

Mailing list A Sympa mailing list for those interested in further discussion of this path-hinting idea has been created. Its name is bgp-hinting-l@indiana.edu To subscribe, send a note to list@list.indiana.edu with this subject line: subscribe bgp-hinting-l <firstname> <lastname> and nothing in the body.

Selected References 1 Chandra, Traina, Li, RFC1997, BGP Communities Attribute (1996). Chen & Bates, RFC1998 An Application of the BGP Community Attribute in Multi-home Routing (1996). Sangli, Tappan, Rekhter, RFC4360, BGP Extended Communities Attribute (2006). Meyer, RFC4384/BCP114, BGP Communities for Data Collection (2006). IANA, Data Collection Standard Communities per RFC4360 (2007). Olivier Bonaventure et al., Internet Draft (Draft-bonaventure-bgpredistribution), Controlling the redistribution of BGP Routes (2002). 26

Selected References 2 Jin Tanaka (JP-NOC/KDDI), BGP Routing with Communities, presented at the 24 APAN Meeting Network Engineering Workshop, August 2007 and the October 2007 Internet2 Member Meeting RENOG session with additional suggestion from Akira Kato. Robert Raszuk (Cisco) BGP Wide Communities, presented at NANOG49 (2010) see http://www.ietf.org/proceedings/78/slides/idr- 2.pdf Brent Sweeny, BGP path 'hinting' proposal, presented as it evolved to JET, Internet2/ESnet Joint Techs, and Internet2 Member meetings 2006-2012. 27

Questions? Comments? Discussion? Thank you for your attention! My email: sweeny@iu.edu 28