Home / Blogs

The End of the (IPv4) World is Nigher!

Geoff Huston

Funny how some topics seem sit on a quiet back burner for years, and then all of a sudden become matters of relatively intense attention. Over the past few weeks we've seen a number of pronouncements on the imminent exhaustion of the IP version 4 address pools. Not only have some of the Regional Internet Registries (RIRs) and some national registry bodies made public statements on the topic, we've now seen ICANN also make its pronouncement on this topic.

ICANN Board Resolution: On the Deployment of IPv6

Whereas, the unallocated pool of IPv4 address space held by IANA and the Regional Internet Registries is projected to be fully distributed within a few years;

Whereas, the future growth of the Internet therefore increasingly depends on the availability and timely deployment of IPv6;

Whereas, the ICANN Board and community agree with the call to action from the Address Supporting Organization and the Number Resource Organization, Regional Internet Registries, the Government Advisory Committee, and others, to participate in raising awareness of this situation and promoting solutions;

The Board expresses its confidence in the Internet community to meet this challenge to its future prospects, and expresses its confidence in the bottom-up, inclusive, stakeholder-driven processes in place to provide any needed policy changes, and;

The Board further resolves to work with the Regional Internet Registries and other stakeholders to promote education and outreach, with the goal of supporting the future growth of the Internet by encouraging the timely deployment of IPv6.

Similar announcements have been made by the RIRs:ARIN, LACNIC

Why the sudden uptake of interest in this topic? I suspect that a small part of this may be my fault! For some years now I've been maintaining a web page that looks at the accumulated data regarding consumption of IPv4 addresses, and using a relatively simply mathematical model applied to the past 3 years consumption data derives predictions of future consumption. For many years the best fit appeared to be an exponential curve.

The general form of an exponential function is

y = ef(x)

A simple exponential function, y = eax + b , models an environment of accelerating growth where the total population doubles in fixed time intervals.

During the RIPE 54 meeting in May 2007 it was pointed out to me that this curve didn't look much like the data it was trying to model. The recent growth rates in address consumption appear to be higher than those that correspond to an exponential curve. In response, I tried a few other curves, and found that the recent consumption model appears to be best matched by an O(2) polynominal function.

The general form of an O(2) polynomial, or quadratic, equation is

y = ax2 + bx + c

A quadratic function models an environment where the rate of growth increases at a constant rate over time.

A presentation on this change in the IPv4 consumption predictive model can be found here [PDF], and the associated prediction report can be found at: http://ipv4.potaroo.net.

The result of this change in the curve function of the predictive model was quite dramatic - rather than looking at an exhaustion date for IPv4 addresses of around 2012 to 2014, which appears to be so comfortably off in the distant future as to be inconsequential to today's Internet industry, the exhaustion date has drawn in to late 2009 / early 2010. This is just a little over two and a half years from today and all of a sudden a rather abstract debate about the viability of various options to cope with this address exhaustion issue is looking uncomfortably real.

What this prediction is saying is that some time between late 2009 and late 2011, and most likely in mid-2010, when you ask your local RIR for another allocation of IPv4 addresses your request is going to be denied. Not because you do not meet the policy criteria, but simply because by then the RIR would've exhausted its pool of available IPv4 addresses. Now the timing of when this will happen may vary a little depending on which region you are working in, and it may vary a little depending how much of a "last chance" panic overruns the industry in the coming months, but the outcome is inevitable in any case. We're running out of IPv4 addresses.

Then what?

If only that were a simple question to answer!

The Grand Plan, as originally envisaged in the 1990's when IPv4 address exhaustion was first predicted, is that we task the IETF to develop a new IP protocol with an address pool that is amply massive and that by the time IPv4 address exhaustion is supposed to become a critical issue the entire internet industry would've already completed a complete transition to this new protocol and the entire issue of IPv4 address exhaustion would be a non-event.

And, at least initially, things went according to this plan. The IETF considered various proposals and decided to develop a hybrid of two proposals (Steve Deering's SIP and Paul Francis' PIP) as the next generation IP protocol, subsequently named IPv6.

The IETF spent some time developing this protocol, and, modulo some slight forms of refinements, the protocol specification was completed in December 1995 with the publication of RFC 1883 (subsequently refined in December 1998 as RFC 2460). So far so good, as by December 1998 we were still only using some 30% of the total IPv4 address pool, and there appeared to be ample time to complete the remaining steps of this plan.

