Measuring BGP. Geoff Huston. CAIA SEMINAR 31 May

Similar documents
Routing the Internet in Geoff Huston APNIC March 2007

Inter-Domain Routing Trends

Routing in Geoff Huston Chief Scientist, APNIC

Routing Geoff Huston Chief Scientist, APNIC. #apricot2017

Taming BGP. An incremental approach to improving the dynamic properties of BGP. Geoff Huston. CAIA Seminar 18 August

The ISP Column A column on various things Internet. BGP in January 2018 Geoff Huston

BGP Issues. Geoff Huston

Tracking the Internet s BGP Table

If that s the case, then why should we be interested in BGP? Isn t this just a classic case of Nothing to see here, move along?

BGP Geoff Huston APNIC

EULER Project Path-Vector Routing Stability Analysis

BGP Routing Table Report

BGP The Movie. Geoff Huston September 2004 APNIC

The ISP Column A monthly column on things Internet. BGP in The BGP Measurement Environment. January 2015 Geoff Huston

More Specific Announcements in BGP. Geoff Huston APNIC

More Specific Announcements in BGP. Geoff Huston APNIC

Comparing IPv4 and IPv6 from the perspec7ve of BGP dynamic ac7vity. Geoff Huston APNIC February 2012

Preventing the unnecessary propagation of BGP withdraws

Examination. ANSWERS IP routning på Internet och andra sammansatta nät, DD2491 IP routing in the Internet and other complex networks, DD2491

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

Securing BGP. Geoff Huston November 2007

TELE 301 Network Management

Introduction to IP Routing. Geoff Huston

CS BGP v4. Fall 2014

BGP scalability Eduardo Grampín Universidad Carlos III de Madrid

Routing Table Status Report

AS Numbers. RIPE October Geoff Huston APNIC

The ISP Column An occasional column on things Internet. Damping BGP. BGP Route Flap Damping. June Geoff Huston

BGP Routing Table Report

ETSF10 Internet Protocols Routing on the Internet

Routing Table Status Report

BGP Path Exploration Damping (PED)

IPv6 HD Ratio. ARIN Public Policy Meeting April Geoff Huston APNIC

Beyond the IPv4 Internet. Geoff Huston Chief Scientist, APNIC

A Technique for Reducing BGP Update Announcements through Path Exploration Damping

Module 16 An Internet Exchange Point

Internet Routing Table Analysis Update. Philip Smith RIPE Routing WG Amsterdam, January 2003

Routing on the Internet. Routing on the Internet. Hierarchical Routing. Computer Networks. Lecture 17: Inter-domain Routing and BGP

Internet Routing Protocols Lecture 01 & 02

IPv6 Module 16 An IPv6 Internet Exchange Point

IPv6 HD Ratio. ARIN Public Policy Meeting April Geoff Huston APNIC

Internet Routing Dynamics

Dynamics of Hot-Potato Routing in IP Networks

BGP Scaling Techniques

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

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

Ravi Chandra cisco Systems Cisco Systems Confidential

BGP Scaling Techniques

internet technologies and standards

The Impact of Router Outages on the AS-Level Internet

Measuring IPv6 Deployment

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

BGP Support for Next-Hop Address Tracking

NaMeX Route Server HOWTO

COMP/ELEC 429 Introduction to Computer Networks

Global Routing Instabilities

COM-208: Computer Networks - Homework 6

CS4700/CS5700 Fundamentals of Computer Networks

Border Gateway Protocol - BGP

Introduction to BGP. ISP/IXP Workshops

The ISP Column An occasional column on things Internet

Security in inter-domain routing

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

Current Challenges in Internet Technology

Internet Routing : Fundamentals of Computer Networks Bill Nace

Network Protocols. Routing. TDC375 Autumn 03/04 John Kristoff - DePaul University 1

Finding a Needle in a Haystack: Pinpointing Significant BGP Routing Changes in an IP Network

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

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

1 Introduction. AT&T Labs - Research. Jay Borkenhagen Dept. HA MT C5-3D

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

CS 268: Computer Networking

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

Papers and Articles. Scaling Inter-Domain Routing A View Forward

How the Internet works? The Border Gateway Protocol (BGP)

Inter-Domain Routing: BGP

BGP in Geoff Huston APNIC IETF89

Some Foundational Problems in Interdomain Routing

A Longitudinal Study of BGP MOAS Prefixes

Internet Routing Protocols Lecture 03 Inter-domain Routing

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

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

! Distance vector routing! Link state routing.! Path vector routing! BGP: Border Gateway Protocol! Route aggregation

CS 268: Computer Networking. Next Lecture: Interdomain Routing

Interdomain routing CSCI 466: Networks Keith Vertanen Fall 2011

BGP Techniques for ISP. Terutaka Komorizono

A Survey of BGP Security: Issues and Solutions

Routing Basics ISP/IXP Workshops

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

