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

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

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

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

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

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

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

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

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4

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

internet technologies and standards

BGP. Inter-domain routing with the Border Gateway Protocol. Iljitsch van Beijnum Amsterdam, 13 & 16 March 2007

Inter-Domain Routing: BGP

Routing Between Autonomous Systems (Example: BGP4) RFC 1771

Internet Interconnection Structure

BGP Attributes and Path Selection

Internet inter-as routing: BGP

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

CS BGP v4. Fall 2014

c2001, Dr.Y.N.Singh, EED, IITK 2 Border Gateway Protocol - 4 BGP-4 (RFC intended to be used for routing between Autonomou

BGP Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

Table of Contents. BGP Configuration 1

BGP. BGP Overview. Formats of BGP Messages. I. Header

PART III. Implementing Inter-Network Relationships with BGP

Ravi Chandra cisco Systems Cisco Systems Confidential

Module 6 Implementing BGP

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

Connecting to a Service Provider Using External BGP

Table of Contents 1 BGP Configuration 1-1

Border Gateway Protocol - BGP

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Border Gateway Protocol. Version: Demo

2011, Sushile Tejwani

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

Configuring BGP on Cisco Routers Volume 1

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

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

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

BGP Attributes (C) Herbert Haas 2005/03/11 1

Configuring BGP community 43 Configuring a BGP route reflector 44 Configuring a BGP confederation 44 Configuring BGP GR 45 Enabling Guard route

Connecting to a Service Provider Using External BGP

Routing Protocols --- Exterior Gateway Protocol

Configuring BGP. Cisco s BGP Implementation

TELE 301 Network Management

BGP Attributes and Policy Control

University of Belgrade - School of Electrical Engineering Department of Telecommunications

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

CertifyMe. CertifyMe

ISP Border Definition. Alexander Azimov

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783.

Configuration prerequisites 45 Configuring BGP community 45 Configuring a BGP route reflector 46 Configuring a BGP confederation 46 Configuring BGP

Multiprotocol BGP (MBGP)

ibgp Multipath Load Sharing

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

BGP Attributes and Policy Control

Lecture 18: Border Gateway Protocol

Lecture 17: Border Gateway Protocol

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

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

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

Dynamics of Hot-Potato Routing in IP Networks

ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE. External Routing BGP. Jean Yves Le Boudec 2015

Implementing BGP. BGP Functional Overview. Border Gateway Protocol (BGP) is an Exterior Gateway Protocol (EGP) that allows you to create loop-free

CS321: Computer Networks Unicast Routing

Lecture 16: Border Gateway Protocol

LACNIC XIII. Using BGP for Traffic Engineering in an ISP

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

BGP. Attributes 2005/03/11. (C) Herbert Haas

Internetwork Expert s CCNP Bootcamp. Border Gateway Protocol (BGP) What Is BGP?

Graph abstraction: costs. Graph abstraction 10/26/2018. Interplay between routing and forwarding

Operation Manual BGP. Table of Contents

BGP Attributes and Policy Control

Internet Routing : Fundamentals of Computer Networks Bill Nace

Chapter 13 Configuring BGP4

Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA. 0945_05F9_c1.scr 1. RST _05_2001_c1

Outline. Organization of the global Internet. BGP basics Routing policies The Border Gateway Protocol How to prefer some routes over others

BGP Route Reflector Commands

Chapter 1. Getting Started

BGP-v4 Theory and Practice

Communication Networks

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

Configuring a Basic BGP Network

MPLS VPN Route Target Rewrite

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

FiberstoreOS BGP Command Line Reference

Inter-Domain Routing: BGP II

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

Architectures and Protocols for Integrated Networks. Intra-domain and Inter-domain Routing Protocols

Routing part 2. Electrical and Information Technology

Protecting an EBGP peer when memory usage reaches level 2 threshold 66 Configuring a large-scale BGP network 67 Configuring BGP community 67

IBGP scaling: Route reflectors and confederations

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

Configuring a Basic BGP Network

BGP Commands. Network Protocols Command Reference, Part 1 P1R-355

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Introduction to BGP ISP/IXP Workshops

Master Course Computer Networks IN2097

Configuring Internal BGP Features

This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics:

Inter-Domain Routing: BGP II

Transcription:

.. BGP Border Gateway Protocol (an introduction) Karst Koymans Informatics Institute University of Amsterdam (version 15.6, 2016/03/15 22:30:35) Tuesday, March 8, 2016 Karst Koymans (UvA) BGP Tuesday, March 8, 2016 1 / 72

. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 2 / 72

General ideas behind BGP Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 3 / 72

General ideas behind BGP Background Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 4 / 72

General ideas behind BGP Background BGP version 4 Border Gateway Protocol version 4 (BGP4) Specified in RFC 4271 The inter-as routing protocol Monopolises the Internet Based on path vector routing which is in-between distance vector and link state routing Uses (often non-coordinated) routing policies which can be problematic for convergence Karst Koymans (UvA) BGP Tuesday, March 8, 2016 5 / 72

General ideas behind BGP Background Autonomous system (AS). Definition (AS Autonomous System). A connected group of networks and routers. representing some assigned set of IP prefixes having a single, consistent routing policy both internally and externally Karst Koymans (UvA) BGP Tuesday, March 8, 2016 6 / 72

Autonomous system illustration

General ideas behind BGP Providers, Customers and Peers Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 8 / 72

Providers and Customers Internet IP IP Provider $$ IP Customer Internet The IP means IP data packet flow The $$ means money transfer

Peers Provider 1 $$ Provider 2 $$ Provider 3 IP IP $$ $$ $$ Customer 1 Customer 2 No packets Customer 3 No packets here means that packet flow between Customer 1 and Customer 3 usually will not flow through Provider 2.

Providers, Customers and Peers G1 IP $$ $$ G2 $$ $$ R1 $$ C1 C2 $$ $$ P1 P2 IP $$ $$ C3 $$ C4 What route will traffic between C1 and C2 take?

The AS abstraction

Providers, Customers and Peers routing preferences The order of preference for a route is Customers have highest preference Peers have the next highest preference Providers have the lowest preference Transit relationships are enforced by export filtering Do not advertise provider or peer routes to other providers or peers Do advertise all routes to customers Do advertise customer routes to providers and peers

Providers, Customers and Peers: Export filtering

General ideas behind BGP External and Internal BGP Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 15 / 72

General ideas behind BGP External and Internal BGP External and Internal BGP (1) EBGP (External BGP) Used for BGP neighbors between different ASs Exchanging prefixes Implementing policies IBGP (Internal BGP) Used for BGP neighbors within one and the same AS Distributing Internet prefixes across the backbone in order to create a consistent view among all entry/exit points Inserting locally originated prefixes for instance for customers that do not speak BGP Karst Koymans (UvA) BGP Tuesday, March 8, 2016 16 / 72

General ideas behind BGP External and Internal BGP External and Internal BGP (2) Routes imported from one IBGP peer are not distributed to another IBGP peer This prevents possible routing loops Loop detection is based on duplicates in AS paths EBGP detects this between different ASs IBGP cannot detect this inside one and the same AS Requires IBGP peers to be configured as a full mesh Karst Koymans (UvA) BGP Tuesday, March 8, 2016 17 / 72

General ideas behind BGP BGP information bases Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 18 / 72

General ideas behind BGP BGP information bases Routing Information Bases (RIBs) Adj-RIB-In (one per peer) Unprocessed routes received from peer Loc-RIB (only one globally) Routes after input filtering and best path selection Every AS needs an input policy Path selection is a fixed and specified algorithm Adj-RIB-Out (one per peer) Routes after output filtering Every AS needs an output policy Karst Koymans (UvA) BGP Tuesday, March 8, 2016 19 / 72

BGP route processing Receive BGP update Install route in Adj-RIB-In Apply import policy, filter and tweak attributes Apply best route selection algorithm Possibly install route in Loc-RIB Influence IP forwarding table Apply export policy, filter and tweak attributes Possibly install route in Adj-RIB-Out Transmit BGP update

The BGP protocol Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 21 / 72

The BGP protocol BGP protocol Uses TCP over port 179 Usually with a directly connected neighbor on layer 2 except when using multi-hop BGP (not common) Exchanges Network Layer Reachability Information (NLRI) Prefixes that can or can no longer be reached through the router Accompanied by BGP attributes used by the best route selection algorithm Karst Koymans (UvA) BGP Tuesday, March 8, 2016 22 / 72

The BGP protocol BGP attributes Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 23 / 72

The BGP protocol BGP attributes Some important BGP attributes In order of path selection importance LOCAL PREF (Local Preference) AS PATH ORIGIN (Historical) MULTI EXIT DISC (MED; Multi-exit discriminator) Unrelated to path selection NEXT HOP Must be reachable (directly or via IGP, except in the case of multi-hop BGP) Karst Koymans (UvA) BGP Tuesday, March 8, 2016 24 / 72

Next Hop in EBGP and IBGP

The BGP protocol BGP attributes BGP attribute types Well-known, mandatory ORIGIN, AS PATH, NEXT HOP Well-known, discretionary LOCAL PREF, ATOMIC AGGREGATE Optional, transitive COMMUNITIES, AGGREGATOR Optional, non-transitive MULTI EXIT DISC Karst Koymans (UvA) BGP Tuesday, March 8, 2016 26 / 72

The BGP protocol BGP attributes LOCAL PREF (Local Preference) Advertised within a single AS (via IBGP) Used to implement local policies Can depend on any locally available information This might be learned outside of BGP Default value is 100 Highest value wins Karst Koymans (UvA) BGP Tuesday, March 8, 2016 27 / 72

The BGP protocol BGP attributes AS PATH Sequence of ASs An AS can also be generalized to a set of ASs Used for loop detection The sequence length defines the metric (distance) Shortest path wins Prepend your own AS in EBGP updates Possibly multiple times, enabling traffic engineering Leave unchanged in IBGP updates Karst Koymans (UvA) BGP Tuesday, March 8, 2016 28 / 72

AS PATH example

AS PATH length can be deceptive

Traffic often follows AS PATH (in reverse)

Sometimes traffic does not follow AS PATH

The BGP protocol BGP attributes ORIGIN (Historic attribute) The ORIGIN attribute tells where the route (NLRI) originated Interior to the originating AS: ORIGIN = 0 Via the EGP protocol (historic): ORIGIN = 1 Via some other means: ORIGIN = 2 A lower ORIGIN wins In practice the ORIGIN is always 0 Karst Koymans (UvA) BGP Tuesday, March 8, 2016 33 / 72

The BGP protocol BGP attributes MULTI EXIT DISC (Multi-Exit Discriminator or MED) The MED (or metric, formerly INTER AS METRIC) is meant to be advertised between neighboring ASs (via EBGP) Some implementations carry MED on by IBGP Hot potato versus cold potato The MED is non-transitive (is not transferred into a third AS) A lower MED wins The default MED is 0 (lowest possible value) Some implementations choose the highest possible value Karst Koymans (UvA) BGP Tuesday, March 8, 2016 34 / 72

Best route selection. Definition (Route selection preference). 1. (Weight; Cisco specific). 2 Highest Local Preference. 3 Shortest AS Path. 4 (Lowest Origin; hardly used; historic). 5 Lowest MED. 6 Prefer EBGP over IBGP. 7 Lowest IGP cost to BGP egress.. 8 Lowest Router ID

The BGP protocol BGP messages Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 36 / 72

The BGP protocol BGP messages BGP message header 0 15 16 23 24 31 Marker Length Type We use the term message and not packet, because BGP packets are in fact part of one single TCP-stream. Karst Koymans (UvA) BGP Tuesday, March 8, 2016 37 / 72

The BGP protocol BGP messages BGP header fields. BGP header fields. Marker 128 bits of 1 (compatibility) Length Total length (min 19, max 4096) No padding a, Including header Type 1: OPEN 2: UPDATE 3: NOTIFICATION 4: KEEPALIVE 5: Route-REFRESH. a No superfluous bytes are allowed inside the TCP stream Karst Koymans (UvA) BGP Tuesday, March 8, 2016 38 / 72

The BGP protocol BGP messages BGP OPEN message 0 7 8 15 16 31 Version My Autonomous System Opt Parm Len Hold Time BGP Identifier Optional Parameters (variable) Karst Koymans (UvA) BGP Tuesday, March 8, 2016 39 / 72

The BGP protocol BGP messages OPEN message fields. OPEN message fields. Version 4. My Autonomous System Hold Time BGP Identifier Opt Parm Length Optional Parameters Sender s AS Liveness detection Sender s identifying IP address Length of parameter field TLV-encoded options One interesting parameter is the Capabilities Optional Parameter, which defines (among others) the Route Refresh Capability. Karst Koymans (UvA) BGP Tuesday, March 8, 2016 40 / 72

The BGP protocol BGP messages BGP KEEPALIVE message Karst Koymans (UvA) BGP Tuesday, March 8, 2016 41 / 72

The BGP protocol BGP messages BGP KEEPALIVE message This page intentionally left blank. Karst Koymans (UvA) BGP Tuesday, March 8, 2016 41 / 72

The BGP protocol BGP messages BGP KEEPALIVE message This page intentionally left blank. http://www.this-page-intentionally-left-blank.org/ Karst Koymans (UvA) BGP Tuesday, March 8, 2016 41 / 72

The BGP protocol BGP messages KEEPALIVE message fields. KEEPALIVE message fields.. :) Karst Koymans (UvA) BGP Tuesday, March 8, 2016 42 / 72

