Routing and RFC AKA using BGP communities to influence routing

Similar documents
BGP Configuration for a Transit ISP

BGP and the Internet

Introduction to IP Routing. Geoff Huston

DE-CIX Academy: BGP Introduction. Notice of Liability. BGP Configuration Examples. Network Diagram for all examples. Links and Examples

BGP made easy. John van Oppen Spectrum Networks / AS11404

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

BGP Policy Control. ISP Workshops. Last updated 17 May 2014

BGP Attributes and Policy Control

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

Monitoring BGP. Configuring the Router

BGP Attributes and Policy Control

BGP Attributes and Policy Control

ISP Border Definition. Alexander Azimov

Using BGP Communities

IPv4/IPv6 BGP Routing Workshop. Organized by:

BGP and the Internet

Using BGP Communities

BGP route filtering and advanced features

Connecting to a Service Provider Using External BGP

Service Provider Multihoming

BGP Policy Control. ISP Workshops

BGP Multihoming Techniques

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

Service Provider Multihoming

Robust Routing Policy Architecture. Job Snijders NTT Communications

Module 13 Multihoming to Different ISPs

Multihoming with BGP and NAT

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

Module 8 Multihoming Strategies Lab

DE-CIX Academy: BGP - Multihoming

Routing Control at Peering Points. HKNOG 0.1 Raphael Ho

BGP. BGP Overview. BGP Operation. BGP Neighbors

BGP101. Howard C. Berkowitz. (703)

Service Provider Multihoming

Multihoming Complex Cases & Caveats

BGP Multihoming Techniques

BGP and the Internet

IPv6 Module 7 BGP Route Filtering and Advanced Features

3/10/2011. Copyright Link Technologies, Inc.

BGP Multihoming Techniques

BGP Multihoming ISP/IXP Workshops

BGP Multihoming Techniques

BGP4 workshop scenario

A Day in the Life of an Address. Bill Fenner AT&T Labs - Research IETF Routing Area Director

Module 3 BGP route filtering and advanced features

Advanced Multihoming. BGP Traffic Engineering

BGP and the Internet. Why Multihome? Why Multihome? Why Multihome? Why Multihome? Why Multihome? Redundancy. Reliability

LACNIC XIII. Using BGP for Traffic Engineering in an ISP

Module 1b IS-IS. Prerequisites: The setup section of Module 1. The following will be the common topology used for the first series of labs.

Network Configuration Example

Implementation of RPKI and IRR filtering on the AMS-IX platform. Stavros Konstantaras NOC Engineer

BGP Tutorial AFNOG2000 Class IP Assignments

Lecture 17: Border Gateway Protocol

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

BGP and the Internet. Enterprise Multihoming. Enterprise Multihoming. Medium/Large ISP Multihoming. Enterprise Multihoming. Enterprise Multihoming

Enhanced Feasible-Path Unicast Reverse Path Filtering draft-sriram-opsec-urpf-improvements-01

BGP Multihoming Techniques

BGP Tutorial Part 3 Multihoming

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

BGP Attributes and Policy Control. BGP Attributes. Agenda. What Is an Attribute? AS-Path. AS-Path loop detection. BGP Attributes

Lecture 18: Border Gateway Protocol

Connecting to a Service Provider Using External BGP

Lab 2 BGP route filtering and advanced features

I Commands. Send comments to

BGP Attributes and Policy Control. BGP Attributes. BGP Attributes. Agenda. What Is an Attribute? AS-Path. ISP/IXP Workshops.

BGP Attributes and Path Selection

Service Provider Multihoming

Balancing incoming traffic over multiple links

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

Traffic engineering on a multihoming environment. Fernando García

APNIC Internet Routing Registry

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

Data Plane Protection. The googles they do nothing.

IOS Implementation of the ibgp PE CE Feature

LARGE SCALE IP ROUTING

BGP Multihoming. ISP/IXP Workshops

The information in this document is based on Cisco IOS Software Release 15.4 version.

Module 12 Multihoming to the Same ISP

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

BGP Route-Map Continue

BGP Graceful Shutdown

Routing Implementation

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

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

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

Multihoming Case Study

BGP for Internet Service Providers

Module 19 Internet Exchange Points

Module 6 Implementing BGP

Lab 3 Multihoming to the Same ISP

BGP Named Community Lists

Introduction to BGP ISP/IXP Workshops

BGP Scaling Techniques

CCIE R&Sv5 Mock Lab 1 Mohamed Jaziri 3xCCIE P a g e 1

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

Module 10 An IPv6 Internet Exchange Point

BGP Techniques for ISP. Terutaka Komorizono

BGP Policy Accounting

Practical everyday BGP filtering with AS_PATH filters: Peer Locking

IPv6 Module 16 An IPv6 Internet Exchange Point

Transcription:

Routing and RFC-1998 AKA using BGP communities to influence routing

Routing and RFC-1998 Jason Sinclair and Bob Purdon PIPE Networks Ltd PIPE Networks

What is RFC-1998? RFC-1988 discusses the use of the BGP community attribute to provide hints to upstream providers on how you wish to have your traffic routed. RFC-1988 provides a short example of manipulating local preference on an upstream provider s network based on the community attribute. In the real world, some providers do not support this functionality at all, and some offer quite rich functionality. This can be handy for networks that are multi-homed and wish to influence the distribution of traffic over multiple upstream circuits. From the upstream provider s perspective, a standard configuration can support varying customer needs, and customers can adjust routing themselves without requiring reconfiguration at the provider end.

