Comparing IPv4 and IPv6 from the perspective of BGP dynamic activity Geoff Huston APNIC February 2012.

Slides:



Advertisements
Similar presentations
BGP01 An Examination of the Internets BGP Table Behaviour in 2001 Geoff Huston Telstra.
Advertisements

Allocation vs Announcement A comparison of RIR IPv4 Allocation Records with Global Routing Announcements Geoff Huston February 2004 (Supported by APNIC)
Measuring IPv6 Deployment Geoff Huston George Michaelson
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.
Update Damping in BGP Geoff Huston Chief Scientist, 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.
BGP01 An Examination of the Internets BGP Table Behaviour in 2001 Geoff Huston Telstra.
4-Byte AS Numbers The view from the old BGP world Geoff Huston October 2006 APNIC.
Routing System Stability draft-dimitri-grow-rss-01.txt IETF71 - Philadelphia.
EIGRP Explanation & Configuration By Bill Reed. We Will Examine the features of EIGRP Discuss why EIGRP is known as a Hybrid Routing Protocol Identify.
Modeling Inter-Domain Routing Protocol Dynamics ISMA 2000 December 6, 2000 In collaboration with Abha, Ahuja, Roger Wattenhofer, Srinivasan Venkatachary,
1 BGP Policy Atoms Yehuda Afek Omer Ben-Shalom Anat Bremler-Barr Tel-Aviv University.
Advanced Networks 1. Delayed Internet Routing Convergence 2. The Impact of Internet Policy and Topology on Delayed Routing Convergence.
Border Gateway Protocol Ankit Agarwal Dashang Trivedi Kirti Tiwari.
2006 – (Almost another) BGP Year in Review A BRIEF update to the 2005 report 18 October 2006 IAB Routing Workshop Geoff Huston APNIC.
Courtesy: Nick McKeown, Stanford
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.
1 Measurement of Highly Active Prefixes in BGP Ricardo V. Oliveira, Rafit Izhak-Ratzin, Beichuan Zhang, Lixia Zhang GLOBECOM’05.
BGP update profiles and the implications for secure BGP update validation processing Geoff Huston Swinburne University of Technology PAM April 2007.
BGP in 2009 Geoff Huston APNIC May Conventional BGP Wisdom IAB Workshop on Inter-Domain routing in October 2006 – RFC 4984: “routing scalability.
Graphs and Topology Yao Zhao. Background of Graph A graph is a pair G =(V,E) –Undirected graph and directed graph –Weighted graph and unweighted graph.
Root cause analysis of BGP routing dynamics Matt Caesar, Lakshmi Subramanian, Randy H. Katz.
Allocations vs Announcements A comparison of RIR IPv4 Allocation Records with Global Routing Announcements Geoff Huston May 2004 (Activity supported by.
CRIO: Scaling IP Routing with the Core Router-Integrated Overlay Xinyang (Joy) Zhang Paul Francis Jia Wang Kaoru Yoshida.
The eBGP DFZ in 2011 Geoff Huston APNIC. “The rapid and sustained growth of the Internet over the past several decades has resulted in large state requirements.
BGP in 2013 Geoff Huston APNIC IETF89. “The rapid and sustained growth of the Internet over the past several decades has resulted in large state.
BGP in 2013 (and a bit of 2014) Geoff Huston APNIC RIPE 68.
Interconnectivity Density Compare number of AS’s to average AS path length A uniform density model would predict an increasing AS Path length (“Radius”)
Measuring IPv6 Deployment Geoff Huston George Michaelson
Measuring IPv6 Deployment Geoff Huston George Michaelson
IPv4 Unallocated Address Space Exhaustion Geoff Huston Chief Scientist APNIC November 2007.
CAIA Seminar – 18 August 2007 – Taming BGP An incremental approach to improving the dynamic properties of BGP Geoff Huston.
BGP in 2011 Geoff Huston APNIC. Conventional (Historical) BGP Wisdom IAB Workshop on Inter-Domain routing in October 2006 – RFC 4984: “routing scalability.
Inter-Domain Routing Trends Geoff Huston APNIC March 2007.
BGP topics to be discussed in the next few weeks: –Excessive route update –Routing instability –BGP policy issues –BGP route slow convergence problem –Interaction.
1 Quantifying Path Exploration in the Internet Ricardo Oliveira, Rafit Izhak-Ratzin, Lixia Zhang, UCLA Beichuan Zhang, UArizona Dan Pei, AT&T Labs -- Research.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_a Routing Protocols: RIP, OSPF, BGP Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Routing Table Status Report Geoff Huston November 2004 APNIC.
Routing protocols. Static Routing Routes to destinations are set up manually Route may be up or down but static routes will remain in the routing tables.
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.
1 Chapter 4: Internetworking (IP Routing) Dr. Rocky K. C. Chang 16 March 2004.
Border Gateway Protocol. Intra-AS v.s. Inter-AS Intra-AS Inter-AS.
More Specific Announcements in BGP
Routing 2015 Scaling BGP Geoff Huston APNIC May 2016.
Border Gateway Protocol
Measuring BGP Geoff Huston.
COMP 3270 Computer Networks
Addressing 2016 Geoff Huston APNIC.
Intra-Domain Routing Jacob Strauss September 14, 2006.
Geoff Huston Chief Scientist, APNIC
BGP update profiles and the implications for secure BGP update validation processing Geoff Huston PAM April 2007.
Geoff Huston APNIC Labs May 2018
IP Addresses in 2016 Geoff Huston APNIC.
Routing and Addressing in 2017
More Specific Announcements in BGP
Geoff Huston APNIC 7th caida/wide measurement workshop Nov
Routing Table Status Report
Geoff Huston September 2002
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
Design Expectations vs. Deployment Reality in Protocol Development
BGP: 2008 Geoff Huston APNIC.
Geoff Huston APNIC 7th caida/wide measurement workshop Nov
Presentation transcript:

Comparing IPv4 and IPv6 from the perspective of BGP dynamic activity Geoff Huston APNIC February 2012

The IPv4 Table: now

The IPv6 Table: now

AS – BGP Updates / day V4 - ~100K updates/day V6 - 1K rising to 10K updates/day

That’s unexpected! Most models of routing instability view instability as a probabilistic function relating to prefixes and ASs. – The corollary is that the greater the number of prefixes and ASs the greater the level of routing activity to maintain a coherent network topology So why is IPv4’s update rate constant at ~100K updates across a period that has seen the IPv4 table grow from 125K to 400K entries? And why is IPv6’s update rate growing at a similar rate to the size of the IPv6 table?

Prefixes vs Updates The number of updates generated by a distance vector protocol increases with the distance between the “root cause” and the listening position So instead of looking at the number of updates, lets look instead at the number of prefixes that are associated with a changed routing state each day

AS – Unstable Prefixes /day V4 - ~20K prefixes V6 – 100 rising to 1K prefixes

There are two curious aspects of this data: 1 - Is routing IPv4 really “scale free”? 2 - Why is IPv6 different?

1 - Is IPv4 BGP flat-lining? Or is it just some strange anomaly in AS131072? – So I looked at the RIS and Route-View data sets

Daily Update rate for RIS peers – 2004 to 2011

Daily Update rate for Route Views peers – 2004 to 2011

Its not me! Its not completely flat But it’s everywhere – The long term growth rate of the dynamic activity of eBGP in IPv4 is far lower than the growth rate of the default-free routing table.

BGP Updates There are two components to BGP update activity: 1.Convergence updates as BGP searches for a new stable “solution” 2.The update relating to the “primary” event In an ever expanding network both BGP update components should be rising – But the total number of updates is not rising in IPv4

Convergence BGP is a distance vector protocol This implies that BGP may send a number of updates in a tight “cluster” before converging to the “best” path This is clearly evident in withdrawals and convergence to (longer) secondary paths

For Example Withdrawal at source at 08:00:00 03-Apr of /24 at MSK-IX, as observed at AS 2.0 Announced AS Path: Received update sequence: 08:02:22 03-Apr+ 08:02:51 03-Apr+ 08:03:52 03-Apr+ 08:04:28 03-Apr+ 08:04:52 03-Apr- 1 withdrawal at source generated a convergence sequence of 5 events, spanning 150 seconds

Average Convergence Time for RIS peers – 2004 to 2011

Average Convergence Time for Route Views peers – 2004 to 2011

IPv4 Convergence Behaviour IPv4 BGP convergence times and average convergence update counts have been constant for the past 7 years This implies that a critical aspect of the network’s topology has also been held constant over the same period

AS Path is Constant The AS Path Length has been constant for many years, implying that the convergence effort has also remained constant Per-peer average AS Path Length as Measured by Route-Views Peers,

BGP Updates There are two components to BGP update activity: 1.Convergence updates as BGP searches for a new stable “solution” AS Path lengths have been steady as the Internet grows by increasing the density of interconnection, not by increasing average AS Path length 2.The update relating to the “primary” event

Unstable Prefixes Are we seeing the same prefixes exhibiting instability multiple times per day, or different prefixes? What’s the profile of instability from the perspective of individual prefixes?

Unstable Prefixes for RIS peers – 2004 to 2011

Unstable prefixes for Route Views peers – 2004 to 2011

Unstable Prefixes Over the past 4 years the number of unstable prefixes lies between 20,000 – 50,000 prefixes per day How “stable” is this set of unstable prefixes? – Are they the same prefixes? – Are they equally noisy? – What are the characteristics of this “noise”?

Prefix Instability Duration

Prefix Instability Prefix Instability is generally short lived – 90% of all prefixes are unstable for 2 days or less – 6 prefixes are persistently unstable – these are beacon prefixes. The distribution of the duration of prefix instability at a coarse level (per day) appears to be a power law distribution (see Zipfs’Law)

The Flat World of IPv4 The average number of convergence events appears to be basically flat for the past couple of years – The growth rate appears to be far lower than the growth rate of the routing table itself The number of unstable prefixes per day is also relatively long term constant – but the individual prefixes themselves are unstable for 1 – 2 days on average

Why is BGP in IPv4 so Flat? The convergence amplification factor is governed by the bounded diameter of the Internet But why hasn’t the number of unstable prefixes grown in line with the growth in the table size? What is limiting this behaviour of the routing system? Why 20-50K unstable prefixes per day? Why not 100K? Or 5K? What is bounding this observed behaviour?

2 – Why is IPv6 Different? Now lets return to the comparison of IPv4 and IPv6...

AS – Average time to converge (secs) Since mid 2009 AS has been seeing dramatically higher average convergence times in IPv6

AS – average number of updates to converge Since mid 2009 AS has been seeing the average number of updates per instability event rise to 2x – 10x the IPv4 rates

AS Observations The IPv4 network appears to exhibit scale-free properties: while the number of advertised entries has triple from 125K to 400K, the number of updates, the number of unstable routes and the time to converge are all stable over the period The IPv6 network appears to have scaling properties: approx 10% of announced prefixes are unstable each day, and the time to converge is getting longer Lets look at the RIPE NCC’s RIS data set, and the Route Views archive data set to see what other AS’s have observed over this period

BGP IPv4 Updates / Day – RIS

BGP IPv6 Updates / Day – RIS

BGP Updates / Day – RIS IPv4 IPv6

BGP Updates / Day – Route Views IPv4 IPv6

It’s still not just me A possible explanation was that AS was seeing amplified IPv6 routing instability due to instability in its IPv6 routing But we see the same behaviour across the larger set of IPv6 BGP peers What about convergence behaviours in Ipv6?

Average Convergence Time (RIS)

Average Convergence Time (R-V)

Average Convergence Updates (RIS)

Average Convergence Updates (R-V)

IPv6 Instability It appears that the level of instability in Ipv6 rose significantly for many IPv6 peers in mid 2009, and is only coming back down in recent months Did the number of unstable prefixes rise at the same time?

Unstable Prefixes (RIS)

Unstable Prefixes (R-V)

Some observations The per-AS views of the IPv6 network are more heterogeneous than the IPv4 network. Different AS’s see significantly different levels of instability and convergence behaviour in IPv6 The macroscopic properties of instability also differ. IPv6 prefix instability is running at 10% of prefixes. Over the same period network instability in IPv4 has dropped from 10% to 5% of advertised prefixes

And some questions Are instability events in IPv4 and IPv6 linked, or are the dynamic routing behaviours in the two protocols entirely distinct? Are there co-incident IPv4 and IPv6 instability events with the same origin AS or AS peering? To what extent do IPv6 transit tunnels affect the stability of the IPv6 network? Is the higher variance of per-AS views attributable to the relative use of tunneled transit routes? What other factors would drive up relative route instability in IPv6?

Your questions?