The BGP protocol BGP messages BGP NOTIFICATION message 0 7 8 15 16 31 Error code Error subcode Data (variable) Karst Koymans (UvA) BGP Tuesday, March 8, 2016 43 / 72

The BGP protocol BGP messages NOTIFICATION message fields. NOTIFICATION message fields. Error code 1: Message Header Error 2: OPEN Error 3: UPDATE Error 4: Hold Timer Expired.... Error subcode Data Depends on error code Depends on error code and subcode Karst Koymans (UvA) BGP Tuesday, March 8, 2016 44 / 72

The BGP protocol BGP messages BGP Route-REFRESH message 0 15 16 23 24 31 AFI Reserved SAFI Karst Koymans (UvA) BGP Tuesday, March 8, 2016 45 / 72

The BGP protocol BGP messages Route-REFRESH message fields. Route-REFRESH message fields. AFI Address Family Identifier Reserved 0. SAFI Subsequent Address Family Identifier Karst Koymans (UvA) BGP Tuesday, March 8, 2016 46 / 72

The BGP protocol BGP messages BGP UPDATE message 0 15 16 31 Unfeasible Routes Length Total Path Attribute Length Withdrawn Routes (variable length) Path Attributes (variable length) Network Layer Reachability Information (variable length) Karst Koymans (UvA) BGP Tuesday, March 8, 2016 47 / 72