The next step in the transition plan was to enlist vendors of equipment and systems to support this new protocol. In some cases this has gone according to plan, and many of the mainstream vendors support IPv6 in their equipment. Windows XP came with configurable IPv6 support, and Windows VISTA comes shipped with IPv6 enabled as the preferred protocol. Thanks to the amazing achievements of the Japanese Kame project there was a solid IPv6 implementation for Unix systems. The major router vendors all support IPv6. Well in a fashion. These days there are few customers out there who are in a position to require multi-gigapacket per second switching performance for IPv6, and router vendors typically don't over-engineer equipment beyond customers' requirements, so its sometimes that case that the IPv6 switching path though the router may be slower than the IPv4 switching path. But, on the whole, so far so good for this part of the transition plan. What about consumer retail equipment, such as the home DSL WiFi units and similar? Here the story is a little different, and support for IPv6 is not ubiquitous. Again the issue of the market comes into play, and vendors of such equipment in the price-sensitive consumer electronics sector typically provide precisely what the customer requires and no more. So if the customer does not require IPv6, then you won't see it in the box!

At this stage the transition plan envisaged IPv6 deployment in the network, in servers, in clients and anywhere else that you'd find IP. And here is where the wheels appear to have fallen off the plan, because deployment simply has not happened.

To demonstrate the extent of IPv6 deployment to date, a comparison of the basic metrics of the size of the IPv6 and Ipv4 networks is illustrative. The IPv4 network as of June 2007 includes some 230,000 routing entries, of which there are 105,000 "root" prefixes, and some 26,000 autonomous system numbers. By comparison, the IPv6 network contains 875 routing entries, of which 731 are "root" prefixes and some 749 autonomous system numbers.

So what are our options?

The first option is that industry actually undertakes a comprehensive deployment of IPv6, supporting "native" IPv6 in the network in servers, in infrastructure such as the DNS, and in all other places where we use IPv4 today, running in parallel to the current IPv4 network. Of course part of the reason why this has not already happened is that such a deployment is neither costless nor completely simple. IPv6 is a second protocol, requiring a second set of forwarding tables in the network's switching elements, maintenance of a second routing domain, the deployment of a second network management domain, and a second operational support domain. None of this reduces the existing IPv4 support workload, so the additional activity is an additional imposition on the service provider. But its unlikely that customers will see a different value proposition when the service provider switches from an IPv4 service to full dual-stack IPv4 / IPv6 support. Its still the web, its still email, it's much the same Internet, and worth no more in terms of retail price than the IPv4 Internet. The expectation is that the costs of transition to a dual stack service network are not accompanied by incremental revenue from customer base. So the observation that IPv6 deployment has failed to materialise so far is not necessarily a condemnation of industry as being short-sighted or ignorant about the issue of IPv6 deployment, but a pointer to a possible failure of the business model where the typical drivers for investment in new infrastructure are not apparent in this transition plan.

And its not as if IPv6 is the only option, particularly in the short to medium term.

NATs have proved to be incredibly prolific in today's Internet simply because the business case is so effective that it has overrun the very real technical shortcomings of the technology. They provide elements of control over connection initiation, as well as the potential to "compress" address use by overloading the UDP and TCP port address fields. Yes, NATs compromise the "end-to-end" coherence of the network, but one can also observe that NATs have already destroyed the last vestiges of ubiquitous end-to-end in the network, and any application that is deployed in today's Internet must factor in NAT behaviours or, in practical terms, the application is undeployable. One possible short term response to the looming IPv4 address exhaustion is increased density of NAT deployment, and the associated deployment of multi-party application architectures that perform more complex rendezvous operations in order to set up the application. A classic case of this approach can be seen in the SIP-related work, with the development of protocols such as STUN and TURN designed to perform dynamic discovery and negotiation of NATs. There is some feeling that we are still a long way from the practical limits of NAT deployment, and from the service provider's perspective, as long as the costs of this option are not ones that they have to bear directly, then this looks like a very attractive short term option.

