ISP Border Definition. Alexander Azimov

Similar documents
BGP Attributes and Path Selection

BGP Attributes and Policy Control

TELE 301 Network Management

IBGP scaling: Route reflectors and confederations

BGP Attributes and Policy Control

BGP Attributes and Policy Control

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

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

BGP Scaling (RR & Peer Group)

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

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

Advanced Computer Networks

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

Inter-Domain Routing: BGP

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4

BGP. Autonomous system (AS) BGP version 4

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

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

Connecting to a Service Provider Using External BGP

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

BGP made easy. John van Oppen Spectrum Networks / AS11404

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

PART III. Implementing Inter-Network Relationships with BGP

IOS Implementation of the ibgp PE CE Feature

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

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

Introduction to BGP. ISP/IXP Workshops

Introduction to BGP ISP/IXP Workshops

BGP Tutorial. APRICOT 2004, Kuala Lumpur February Philip Smith APRICOT , Cisco Systems, Inc. All rights reserved.

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

Ravi Chandra cisco Systems Cisco Systems Confidential

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

BGP Multihoming ISP/IXP Workshops

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

Internet inter-as routing: BGP

internet technologies and standards

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

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

Internet Routing : Fundamentals of Computer Networks Bill Nace

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

LACNIC XIII. Using BGP for Traffic Engineering in an ISP

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

BGP Tutorial. APRICOT 2003, Taipei February Philip Smith APRICOT , Cisco Systems, Inc. All rights reserved.

BGP. BGP Overview. BGP Operation. BGP Neighbors

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

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

BGP and the Internet. Enterprise Multihoming. Enterprise Multihoming. Medium/Large ISP Multihoming. Enterprise Multihoming. Enterprise 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 Protocol & Configuration. Scalable Infrastructure Workshop AfNOG2008

BGP Cost Community. Prerequisites for the BGP Cost Community Feature

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

CS BGP v4. Fall 2014

BGP Scaling Techniques

BGP Support for Dual AS Configuration for Network AS Migrations

Internet Routing Protocols Lecture 01 & 02

Multiprotocol BGP (MBGP)

Border Gateway Protocol - BGP

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

BGP4 workshop scenario

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

BGP Multihoming. ISP/IXP Workshops

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

BGP Scaling Techniques

FAQ. Version: Copyright ImageStream Internet Solutions, Inc., All rights Reserved.

Connecting to a Service Provider Using External BGP

Lecture 16: Border Gateway Protocol

Lecture 18: Border Gateway Protocol

Lecture 17: Border Gateway Protocol

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

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

Inter-Autonomous-System Routing: Border Gateway Protocol

Interdomain Routing. Networked Systems (H) Lecture 11

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

From the given configuration taken from RTA and graphic, which network will be filtered from being propagated to RTC from RTA?

Module 6 Implementing BGP

Routing Between Autonomous Systems (Example: BGP4) RFC 1771

Internet Routing Protocols Lecture 03 Inter-domain Routing

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

Configuring BGP. Cisco s BGP Implementation

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Border Gateway Protocol

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

IPv6 Module 6 ibgp and Basic ebgp

BGP Diverse Path Using a Diverse-Path Route Reflector

Internet Interconnection Structure

CS 268: Computer Networking

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

BGP Graceful Shutdown

Simple Multihoming. ISP Workshops. Last updated 25 September 2013

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

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

Table of Contents 1 BGP Configuration 1-1

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

Configuring BGP on Cisco Routers Volume 1

BGP Additional Paths. Finding Feature Information. Information About BGP Additional Paths. Problem That Additional Paths Can Solve

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

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

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

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

Transcription:

ISP Border Definition Alexander Azimov <aa@qrator.net>

ISP goal (one ASN)

BGP Decision Process Step Attribute Transit 1 Highest Local Preference value Non-transit 2 Lowest AS Path length Transit 3 Lowest Origin type Transit 4 Lowest MED Non-transit 5 ebgp learned over ibgp learned Automatic 6 Lowest IGP cost to border router Local configuration 7 Lowest router Id Local configuration Send traffic with maximum benefit.

BGP Decision Process Step Attribute Transit 1 Highest Local Preference value Non-transit 2 Lowest AS Path length Transit 3 Lowest Origin type Transit 4 Lowest MED Non-transit 5 ebgp learned over ibgp learned Automatic 6 Lowest IGP cost to border router Local configuration 7 Lowest router Id Local configuration Get rid of traffic as soon as possible!

ISP goal (multiple ASNs) Profit ASN 1 + ASN 2 > Profit ASN 1 + Profit ASN 2

Multiple ASNs One ISP Upstreams Upstreams ISP Peers ASN 1 ASN 2 1 Peers Clients Clients Not so fast

Pref Transmission ISP ASN 1 ASN 2 ASN 3 ASN1 a. Assign pref ASN2

Pref Transmission ISP ASN 1 ASN 2 ASN 3 ASN1 a. Assign pref b. Community -> pref ASN2

Pref Transmission ISP ASN 1 ASN 2 ASN 3 ASN1 ASN2 a. Assign pref b. Community -> pref c. Community -> Pref

Hot potato routing ISP ASN 1 ASN 2 External Prepend 1 External ASN 3 ASN 1 ASN 2 AS Path 3 3 3

Hot potato routing ISP ASN 1 ASN 2 External Prepend 1 External ASN 3 ASN 1 ASN 2 AS Path 3 3 3