Network Layer (Routing)

CSCD 433/533 Network Programming Fall Lecture 14 Global Address Space Autonomous Systems, BGP Protocol Routing

THE INTERNET S inter-domain routing protocol, the

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala October 9, 2018 (a) October 18 October 9,

Routing in Geoff Huston APNIC

Introduction to BGP ISP/IXP Workshops

UNDERSTANDING CONVERGENCE IN MPLS VPN NETWORKS. Mukhtiar A. Shaikh Moiz Moizuddin

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

Internet inter-as routing: BGP

Lecture 18: Border Gateway Protocol

Implementing BGP on Cisco ASR 9000 Series Router

Transcription:

Measuring BGP Geoff Huston

BGP is An instance of the Bellman-Ford Distance Vector family of routing protocols And a relatively vanilla one at that The routing protocol used to support inter-domain routing in the Internet So its pretty important! A means of inferring the structure of interconnections within the Internet Which means both its behaviour as a protocol and the content of the protocol messages are extremely interesting artifacts!

BGP metrics can provide: Information on the internal structure and growth of the Internet Scaling properties of the routing base Consumption rates of IP address resources Capabilities to provide enhanced security within the routing system

Measuring BGP 3 primary data acquisition mechanisms: Sequence of hourly dumps of the BGP RIB show ip bgp Shows prefixes, paths, and attributes at that time held by the target router Update Log of BGP speaker log updates Shows timestamp and BGP Update packet log of every BGP message in all peer sessions Controlled Experimentation Controlled announcement and withdrawal of a prefix Shows the nature of protocol-based amplification of a known root cause event

Measuring BGP Periodic snapshots No high frequency (protocol convergence) information Heavily filtered by the collector s perspective (no uniform visibility of localised connections) Useful for some forms of trend analysis Update Analysis Very high component of protocol convergence data Highly influenced by collector s perspective Can be useful to distinguishing between network and protocol components Controlled Experimentation Major value in determination of underlying network cause vs protocol instability Difficulty in replication of experimental outcomes

Objectives of this Work Look at the whole of the Internet for 2005 and attempt to understand the network s characteristics in terms of whole of network metrics Look at the behaviour of the Internet s interdomain routing system and attempt to understand the correlation of projections of router capacity and routing protocol load

IPv4 in 2005 Total Advertised BGP Prefixes

IPv4 in 2005 Total Advertised Address Span

IPv4 in 2005 Total Advertised Address Span http://ipv4.potaroo.net

IPv4 in 2005 Total Advertised AS Numbers

IPv4 Vital Statistics for 2005 Prefixes 148,500 175,400 +18% 26,900 Roots 72,600 85,500 +18% 12,900 Specifics 77,200 88,900 +18% 14,000 Addresses 80.6 88.9 (/8) +10% 8.3 /8s ASNs 18,600 21,300 +14% 2,600 Average advertisement size is getting smaller Average address origination per AS is getting smaller Average AS Path length steady at 3.5 AS interconnection degree up The IPv4 network continues to get denser, with finer levels of advertisement granularity. More interconnections, more specific advertisements

IPv6 in 2005 Advertised Prefix Count

IPv6 in 2005 Advertised Address Span

IPv6 in 2005 Total Advertised AS Numbers

IPv6 Vital Statistics for 2005 Prefixes 700 850 +21% Roots 555 640 +15% Specifics 145-210 +51% Addresses 9 13.5 (10**13) +50% ASNs 500 600 +20% Average advertisement size is getting larger Average address origination per AS is getting larger Average AS Path length variable between 3 5 AS interconnection degree variable Through 2005 the IPv6 network remained small and continued to use a very large proportion of overlay tunnels at the edges. Larger scale trends in network characteristics were not readily discernable from 2005 figures

The Scaling Question: If you were buying a large router suitable for use in a "DFZ" with an expected lifetime of 3-5 years, what would you specify as the number of IPv4/IPv6 prefixes it must be able to handle? And how many prefix updates per second?

BGP Update Study - Methodology Examine update and withdrawal rates from BGP log records for 2005 from a viewpoint within AS1221 Eliminate local effects to filter out non-dfz BGP updates Look at the relative rate of updates and withdrawals against the table size Generate a BGP table size predictive model and use this to generate 3 5 year BGP size and update rate predictions

Update Message Rate

Prefixes per Update Message

Update Trends across 2005 Number of update messages per day has doubled across 2005 (Dec 2005 saw approx 550,000 update messages per day) Considering the large population, the daily update rate is highly variable why? Number of prefixes per update message is falling from an average of 2.4 to 2.3 prefixes per update Is this attributable to increased use of public ASs and ebgp at the edge of the network? (Multi-homing?) Is the prefix update rate increasing at a greater rate than the number of prefixes in the routing table? Is there some multiplicative factor at play here? Why is instability increasing faster than the network size?