In the longer term, however, NATs have their limitations. The recent trend of applications that can dynamically discover the presence of NATs along the path and then generate NAT binding keepalive traffic to maintain a semi-permanent address binding through the NAT tends to reduce the efficiency of the NATs. Also the increased deployment of NATs introduces the issues of paths that contain 2 or more NATs, and the techniques of dynamic discovery of NAT behaviours tend to perform poorly under such conditions.

Of course the exhaustion of the RIR's unallocated address pools does not imply the end of the road for IPv4 networks. IPv4 will probably be around for some time yet, and there will be enterprises who want more IPv4 addresses and presumably there will be enterprises who have more IPv4 addresses than they have a need for. From such conditions markets typically emerge, and its reasonable to surmise that redistribution of IPv4 addresses will happen within some form of market-based regime in the short term. As a short term response to the exhaustion of the IPv4 address pool, there is some merit tin supporting such a market. The alternative, that of a black market with the potential for various forms of distortions and chaos in the area of address management, with its own attendant risks in terms of the security and stability of the Internet during a somewhat critical phase of forced transition

How long such a market remains useful for the industry is a matter of some conjecture. It may even be the case that such an explicit pricing function being placed on IPv4 addresses provides a far clearer signal to industry about the incentives of transition to IPv6 than any form of public notice or ICANN resolution! In any case a market cannot make the finite infinite, and while a market, with its attendant pricing function, can act as an incentive for more efficient use of the addresses in play, ultimately the situation where demand exceeds supply dictates a response of moving to a technology that can provide significantly larger address space.

Normally, such transitions are undertaken through the realisation of some benefit to the customer - cheaper, faster, more flexible, more functions, more colours, or other attributes that are clearly visible to the customer. But here there are no real changes to the package - IPv6 does not really present any superior performance, price or value to the end customer that is not already available in IPv4, and the pressure to transition is not a case of self interest at work, but more a case of common interest.

There's a "network effect" going on here. There is no benefit whatsoever being the only IPv6 speaker in a world of IPv4. Similarly, there is no residual benefit being the last IPv4 speaker in an otherwise all-IPv6 world. Would an ISP invest in dual protocol support across their entire network for a single additional customer who could only speak IPv6? Would a server operator add IPv6 support for potentially one extra client who could only speak IPv6? Neither situation is likely, as the incremental potential benefit from that single customer is far lower than the increment cost of dual stack operational support. And the example is somewhat artificial, but the more substantive question is: What's the threshold here? How widely does IPv6 need to be deployed before the business case for IPv6 deployment starts to make some financial sense? As an ISP, or as a server operator, when do you know that this potential benefit threshold has been reached that justifies the incremental costs of IPv6 support?

The entire issue here is that the network effect works only when there is critical mass to drive it, or when there are sufficient folk out there willing to take higher risks with their initial investment. Neither condition is happening right now out there in the industry, which is an undeniable current problem. The Internet has turned into a low margin commodity service trying to work in a highly price competitive market, with extremely low levels of high risk capital. As a commodity utility industry we are now about as conservative and risk-averse as one could get. And as a predominately deregulated industry we are dominated by short term issues which tend to be addressed through perceptions of where self-interest lies on the part of each player. When confronted with a broader problem that actually demands some level of response in concert with considerations of longer term common interests, then we're finding it hard to resolve in a sensible manner.

It appears that this industry has driven itself into a rather messy place right now, and extracting itself from this state in a sane and rational fashion, and without excessive levels of blame shifting as we do it, is indeed quite a challenge!

We've got around two years left of IPv4 address distribution as we knew it, and then that particular world comes to an end.

So what should we be doing now?

By Geoff Huston, Author & Chief Scientist at APNIC. (The above views do not necessarily represent the views of the Asia Pacific Network Information Centre.)

Related topics: Cybersecurity, DNS, ICANN, Internet Protocol, IP Addressing, IPv6, Networks, Regional Registries, Telecom, Wireless


Don't miss a thing – get the Weekly Wrap delivered to your inbox.


Re: The End of the (IPv4) World is Nigher! Edward Lewis  –  Jul 02, 2007 9:16 AM PDT

What can we do now?

Get institutions with interests in the Internet to take inward-looking steps to bring about change.  Instead of telling the world "just do it," take look at what can be done inside their charters.  Looking at the ICANN resolution with a cynical eye it seems like ICANN is saying "we trust all of you guys can do something about it and we will help spread the word." The first reads like an unfunded mandate, which I haven't seen be successful.  The latter is yet another publicity effort without measureable progress.