Hot potato routing ISP ASN 1 ASN 2 External Prepend 1 External ASN 3 ASN 1 ASN 2 AS Path 2 3 3

Securing Hot potato routing ISP ASN 1 ASN 2 External Prepend 1 External ASN 3 3->1 3->2 2->1 1->2 Origin IGP IGP EGP EGP ASN 1 ASN 2 AS Path 3 3 3

Securing Hot potato routing ISP External ASN 1 ASN 2 Isolation Prepend 1 External ASN 3 ASN 1 ASN 2 AS Path 3 3 3

Path Length: Increased ISP ASN 1 ASN 2 Peer ASN 3 Customer ASN 4 ASN 1 ASN 2 ASN 4 AS Path 3 1 3 2 1 3

Path Length: Route Loops ISP ASN 1 ASN 2 no-prepend Peer ASN 3 Customer ASN 4 ASN 1 ASN 2 ASN 4 AS Path 4 2 3 3 2 3

Multiple ASNs One Network Target Preference transmission Hot potato routing Path length Route Leak prevention Plain BGP 1. Synchronize Local Preference Values 2. Local-pref->Community->Local_pref Origin modification / router isolation Increased / Loop Risk Community synchronization There is no simple way!

rfc7705: Autonomous System Migration Mechanisms

rfc7705: Local ASN capability ASN 1 Global ASN 1 Local ASN 2 OPEN OPEN BGP session will be established if: ASN in OPEN message = Local ASN OR ASN in OPEN message = Global ASN

rfc7705: Migration ASN2 to ASN1 ISP ASN 1 RR Cluster Global ASN 1 Local ASN 2 1. Add Local AS capability to RR 2. Unite ALL RR in one cluster 3. Slow migration to ASN 1

rfc7705: Multiple ASNs One Network Target rfc 7705 Preference transmission Hot potato routing Path length Route Leak prevention What if you have single RR in legacy AS? 1. Synchronize Local Preference Values 2. Unite all RR in cluster Built in Partial increased / Loop Risk Community synchronization What if you have more than two networks to migrate?

rfc5065: ASN Confederations ASN 1 Sub-ASN 65000 Sub-ASN 65001 A collection of autonomous systems represented and advertised as a single AS number to BGP speakers that are not members of the local BGP confederation.

rfc5065: Internal Routing ASN 2 Sub-ASN 65000 Sub-ASN 65001 AS_CONFED ASN 1 ASN 3 ASN 1 ASN 65000 ASN 65001 ASN 3 AS Path 1 1 (65000) 1 2 1

rfc5065: Multiple sub-asns One ASN Target Preference transmission Hot potato routing Path length Route Leak prevention rfc5065 1. Synchronize Local Preference Values 2. Synchronize confederation list Built in Not increased Community synchronization How to extend to multi-asn level?

ISP Border Definition BGP Session is Internal if: Neighbor ASN = Local ASN Neighbor ASN = Global or Local ASN Plain BGP rfc5065 Neighbor ASN in Confederations list rfc7705 Next technical problem next ad-hoc?

The Neighbor Roles OPEN with internal role Notification OPEN with peer role Notification 4 pairs of non-conflict roles: 1. Peer <---> Peer 2. Customer <---> Provider 3. Complex <---> Complex 4. Internal <---> Internal

Preventing Route Leaks iotc internal Only To Customer attribute (zero size) Internal Session No iotc change Set iotc if neighbor is customer or peer Filter routes if iotc is set and neighbor is customer or peer If route was learned from a provider or peer it should not be announced to another provider or peer

ISP Border Definition OPEN with Internal role OPEN OPEN with Internal role OPEN Enable transmission of local attributes through If both sides are Internal

Securing Hot potato routing ISP ASN 1 ASN 2 Internal Prepend 1 External ASN 3 ASN 1 ASN 2 AS Path 3 3 3

Multiple ASNs One Network Target Preference transmission Hot potato routing Path length Route Leak prevention BGP + roles 1. Synchronize Local Preference Values 2. Synchronize roles Built in Increased / Loop Risk Built in

ISP Confederations ISP ASN 1 ASN 2 A collection of autonomous systems represented and advertised as a single AS number BGP speakers that are not members of the local BGP confederation.

Loop Prevention Internal Routing likewise ASN confederation; External Routing filter routes with AS Path segments from confederation list; These two rules guarantees loop free scenario!

Path Length ISP ASN 1 ASN 2 AS_CONFED filtered Peer ASN 3 Customer ASN 4 ASN 1 ASN 2 ASN 4 AS Path 3 3 (1) 2 3

A Simple Config protocol bgp IAMOPERATOR_1 { local as MY_AS1; neighbor X.X.X.X as MY_AS2; role internal; confederation MY_AS1, MY_AS2; }

Multiple ASNs One Network Target Preference transmission Hot potato routing Path length Route Leak prevention BGP + Roles + ISP Confederations 1. Synchronize Local Preference Values 2. Synchronize roles 3. Synchronize Confederation List Built in Not increased Built in There was no simple way!

Migration Process Roles deployment at connection links Pref transmition hot potato routing Roles deployment at ISP level Route Leak prevention ISP Confederation At ISP level No increase of AS Path

Summary ASN union vs ASN migration; Utilization with BGP confederations; Simplified configuration with no AS Path increase; Route Leak prevention; No affect on networks with single ASN.

Useful Links Draft, description and implementation of roles and route leak mitigation; Description and implementation of ASN union.