On the structure and application of BGP Policy Atoms. Tel-Aviv University

Similar documents
Routing Protocols of IGP. Koji OKAMURA Kyushu University, Japan

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

PART III. Implementing Inter-Network Relationships with BGP

TELE 301 Network Management

internet technologies and standards

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

Border Gateway Protocol

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

Operation Manual BGP. Table of Contents

Routing Unicast routing protocols

Internet Routing : Fundamentals of Computer Networks Bill Nace

Routing. Jens A Andersson Communication Systems

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

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

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

Routing Basics ISP/IXP Workshops

Routing, Routing Algorithms & Protocols

Routing Between Autonomous Systems (Example: BGP4) RFC 1771

Routing Protocols --- Exterior Gateway Protocol

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

Routing(2) Inter-domain Routing

Introduction to Dynamic Routing Protocols

CS519: Computer Networks. Lecture 4, Part 5: Mar 1, 2004 Internet Routing:

CS BGP v4. Fall 2014

Why dynamic route? (1)

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

Lecture 16: Border Gateway Protocol

Inter-Domain Routing: BGP

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

FINAL EXAM - SLOT 2 TCP/IP NETWORKING Duration: 90 min. With Solutions

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

Configuring BGP. Cisco s BGP Implementation

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

Basic Idea. Routing. Example. Routing by the Network

EECS 122, Lecture 16. Link Costs and Metrics. Traffic-Sensitive Metrics. Traffic-Sensitive Metrics. Static Cost Metrics.

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

Beyond CIDR Aggregation

IBGP scaling: Route reflectors and confederations

Routing by the Network

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

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

Routing Basics ISP/IXP Workshops

Internet Interconnection Structure

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

Distance vector and RIP

Border Gateway Protocol (BGP-4)

BGP. Autonomous system (AS) BGP version 4

Inter-domain Routing. Outline. Border Gateway Protocol

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

Inter-Autonomous-System Routing: Border Gateway Protocol

Routing part 2. Electrical and Information Technology

BGP. BGP Overview. BGP Operation. BGP Neighbors

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

Internet Routing Protocols Lecture 01 & 02

BGP. Autonomous system (AS) BGP version 4

Open Shortest Path First (OSPF)

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing

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

Configuring MPLS L3VPN

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

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Chapter 3. Introduction to Dynamic Routing Protocols. CCNA2-1 Chapter 3

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

Inter-Autonomous-System Routing: Border Gateway Protocol

Internet inter-as routing: BGP

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

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN

BGP. Autonomous system (AS) BGP version 4

Introduction to BGP ISP/IXP Workshops

Routing Protocols and

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

BGP made easy. John van Oppen Spectrum Networks / AS11404

Internet Routing Protocols Lecture 03 Inter-domain Routing

RIP Configuration. RIP Overview. Operation of RIP. Introduction. RIP routing table. RIP timers

Introduction to IP Routing. Geoff Huston

EXAM TCP/IP NETWORKING Duration: 3 hours

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

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

Lecture 18: Border Gateway Protocol

Campus Networking Workshop CIS 399. Core Network Design

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

A Configuration-only Approach to FIB Reduction. Paul Francis Hitesh Ballani, Tuan Cao Cornell

Chapter 17 BGP4 Commands

Lecture 4: Intradomain Routing. CS 598: Advanced Internetworking Matthew Caesar February 1, 2011

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

Operation Manual MCE H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Lecture 17: Border Gateway Protocol

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

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

COMP/ELEC 429 Introduction to Computer Networks

HP 5920 & 5900 Switch Series

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

CS4700/CS5700 Fundamentals of Computer Networks

Inter-Domain Routing: BGP II

Dynamics of Hot-Potato Routing in IP Networks

BGP. Internal and External BGP 2005/03/11. (C) Herbert Haas

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

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

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

A configuration-only approach to shrinking FIBs. Prof Paul Francis (Cornell)

Transcription:

On the structure and application of BGP Policy Atoms Yehuda Afek Omer Ben-Shalom Anat Bremler-Barr Tel-Aviv University 1

What are BGP policy atoms BGP atoms are a possible mid level aggregate of IP space suggested by Andre Broido and kc claffy from CAIDA Subnets/prefixes BGP Published subnet (CIDR/prefixes) Atoms ASs (Autonomous systems) 2

Why BGP policy atoms? A higher level aggregate over the prefix level can reduce complexity Measurements Processing/Memory Created by policy Can help us understand Internet Policy 3

Lecture Outline Atom definition Atom calculation methods Are atoms stable? Atom Correlation to BGP updates Where are atoms created? Using Atoms 4

BGP reminder BGP is the Internet routing protocol Routes traffic between Autonomous system (AS) BGP Is a distance vector protocol Uses AS hop count as the vector Keeps the whole path to avoid loops (AS_path attribute) 5

BGP reminder AS is the base unit All traffic to the same destination AS should follow the same AS path Enforcing policy Per prefix attributes (local pref etc) Selective blocking of advertisement 6

multiple AS path to prefixes in the same AS BGP tables contain different AS path to prefixes in the same destination AS Prefix 123.45.68.0/21 123.45.76.0/21 123.45.84.0/21 AS path 12 34 56 12 34 56 14 45 56 7

Network 56.0.8.0/21 Network 56.0.16.0/21 Finding out where policy was set is not easy! Prefix AS path Preference AS 34 BGP table: 56.0.8.0/21 2 56 1 56 200 100 56.0.16.0/21 1 56 0 AS 34 56.0.16.0 filter here? Ingress? Egress? AS 1 AS 2 56.0.16.0 filter here? Ingress? Egress? AS 56