The BGP protocol BGP messages UPDATE message fields. UPDATE message fields. Unfeasible Routes Length Withdrawn Routes Total Path Attribute Length Path Attributes Network Layer Reachability Information a A prefix is specified by its length and just enough bytes of the network IP address to cover this length. Length of Withdrawn Routes List of prefixes a Length of Path Attributes TLV-encoded attributes List of NLRI prefixes Karst Koymans (UvA) BGP Tuesday, March 8, 2016 48 / 72

Traffic Engineering Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 49 / 72

Tweaking your policies Outbound traffic Influenced by inbound routes and filters Tweak attributes to influence best route selection You are in control yourself Inbound traffic Influenced by outbound routes and filters Tweak attributes trying to influence your peers best route selection You are dependent on your peers policies

Traffic Engineering Outbound Traffic Engineering Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 51 / 72

Traffic Engineering Outbound Traffic Engineering Outbound Traffic Engineering Outbound TE works by manipulating incoming routes Changing local preference Extending inbound AS paths Manipulating the metric (MED), for instance by using inbound communities It is relatively simple Based on your own policy You are in control yourself Karst Koymans (UvA) BGP Tuesday, March 8, 2016 52 / 72

Choice between provider, peer or customer

Manipulating local preference Prefer customer over peer over provider

Multihomed setup