Who supports this stuff? Over the last month or so the guys at PIPE have been researching various transit providers to see who supports what Of those we researched, the following support the use of the BGP community attribute by customers: Verizon - AS703 NTT - AS2914 VSNL - AS6453 Powertel - AS9837 Uecomm - AS10223 AAPT - AS2764 Vocus - AS4826 Optus - AS7474 Pacnet - AS10026 There are no doubt others that we didn t research.

Who supports this stuff? A couple of providers didn t respond to us. A couple cited a lack of customer demand for not implementing RFC-1998 style support (PIPE being one, although we re likely to do it for completeness in the not too distant future). One cited added difficulty in capacity planning. A couple gave no specific reason - they just don t support it

Who supports this stuff? Verizon - AS703 Supports altering of LOCAL_PREF Supports AS Prepend Supports route black holing Supports keeping prefix within regional network only. Supports keeping prefix within entire network only. AAPT - AS2764 Supports altering of LOCAL_PREF Supports keeping prefix within local pop only. Supports keeping prefix within regional network only. Supports keeping prefix within entire network only.

Who supports this stuff? NTT - AS2914 Supports altering of LOCAL_PREF Supports AS prepend Supports selective prefix advertisement to peer. Supports keeping prefix within entire network only. Vocus - AS4826 Supports AS prepend Supports route black holing Supports selective prefix advertisement to peer.

Who supports this stuff? VSNL - AS6453 Supports altering of LOCAL_PREF Supports route black holing Supports keeping prefix within entire network only. Optus - AS7474 Supports altering of LOCAL_PREF Powertel - AS9837 Supports keeping prefix within entire network only.

Who supports this stuff? Pacnet - AS10026 Supports altering of LOCAL_PREF Supports AS prepend Supports selective prefix advertisement to peer. Supports keeping prefix within entire network only. Uecomm - AS10223 Supports altering of LOCAL_PREF Supports route black holing

What does it look like? Taking Vocus as an example: 4826:1000 Export to All 4826:2100 Export to Level 3 4826:2101 Prepend once to Level 3 4826:2102 Prepend twice to Level 3 4826:2103 Prepend 3x to Level 3 4826:2108 Set No-Export to Level 3 announcement 4826:2109 Do not Export to Level 3 4826:2200 Export to Verizon 4826:2201 Prepend once to Verizon 4826:2202 Prepend twice to Verizon 4826:2203 Prepend 3x to Verizon 4826:2208 Set No-Export to Verizon announcement 4826:2209 Do not Export to Verizon 4826:666 Black hole

How do I use this stuff? A pretty simplistic example: router bgp 24130 network 192.168.1.0 network 192.168.2.0 network 192.168.3.0 neighbor x.x.x.x remote-as 4826 neighbor x.x.x.x route-map AS4826-EXPORT out neighbor x.x.x.x send-community We re going to advertise 3 x /24 s to our upstream. The route-map is where the real work gets done

How do I use this stuff? The prefix-list will determine which prefixes we wish to set the community on: ip prefix-list AS4826-PREFIXES-OUT-PREPEND seq 10 permit 192.168.1.0/24 ip prefix-list AS4826-PREFIXES-OUT-PREPEND seq 12 permit 192.168.2.0/24 ip prefix-list AS4826-PREFIXES-OUT-PREPEND seq 99 deny 0.0.0.0/0 le 32 The AS-path access list is how we ll permit everything else. ip as-path access-list 1 permit.*

How do I use this stuff? First up we match against the prefix list. If we get a match, we set the communities required for our upstream (Vocus in this example) to prepend 3 times to both Level 3 and Verizon. route-map AS4826-EXPORT permit 10 match ip address prefix-list AS4826-PREFIXES-OUT-PREPEND set community 4826:2103 4826:2203 The next section of this route-map matches everything else and permits it un-altered. route-map AS4826-EXPORT permit 20 match as-path 1

How do I use this stuff? A catch all at the end doesn t do much in this example. route-map AS4826-EXPORT deny 30 match as-path 1 This configuration will cause Vocus to prepend 3 times for 192.168.1.0/24 and 192.168.2.0/24, while leaving 192.168.3.0/24 untouched. Of course in the real world you d have better announcement filtering

A community resource. We re intending to put together a community resource, either hosted at PIPE, or on the AusNOG web site, that lists the communities supported by various providers within Australia. If you represent a transit provider, and you support RFC-1998 like functionality (or you don t, and you want to be listed as such), then please e-mail bobp@pipenetworks.com and we ll get your information added to the list.

What else can I do with communities? This presentation has been all about sending community attributes to upstream providers, but of course you can use communities internally within your network. On the transit network at PIPE we assign communities to prefixes we learn from upstream transit providers and customers. In doing so, at any point in our network we know where we learned a given prefix from, and by filtering, we can control where we advertise it to. We can tell which transit provider a prefix came from, if we learned it from peering (and if so, from which state), and whether we learned it via BGP from a customer or as the result of a network statement in the BGP config. How you do this might be the subject of a future presentation

Thank you This concludes our presentation PIPE Networks