Prefix grouping by AS_path group prefixes with same BGP AS path on a single router 9

View of a single router in AS 9 two atoms

View of a single router in AS 8 two atoms

Joint view of AS 8 + 9 Three atoms

Atom definition Atom definition Prefix group which appear in the same local group on any BGP router / shows no contradiction An Atom is assumed the result of policy fault should affect full atoms 13

Scale comparison Entity Announced Prefixes Atoms AS Count > 110K (now ~115K) > 20K > 12K (now ~14K) Atoms are much closer to AS in scope!!! 14

AS, Atom and Prefix size 1211 15

Practical Atom definition Defined in theory by all BGP tables Can be calculated well by sample (8) of BGP views taken in a snapshot Analog to viewing a very complex 3D graph from 8 spatial locations Beware of same angle 16

Practical Atom calculation Get snapshot of many BGP tables p1 1 2 3 4 p1 8 5 6 4 p2 1 9 5 4 p2 5 3 1 4 p3 1 2 3 4 p3 8 5 6 4 p4 1 9 5 4 p4 5 3 1 4 p5 1 9 5 4 p5 8 5 6 4 Create an AS_path set for each prefix p1 p2 p3 p4 p5 1 2 3 4 8 5 6 4 1 9 5 4 5 3 1 4 1 2 3 4 8 5 6 4 1 9 5 4 5 3 1 4 1 9 5 4 8 5 6 4 Each AS_path set is an atom 17

Alternate Calculation Is the snapshot method valid? Uses distributed snapshot No guarantee of synchronization Filter out prefixes not assured converged Repeat a number of times and group prefixes with no contradiction to clique 18

8:00 8:10 8:20 8:30 8:40 8:50 9:00 9:10 9:20 9:30 9:40 9:50 10:00 10:10 Prefix 1 cannot be included at the 08:15 calculation Prefix 2 cannot be included at the 10:00 calculation Prefix 1 Prefix 2 Calculation time

Alternate calculation Results close to snapshot method (2-3%) Snapshot is valid? Different noise? 20

Atom Stability Atoms calculated stable to 3% of prefixes in 8 hour period Much more stable then the prefix AS path attribute. Still Less stable then expected Policy set Manually or by script but by design 21

BGP updates BGP groups prefixes in same update if they share same attributes TIME: 09/01/01 12:23:27 TYPE: BGP4MP/MESSAGE/Update FROM: 64.211.147.146 AS3549 TO: 193.0.0.1 AS12654 ORIGIN: IGP ASPATH: 3549 6453 12956 4926 NEXT HOP: 64.211.147.146 COMMUNITY : 3549:2246 3549:9840 ANNOUNCE 200.16.216.0/24 192.67.345.0/24 22

Correlating Atoms to updates Fault should affect full atoms and be in one update All attributes are the same 75% of updates include single, full atom 86% contain prefixes from one atom only Full AS prefix set appears in just 20% of updates 23

Atom split locations Where do atoms get created? Policy normally enforced in source AS or neighbor How can we calculate the split location? 24

Atom split example Atom Prefixes AS path set #1 11.0.1.0/24 11.0.2.0/24 11.0.3.0/24 11.0.4.0/24 11.0.5.0/24 R1: 12 R2: 12 R3: 12 All prefixes belong to AS 12 (len 1) 26

Atom split example Atom Prefixes AS path set #1 #2 11.0.1.0/24 11.0.2.0/24 11.0.3.0/24 11.0.4.0/24 11.0.5.0/24 R1: 3 12 R2: 4 12 R3 5 12 R1: 3 12 R2: 4 12 R3 6 12 New atom due to different path at R3 (len 2) 27

Atom split example Atom Prefixes AS path set #1 #2 #3 11.0.1.0/24 11.0.2.0/24 11.0.3.0/24 11.0.4.0/24 11.0.5.0/24 R1: 17 3 12 R2: 54 4 12 R3 25 5 12 R1: 17 3 12 R2: 54 4 12 R3 22 6 12 R1: 19 3 12 R2: 54 4 12 R3 22 6 12 New atom by different path at R1 (len 3) 28

Atom split example Atom Prefixes AS path set #1 #2 #3 11.0.1.0/24 11.0.2.0/24 11.0.3.0/24 11.0.4.0/24 11.0.5.0/24 R1: 2 17 3 12 R2: 100 34 54 4 12 R3: 22 11 25 5 12 R1: 2 17 3 12 R2: 100 34 54 4 12 R3: 99 13 22 6 12 R2: 1 19 3 12 R1: 100 34 54 4 12 R3: 99 13 22 6 12 Longer paths will not provide extra resolution 29

Application of Atoms 1. Research Differentiate Fault from Policy Track policy 2. Tweak update hold timers: Panelize partial Atom updates Reward full updates 3. Reduce scope of tags used in MPLS When/If MPLS is global in the Internet Set on a per prefix basis Could be reduced by as much as 1:5 31

Application of Atoms 4. Reduce load of active measurements Use Atoms sampling and not prefix sampling Results are not very favorable Type AS Atom Prefix Count 66 226 9146 Mean SD 55.7 37.9 20.1 32

Application of Atoms 5. Compress BGP updates Gain limited to 66% of prefix section 6. Shows limit on route table reduction while keeping information Renumbering to CIDR by atoms gain 50% only 33

Administration and distribution of Atom structure 1. Central body (CAIDA?) Perfect results How to distribute? 2. Origin AS tag by extended community Knowledge propagation within BGP How to automate and not introduce more administration overhead 3. Use local versions of Atoms No distribution Reduces potential benefits 34

Thank you for your time Questions? 35

BGP reminder BGP routing between AS analogue to RIP with in AS (AS == Router) 36