Singlehomed primary and backup links

Traffic Engineering Inbound Traffic Engineering Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 57 / 72

Traffic Engineering Inbound Traffic Engineering Inbound Traffic Engineering Inbound TE works by manipulating outgoing routes Extending outbound AS PATHs is a traditional hack Manipulating the metric (MED) is the official way Setting outbound communities is a more modern approach Agreements with your neighbors are necessary (common policy) Inbound is more complex than outbound Inbound depends (also) on neighbor s policy You are not in control by yourself Announcing more specific routes Method of last resort, but often a bad idea Karst Koymans (UvA) BGP Tuesday, March 8, 2016 58 / 72

Advertising a longer AS PATH

Your provider might overrule your effort

But you can make an agreement by using a community

Hot potato routing

Burnt by the hot potato

Cold potato routing by honoring MEDs

Traffic Engineering Inbound Traffic Engineering Communities An optional transitive attribute A community can be used to communicate preferred treatment of a route Communities can be used with both inbound as well as outbound Some communities have a well-known semantics NO EXPORT: don t export beyond current AS (or confederation) NO ADVERTISE: don t export at all Karst Koymans (UvA) BGP Tuesday, March 8, 2016 65 / 72

Traffic Engineering Inbound Traffic Engineering Use of communities Inbound from your upstream Learn where your upstream imported this route You can base policy decisions on that Outbound to your upstream Request specific upstream treatment Setting of local preference Announcements or not to specific ASs AS PATH prepending for certain peerings Your upstream promises to implement the requested policy Karst Koymans (UvA) BGP Tuesday, March 8, 2016 66 / 72

IBGP scaling Outline. 1 General ideas behind BGP Background Providers, Customers and Peers External and Internal BGP BGP information bases. 2 The BGP protocol BGP attributes BGP messages. 3 Traffic Engineering Outbound Traffic Engineering Inbound Traffic Engineering. 4 IBGP scaling Karst Koymans (UvA) BGP Tuesday, March 8, 2016 67 / 72

IBGP scaling Route reflectors Specified in RFC 4456 A route reflector is a kind of super IBGP peer A route reflector has clients with which it peers via IBGP and for which it reflects (transitively) routes A route reflector is part of a full mesh of other route reflectors and non-clients Karst Koymans (UvA) BGP Tuesday, March 8, 2016 68 / 72

Full mesh IBGP

Route reflector mesh

IBGP scaling Confederations Specified in RFC 5065 Use multiple private ASs inside your main AS Talk to the outside world with your main AS This hides the private ASs Talk to the inside world as if using EBGP and IBGP Using the different private ASs This needs special AS PATH segment types Karst Koymans (UvA) BGP Tuesday, March 8, 2016 71 / 72

Confederation with SubAS s