Prefixes vs Updates Look at the number of prefixes that are the subject of update messages What are the trends of prefix update behaviour?

Prefix Update and Withdrawal Rates

Prefix Update Rates

Withdrawal Rates

Prefix Rate Trends High variability in day-to-day prefix change rates Best fit model appears to be exponential although update and withdrawal rates show different growth rates

BGP Prefix Table Size

1 st Order Differential

DFZ Model as an O(2) Polynomial 3 5 Year prediction

Relative Update / Withdrawal Rates

Update Rate Prediction

3-5 Year Predictions for IPv4 Default Free Zone Today (1/1/2006) Table Size 176,000 prefixes Update Rate 0.7M prefix updates / day Withdrawal Rate 0.4M prefix withdrawals per day 3 Years (1/1/2009) Table Size 275,000 prefixes Update Rate 1.7M prefix updates / day Withdrawal Rate 0.9M withdrawals per day 5 Years (1/1/2011) Table Size 370,000 prefixes Update Rate 2.8M prefix updates / day Withdrawal Rate 1.6M withdrawals per day

What s the uncertainty factor? What is the incremental processing load when we add cryptographic checks into BGP? Does this impact on the projections of BGP update traffic? Are these trends reliable? Are we seeing a uniform distribution of updates across all ASs and all Prefixes? Or is this a skewed heavy tail distribution where a small number of prefixes contribute to most of the BGP updates?

Prefix Statistics for 2005 Number of unique prefixes announced: 289,558 Prefix Updates: 70,761,786 Stable prefixes: 12,640 Updated prefixes (year end): 162,039 Withdrawn prefixes: 127,519

Cumulative Distribution of Prefix Updates

Active Prefixes Top 10 Prefixes Prefix Updates Flaps AS Re-Homes 1. 202.64.49.0/24 198,370 96,330 918 2. 61.4.0.0/19 177,132 83,277 55 3. 202.64.40.0/24 160,127 78,494 1,321 4. 81.212.149.0/24 158,205 61,455 20,031 5. 81.213.47.0/24 138,526 60,885 12,059 6. 209.140.24.0/24 132,676 42,200 0 7. 207.27.155.0/24 103,709 42,292 0 8. 81.212.197.0/24 99,077 37,441 15,248 9. 66.150.140.0/23 84,956 11,109 5,963 10. 207.168.184.0/24 74,679 34,519 0

1-202.64.49.0/24

2-61.4.0.0/19

3-202.64.40.0/24

4-81.212.149.0/24

5-81.213.47.0/24

Distribution of Updates by Origin AS

Distribution of Updates

Active ASNs Top 10 ASns AS Updates Flaps AS Re-Homes 1. 9121 970,782 349,241 206802 2. 7563 869,665 326,707 5 3. 702 605,090 232,876 144523 4. 17557 576,974 178,044 175275 5. 17974 569,806 198,948 310 6. 7545 562,879 200,425 8931 7. 721 498,297 175,623 35866 8. 2706 418,542 196,136 16945 9. 9950 411,617 148,725 6 10. 17832 393,052 143,018 0

1 AS 9121

AS9121 Upstreams 9121 TTNET TTnet Autonomous System Adjacency: 84 Upstream: 6 Downstream: 78 Upstream Adjacent AS list AS1299 TELIANET TeliaNet Global Network AS3257 TISCALI-BACKBONE Tiscali Intl Network AS3356 LEVEL3 Level 3 Communications AS3549 GBLX Global Crossing Ltd. AS13263 METEKSAN-NET Meteksan.NET Autonomous System AS6762 SEABONE-NET Telecom Italia Sparkle

2 AS 7563

3 AS 702

4 AS 17557

5 AS17974

So what s going on? It would appear that the BGP update rate is being strongly biased by a small number of origins with two forms of behaviour: Traffic Engineering - consistent update rates sustained over weeks / months with a strong component of first hop change and persistent announce and withdrawal of more specifics Unstable configuration states a configuration which cannot stabilise and for a period of hours or days the update rate is extremely intense

The Uncertainty Factor Given that the overwhelming majority of updates are being generated by a very small number of sources, the level of uncertainty in extrapolation of trend models of BGP update rates is extremely high This implies that the predictions of router capabilities in a 3 5 year interval is also extremely uncertain

Per-Prefix 14 Day Display Attribute changes Path changes UP / DOWN changes

Per-AS 14 Day Display Origin changes Next-AS changes Path changes UP / DOWN changes

Next Steps Can we identify and report on persistent BGP update generators? Yes Generate per-prefix and per-as views and update stats summaries in an on-demand rolling 14 day window done see http://bgpupdates.potaroo.net Correlation of path updates Work-in-progress Can the noise component be filtered out of the protocol updates? What is the rate of actual information change in routing vs the protocol-induced amplification of the information update? Work-in-progress