I would be in favor of ICANN committing to work within it's own sphere to bring IPv6 along.  That is pressing for IPv6 capability where it has leverage.  Putting the IANA public servers on IPv6 for instance.  Legitimizing the IPv6 capability of the root zone servers.  There is a current NANOG thread on finding registrars that support IPv6 glue.

I understand the dilemma ICANN has when it comes to pressuring the industry to move a certain way.  Maybe it's that ICANN shouldn't be promoting IPv6 any more than any other feature.  But on the otherhand it looks like some guidance and nuturing is needed.  (I'm picking on ICANN here because their resolution is what was quoted in Geoff's article.)

There is a "classic chicken-and-egg problem." I am looking at this from a DNS perspective.  It is impossible to go anywhere in DNS with just IPv6 - the roots don't advertise any IPv6 addresses (although some do have them).  Once you go down the tree, IPv6 is rare, IPv6-only rarer still.  By my count there are only three name servers in the root zone glue that are IPv6 only (for .NZ and .US).  (I may have missed one, I thought I counted 4 the first time through.) Without IPv6 in the DNS, how is anyone going to find any place to go on IPv6?  (That's the chicken.)

The egg is that you if you don't have IPv6 addresses or service, you have nothing to put in DNS.  And that's where all of the attention is these days, getting ISPs to offer v6.  This is out of the hands of ICANN.  But ICANN does have leverage over DNS.

So, that's one suggestion, prepare the DNS (I don't mean just the protocol or just the servers, I mean the DN*S*) for IPv6.  Satisfy the need expressed on NANOG to be able to get IPv6 into the TLDs.  At least then the road maps will be ready for IPv6 even if the roads themselves are still being built.

The more I think of it, the more I see the similarity between IPv6 adoption and DNSSEC adoption.  A different scale, different impact, and different mechanics but similar attitudes and motivations when it comes to the question of adoption.

To post comments, please login or create an account.

Related Blogs

Related News

Explore Topics

Dig Deeper

IP Addressing

Sponsored by Avenue4 LLC


Sponsored by Verisign

Mobile Internet

Sponsored by Afilias Mobile & Web Services

DNS Security

Sponsored by Afilias

Promoted Post

Buying or Selling IPv4 Addresses?

Watch this video to discover how ACCELR/8, a transformative trading platform developed by industry veterans Marc Lindsey and Janine Goodman, enables organizations to buy or sell IPv4 blocks as small as /20s. more»

Industry Updates – Sponsored Posts

Avenue4 Helps IPv4 Sellers and Buyers Gain Market Access, Overcome Complexities

Introduction to ACCELR/8 - Fast Lane to the IPv4 Market

Avenue4 Launches ACCELR/8, Transforming the IPv4 Market with Automated Order-Driven Trading

Verisign Named to the Online Trust Alliance's 2017 Audit and Honor Roll

Attacks Decrease by 23 Precent in 1st Quarter While Peak Attack Sizes Increase: DDoS Trends Report

Leading Internet Associations Strengthen Cooperation

Global Domain Name Registrations Reach 329.3 Million, 2.3 Million Growth in Last Quarter of 2016

Verisign Releases Q4 2016 DDoS Trends Report: 167% Increase in Average Peak Attack from 2015 to 2016

Neustar to be Acquired by Private Investment Group Led by Golden Gate Capital

Verisign Q3 2016 DDoS Trends Report: User Datagram Protocol (UDP) Flood Attacks Continue to Dominate

2016 U.S. Election: An Internet Forecast

Government Guidance for Email Authentication Has Arrived in USA and UK

Afilias Chairman Jonathan Robinson Wins ICANN's 2016 Leadership Award at ICANN 57

ValiMail Raises $12M for Its Email Authentication Service

MarkMonitor Supports Brand Holders' Efforts Regarding .Feedback Registry

Don't Gamble With Your DNS

Defending Against Layer 7 DDoS Attacks

Understanding the Risks of the Dark Web

New TLD? Make Sure It's Secure

Verisign Releases Q2 2016 DDoS Trends Report - Layer 7 DDoS Attacks a Growing Trend