BGP Table Analysis (even more!) Geoff Huston. Interpretation There is no synchronized overview of the entire connectivity and policy state of all parts.

Slides:



Advertisements
Similar presentations
IPv4 Address Lifetime Presented by Paul Wilson, APNIC Research activity conducted by Geoff Huston and supported by APNIC.
Advertisements

NOPEER Route Attribute Propose a well-known transitive advisory scope attribute Applied by originating AS to route prefixes Interpretable as advice to.
Introduction to IP Routing Geoff Huston. Routing How do packets get from A to B in the Internet? A B Internet.
BGP01 An Examination of the Internets BGP Table Behaviour in 2001 Geoff Huston Telstra.
Allocation vs Announcement A comparison of RIR IPv4 Allocation Records with Global Routing Announcements Geoff Huston February 2004 (Supported by APNIC)
Tracking the Internets BGP Table Geoff Huston Telstra January 2001.
BGP Issues Geoff Huston.
Geoff Huston, APNIC March 2006 APRICOT 2006 IPv4 Numerology.
ARIN Public Policy Meeting
Measuring IPv6 Deployment Geoff Huston George Michaelson
1 An Update on Multihoming in IPv6 Report on IETF Activity IPv6 Technical SIG 1 Sept 2004 APNIC18, Nadi, Fiji Geoff Huston.
Routing Table Status Report Geoff Huston February 2005 APNIC.
Routing Items from IAB Utrecht Workshop Geoff Huston IAB.
Routing Table Status Report November 2005 Geoff Huston APNIC.
Number of ASs Observations ASs grew by 25% over the year Note span of visible ASs (11,200 – 12,500) Not every AS is visible to all other ASs But there.
4-Byte AS Numbers The view from the old BGP world Geoff Huston October 2006 APNIC.
BGP Issues Geoff Huston May What is BGP? The Internet is composed of a collection of networks Each network is autonomously managed The Internet.
IPv4 Unallocated Address Space Exhaustion Geoff Huston Chief Scientist APNIC APNIC 24, September 2007.
BGP Status Update Geoff Huston September What Happening (AS4637) Date.
Multihoming and Multi-path Routing
Multihoming and Multi-path Routing
Routing System Stability draft-dimitri-grow-rss-01.txt IETF71 - Philadelphia.
Release 5.1, Revision 0 Copyright © 2001, Juniper Networks, Inc. Advanced Juniper Networks Routing Module 9: Static Routes & Routing Table Groups.
A S I A P A C I F I C N E T W O R K I N F O R M A T I O N C E N T R E APNIC Open Policy Meeting Address Policy (Procedures) SIG 1 March 2001.
Comparing IPv4 and IPv6 from the perspective of BGP dynamic activity Geoff Huston APNIC February 2012.
2006 – (Almost another) BGP Year in Review A BRIEF update to the 2005 report 18 October 2006 IAB Routing Workshop Geoff Huston APNIC.
1 Interdomain Routing Protocols. 2 Autonomous Systems An autonomous system (AS) is a region of the Internet that is administered by a single entity and.
BGP in 2009 Geoff Huston APNIC May Conventional BGP Wisdom IAB Workshop on Inter-Domain routing in October 2006 – RFC 4984: “routing scalability.
1 BGP Security -- Zhen Wu. 2 Schedule Tuesday –BGP Background –" Detection of Invalid Routing Announcement in the Internet" –Open Discussions Thursday.
CSE5803 Advanced Internet Protocols and Applications (7) Introduction The IP addressing scheme discussed in Chapter 2 are classful and can be summarised.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Exterior Gateway Protocols: EGP, BGP-4, CIDR Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
COS 420 Day 16. Agenda Finish Individualized Project Please Have Grading sheets to me by Tomorrow Group Project Discussion Assignment 3 moved back to.
Routing and Routing Protocols
Allocations vs Announcements A comparison of RIR IPv4 Allocation Records with Global Routing Announcements Geoff Huston May 2004 (Activity supported by.
Information-Centric Networks07b-1 Week 7 / Paper 2 NIRA: A New Inter-Domain Routing Architecture –Xiaowei Yang, David Clark, Arthur W. Berger –IEEE/ACM.
Interconnectivity Density Compare number of AS’s to average AS path length A uniform density model would predict an increasing AS Path length (“Radius”)
Architecting the Network Part 3 Geoff Huston Chief Scientist, Internet Telstra ISOC Workshop.
Measuring IPv6 Deployment Geoff Huston George Michaelson
Lecture 4: BGP Presentations Lab information H/W update.
IPv4 Unallocated Address Space Exhaustion Geoff Huston Chief Scientist APNIC November 2007.
BGP in 2011 Geoff Huston APNIC. Conventional (Historical) BGP Wisdom IAB Workshop on Inter-Domain routing in October 2006 – RFC 4984: “routing scalability.
David Wetherall Professor of Computer Science & Engineering Introduction to Computer Networks Hierarchical Routing (§5.2.6)
Copyright 2012 Kenneth M. Chipps Ph.D. Cisco CCNA Exploration CCNA 2 Routing Protocols and Concepts BGP Last Update
Inter-Domain Routing Trends Geoff Huston APNIC March 2007.
Routing and Routing Protocols
Routing Table Status Report Geoff Huston November 2004 APNIC.
AS Numbers NANOG 35 Geoff Huston APNIC. Current AS Number Status.
Routing in the Inernet Outcomes: –What are routing protocols used for Intra-ASs Routing in the Internet? –The Working Principle of RIP and OSPF –What is.
Routing Table Status Report Geoff Huston August 2004 APNIC.
Routing Table Status Report August 2005 Geoff Huston.
Tracking the Internet’s BGP Table Geoff Huston Telstra December 2000.
Inter-domain Routing Outline Border Gateway Protocol.
1 Variable Length Subnet Masks ( VLSM ) “ Classful Route” Means if a route to a network starting with is received, it is a class A => mask length.
Routing 2015 Scaling BGP Geoff Huston APNIC May 2016.
Border Gateway Protocol
Measuring BGP Geoff Huston.
Architecting the Network Part 3
More Specific Announcements in BGP
The IPv4 Consumption Model
Routing Table Status Report
Geoff Huston September 2002
An Update on Multihoming in IPv6 Report on IETF Activity
RIPE October 2005 Geoff Huston APNIC
Routing Table Status Report
2005 – A BGP Year in Review February 2006 Geoff Huston
Routing Table Status Report
Routing Table Status Report
IPv4 Address Lifetime Expectancy
Design Expectations vs. Deployment Reality in Protocol Development
BGP: 2008 Geoff Huston APNIC.
Presentation transcript:

BGP Table Analysis (even more!) Geoff Huston

Interpretation There is no synchronized overview of the entire connectivity and policy state of all parts of the Internet Every BGP viewing point contains a filtered view of the non-local network, and a noisy view of the local network Just because you cant see it does not mean that it does not exist Just because you can see it does not mean that every else sees it too Its dynamic over time BGP metrics are sample metrics

BGP Table Growth BGP Table Growth – 12 year history

BGP Table Growth – 2 year history

BGP Table Growth – 2 year & 6 month trends

BGP Table Growth – Projections

BGP Entries (RIB)

Prefix distribution in the BGP table

/24 is the fastest growing prefix length

/25 and smaller are the fastest growing prefixes in relative terms

RIR policies - /19 deployment

RIR policies - /20 deployment

Originating AS Address span Distribution of originating address span per AS Address advertisements are getting smaller Prefix Length Number of ASs Non-Hierarchical Advertisements

Multi-homing on the rise? Track rate of CIDR holes – currently 41% of all route advertisements are routing holes This graph tracks the number of address prefix advertisements which are part of an advertised larger address prefix

Proportion of BGP advertisements which are more specific advertisements of existing aggregates

OOPS Program bug! The number is larger than that. More specific advertisement of existing aggregates account for 54% of the BGP selected route table from the perspective of AS ,799 entries from a total of 103,561 Older (mid Jan) data from AS286 has the number at 53,644 from a total of 95,036 (56%) Is multi-homing is the major driver in table growth?

Routed Address Space Large fluctuation is due to announcement / withdrawals of /8 prefixes 12 months of data does not provide clear longer growth characteristic

Routed Address Space (/8 Corrected) Annual compound growth rate is 7% p.a. Most address consumption today appears to be ocurring behind NATs ? /8 Corrected Data 4B in 2020

AS Number Growth

AS Number Use - Extrapolation Continued exponential growth implies AS number exhaustion in 2005

Average size of a routing table entry The BGP routing tale is growing at a faster rate than the rate of growth of announced address space /18.1 /18.5

Denser Internet Structure Dec-2000 Feb-2001 AS Hops Reachable Addresses

Denser Internet Structure AS Hops Address Span Feb-2001 Dec % point

Internet Shape Distance Span Distance Span The network is becoming less stringy and more densely interconnected i.e. Transit depth is getting smaller

Aggregation and Specifics Is the prevalence of fine-grained advertisements the result of deliberate configuration or inadvertent leakage of advertisements?

Publicity helps ? Efforts to illustrate the common problem of unconstrained table growth appear to have had an impact on growth of the table, as seen on the edge of AS1221 since Dec 2000

But - the view from KPNQwest Data from James Aldridge, KPNQwest -

Different Views

It is likely that the reduction in routes seen by AS1221 appears to be in the prefix-length filtered ranges Either more transit networks are prefix length filtering or origin ASs are filtering at the edge, or both The underlying growth trend in BGP table size remains strong

Aggregation Possibilities What if all advertisements were maximally aggregated* ? 27% reduction ( > 74427) using AS Path aggregation (dup withdrawal) 33% reduction ( > 68504) using AS Origin aggregation This assumes that the specific advertisements are not matched by other specific advertisements which have been masked out closer to the origin AS – this is not a terribly good assumption, so these numbers are optimistic to some extent

Aggregation Potential from AS1221 AS Origin AS Path

KPNQwest origin as aggregation data shows that even maximal aggregation buys 12 months of time, not a new growth model KPNQwest data BGP table size Origin AS aggregation These growth curves are a close match (to the 5 th decimal place)

Aggregatability? A remote view of aggregation has two potential interpretations: Propose aggregation to the origin AS Propose a self-imposed proxy aggregation ruleset Any aggregation reduces the information content in the routing table. Any such reduction implies a potential change in inter-domain traffic patterns. Aggregation with preserved integrity of traffic flows is different from aggregation with potential changes in traffic flow patters

Aggregatability Origin AS aggregation is easier to perform at the origin, but harder to determine remotely IF traffic flows are to be preserved light touch Proxy Aggregation is only possible IF you know what your neighbors know and if you know your position in the route flow topology Yes this is a recursive statement If an AS proxy aggregates will it learn new specifics in response?

Conjectures…. BGP table size will continue to rise exponentially Multi-homing at the edge of the Internet is on the increase The interconnectivity mesh is getting denser The number of AS paths is increasing faster than the number of ASs Average AS path length remains constant AS number deployment growth will exhaust 64K AS number space in August 2005 if current growth trends continue

More conjecturing…. Inter-AS Traffic Engineering is being undertaken through routing discrete prefixes along different paths -- globally (the routing mallet!) AS Origin aggregation < AS Path aggregation RIR allocation policy (/19, /20) is driving one area of per-prefix length growth in the aggregated prefix area of the table BUT - NAT is a very common deployment tool NAT, multihoming and Traffic Engineering is driving even larger growth in the /24 prefix area

And while we are having such a good time conjecturing… Over 12 months average prefix length in the table has shifted from /18.1 to /18.5 More noise (/25 and greater) in the table, but the absolute level of noise is low (so far) Most routing table flux is in the /24 to /32 prefix space – as this space gets relatively larger so will total routing table flux levels Flux here is used to describe the cumulative result of the withdrawals and announcements This space appears to be susceptible to social pressure – at present

This is fun – lets keep going… CIDR worked effectively for four years, but its effective leverage to support long term dampened route table growth and improved table stability has now finished Provider-based service aggregation hierarchies as a model of Internet deployment structure is more theoretic than real these days i.e. provider based route aggregation is leaking like a sieve!

Commentary draft-iab-bgparch-00.txt Exponential growth of BGP tables has resumed AS number space exhaustion Convergence issues Traffic Engineering in a denser mesh What are the inter-domain routing protocol evolutionary requirements?

URLs This presentation (or something like it)

Objectives and Requirements Supporting a larger and denser interconnection topology Scale by x100 over current levels in number of discrete policy entities Fast Convergence Security Integration of Policy and Traffic Engineering as an overlay on basic connectivity Control entropy / noise inputs

Available Options Social Pressure on aggregation Economic Pressure on route advertisements Tweak BGP4 behavior Revise BGP4 community attributes BGPng New IDR protocol(s) New IP routing architecture

Social Pressure Social pressure can reduce BGP noise Social pressure cannot reduce pressures caused by Denser interconnection meshing Increased use of multi-homing Traffic engineering of multiple connections Limited utility and does not address longer term routing scaling

Economic Pressure on Routing Charge for route advertisements Upstream charges a downstream per route advertisements Peers charge each other This topic is outside an agenda based on technology scope Raises a whole set of thorny secondary issues: Commercial National Regulatory International Such measures would attempt to make multi-homing less attractive economically. It does not address why multi-homing is attractive from a perspective of enhanced service resilience.

Tweaking BGP4 Potential tweak to BGP-4 Auto-Proxy-Aggregation Automatically proxy aggregate bitwise aligned route advertisements Cleans up noise – but reduces information Cannot merge multi-homed environments unless the proxy aggregation process makes sweeping assumptions, or unless there is an overlay aggregation protocol to control proxy aggregation (this is then no longer a tweak)

Extend BGP4 Communities We already need to extend community attributes to take on the 2 / 4 octet AS number transition. Can we add further community attribute semantics to allow proxy aggregation and proxy sublimation under specified conditions? Extend commonly defined transitive community attributes to allow further information to be attached to a routing advertisement Limit of locality of propagation Aggregation conditions or constraints If we could do this, will this be enough? Can this improve Scaling properties convergence properties

BGPng Preserve: AS concept, prefix + AS advertisements, distance vector operation, AS policy opaqueness Alter: convergence algorithm (DUAL?), advertisement syntax (AS + prefix set + specifics + constraints), BGP processing algorithm Issues: Development time Potential to reach closure on specification Testing of critical properties Deployment considerations Transition mechanisms

IDR A different IDR protocol? Can we separate connectivity maintenance, application of policy constraints and sender- and/or receiver- managed traffic engineering? SPF topology maintenance Inter-Domain Policy Protocol to communicate policy preferences between policy islands Multi-domain path maintenance to support traffic engineering requirements Eliminate the need to advertise specifics to undertake traffic engineering Multi-homing may still be an issue – is multi-homing a policy issue within an aggregate or a new distinct routing entity? Can SPF scale? Will SPF routing hierarchies impose policy on the hierarchy elements?

New IP Routing Architecture Separate Identity, Location and Path at an architectural level? Identity How do you structure an entirely new unique identity label space? How do you construct the identity lookup mechanism? Location How can location be specified independent of network topology? Path: Is multi-homing an internal attribute within the network driven by inter-domain policies, or is multi-homing an end-host switching function

New IP Routing Architecture Other approaches? Realms and RSIP Inter-Domain CRLDP approaches where policy is the constraint