RFC 3177

IAB/IESG Recommendations on IPv6 Address Allocations to Sites

๐Ÿ“… published September 2001, from ietf

RFC 3177: IAB/IESG Recommendations on IPv6 Address Allocations to Sites โœจ

Okay bestie, this one is a recommendation letter. The IAB and IESG (the IETF's architecture and steering crew) wrote it in September 2001 ๐ŸŽ€ It's Informational, which means it's just sharing advice and doesn't specify an Internet standard ๐Ÿ’… The header doesn't list anything it obsoletes or updates, so it's standing on its own. The memo is basically the IAB and IESG telling the address registries (APNIC, ARIN and RIPE-NCC) how to hand out IPv6 address blocks to sites ๐Ÿฆ‹

Status of this Memo ๐Ÿ“œ

This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.

Copyright (C) The Internet Society (2001). All Rights Reserved.

Abstract ๐ŸŒธ

Okay so this doc gives the registries (APNIC, ARIN and RIPE-NCC) advice on how to assign IPv6 address blocks to end sites. The main plan is a /48 in the general case, a /64 when it's known that one and only one subnet is needed, and a /128 when it's absolutely known that one and only one device is connecting ๐Ÿงš

The original advice went out in an IAB/IESG statement mailed to the registries on September 1, 2000. This document refines that original recommendation and writes it down for the historical record ๐Ÿ“š

1. Introduction โœจ

Bestie, IETF and RIR experts have had so many conversations about IPv6 address allocation policy ๐Ÿซถ This memo is about the boundary between the public and private topology of the Internet. In other words, how much address space an ISP should give to homes, small and large enterprises, mobile networks and transient customers ๐Ÿ 

This doc does not cover the other boundaries in the public topology, meaning the ones between the RIRs and the LIRs. That's a different tea โ˜•

This document was developed by the IPv6 Directorate, IAB and IESG, and it's a recommendation from the IAB and IESG to the RIRs ๐Ÿ’œ

2. Background ๐ŸŒˆ

The technical principles behind address allocation are all about balance ๐Ÿ“ On one hand, when you're managing a resource that could run out, you have to conserve wisely so it doesn't get used up within the expected lifetime. On the other hand, IPv6 address space is in no sense as limited as IPv4 address space, and being overly conservative just discourages a marketplace that's already dampened by other factors ๐Ÿ™„ So from a market development perspective, the goal is for it to be very easy for a user or an ISP to get as many IPv6 addresses as they really need, without facing immediate renumbering or scaling inefficiencies. Main character behavior, honestly ๐Ÿ‘‘

The IETF doesn't comment on business issues or relationships. Still, technical delegation policy can have strong business impacts, so a strong requirement of the address delegation plan is that it not be predicated on or unduly bias business relationships or models ๐Ÿ’…

The IPv6 address, as currently defined, has 64 bits of "network number" and 64 bits of "host number". There are several technical reasons for this. The requirements for IPv6 agreed to in 1993 included a plan to address approximately 2^40 networks and 2^50 hosts, and the 64/64 split effectively accomplishes this ๐Ÿง  Host address assignment procedures, like the router advertisement of a network's prefix to hosts [RFC2462], which then place a locally unique number in the host portion, depend on this split. Subnet numbers have to be assumed to come from the network part. This isn't ruling out routing protocols like IS-IS level 1 (intra-area) routing, which routes individual host addresses, but it does mean that it may not be depended upon in the world outside that zone ๐Ÿซ  The 64-bit host field can also be used with EUI-64 for a flat, uniquely allocated space, so it may not be treated globally as a subnetting resource. People who are worried about privacy linked to a globally unique identifier might like this: 64 bits is a big enough field to keep excellent random-number-draw properties for self-configured End System Designators ๐Ÿ” That alternative construction of the 64-bit host part of an IPv6 address is documented in [RFC3041].

The IETF has put a ton of effort into minimizing the impact of network renumbering, but renumbering IPv6 networks is neither invisible nor completely painless ๐Ÿ˜ญ So renumbering should be considered a tolerable event, but it's still something to avoid when that's reasonably feasible.

In [RFC2374] and [RFC2450], the IETF's IPNG working group recommended that the address block given to a single edge network, which may be recursively subnetted, be a 48-bit prefix. That gives each network 2^16 subnet numbers to use in routing, plus a very large number of unique host numbers within each network โœจ This is considered large enough for most enterprises and still leaves plenty of room for delegating address blocks to aggregating entities ๐ŸŽ€

It's not obvious, though, that all edge networks will be recursively subnetted. A single PC in a home or a telephone in a mobile cellular network, for example, may or may not connect to a subnetted local network ๐Ÿ“ฑ When a network number goes to a place that won't need subnetting, it might be acceptable for an ISP to give a single 64-bit prefix, maybe shared among the dial-in connections to the same ISP router. That decision can be made knowing there is objectively no shortage of /48s, and with the expectation that personal, home networks will become the norm ๐Ÿก In fact, it's widely expected that all IPv6 subscribers, whether domestic (homes), mobile (vehicles or individuals), or enterprises of any size, will eventually have multiple always-on hosts, at least one subnet with the potential for more subnetting, and therefore some internal routing capability. In other words, the subscriber allocation unit isn't always a host. It's always potentially a site ๐ŸŒŸ The question this memo answers is how much address space should be delegated to such sites.

3. Address Delegation Recommendations ๐Ÿ’–

The IESG and the IAB recommend that the allocations for the boundary between the public and private topology follow these general rules:

  • /48 in the general case, except for very large subscribers.
  • /64 when it is known that one and only one subnet is needed by design.
  • /128 when it is absolutely known that one and only one device is connecting.

In particular, we recommend:

  • Home network subscribers, connecting through on-demand or always-on connections, should receive a /48.
  • Small and large enterprises should receive a /48.
  • Very large subscribers could receive a /47 or slightly shorter prefix, or multiple /48's.
  • Mobile networks, such as vehicles or mobile phones with an additional network interface (such as bluetooth or 802.11b), should receive a static /64 prefix to allow the connection of multiple devices through one subnet ๐Ÿš—
  • A single PC, with no additional need to subnet, dialing up from a hotel room may receive its /128 IPv6 address for a PPP style connection as part of a /64 prefix ๐Ÿจ

Note that there seems to be little benefit in not giving a /48 if future growth is anticipated ๐Ÿ‘€ Below, we give the arguments for a uniform use of /48, and then demonstrate that it's entirely compatible with responsible stewardship of the total IPv6 address space ๐Ÿซถ

The arguments for the fixed boundary are:

  • Only by having a provider-independent boundary can we guarantee that a change of ISP will not require a costly internal restructuring or consolidation of subnets ๐Ÿ”„
  • During straightforward site renumbering from one prefix to another, the whole process, including parallel running of the two prefixes, would be greatly complicated if the prefixes had different lengths (depending, of course, on the size and complexity of the site) ๐Ÿ˜ตโ€๐Ÿ’ซ
  • There are various possible approaches to multihoming for IPv6 sites, including the techniques already used for IPv4 multihoming. The main open issue is finding solutions that scale massively without unduly damaging route aggregation and/or optimal route selection. Much more work remains in this area, but it seems likely that several approaches will be deployed in practice, each with their own advantages and disadvantages. Some (but not all) will work better with a fixed prefix boundary. (Multihoming is discussed in more detail below.) ๐ŸŒ
  • To allow easy growth of the subscribers' networks without needing to go back to ISPs for more space (except for the relatively small number of subscribers for which a /48 is not enough) ๐ŸŒฑ
  • To remove the burden from ISPs and registries of judging sites' needs for address space, unless the site requests more than a /48. This carries several advantages:
    • It may become less critical for ISPs to maintain detailed knowledge of their customers' network architecture and growth plans,
    • ISPs and registries may reduce the effort spent on assessing rates of address consumption, with address space ample for long-term growth plans,
    • Registry operations may be made more efficient or more focused, by reducing the urgency of tracking and assessment.
    • Address space will no longer be a precious resource for customers, removing the major incentive for subscribers to install v6/v6 NATs, which would defeat the IPv6 restoration of address transparency ๐Ÿฆ‹
  • To allow the site to maintain a single reverse-DNS zone covering all prefixes ๐Ÿ—‚๏ธ
  • If and only if a site can use the same subnetting structure under each of its prefixes, then it can use the same zone file for the address-to-name mapping of all of them. And, using the conventions of [RFC2874], it can roll the reverse mapping data into the "forward" (name-keyed) zone ๐Ÿง

Specific advantages of the fixed boundary being at /48 include:

  • Leaving open the technical option of retro-fitting the GSE (Global, Site and End-System Designator, a.k.a., "8+8") proposal for separating locators and identifiers, which assumes a fixed boundary between global and site addressing at /48. The GSE technique was deferred a couple of years ago, but it still has strong proponents. Also, the IRTF Namespace Research Group is actively looking into topics closely related to GSE. It's still possible that GSE or a derivative of GSE will be used with IPv6 in the future ๐Ÿ”ฎ
  • Since the site-local prefix is fec0::/48, global site prefixes of /48 allow sites to easily maintain a trivial (identity) mapping between the global topology and the site-local topology in the SLA field ๐Ÿงฉ
  • Similarly, if the 6to4 proposal is widely deployed, migration from a 6to4 prefix, which is /48 by construction, to a native IPv6 prefix will be simplified if the native prefix is /48 ๐Ÿš€

4. Conservation of Address Space โœจ

okay so the big question everyone asks is whether giving a /48 to every subscriber is a totally wasteful, profligate move ๐Ÿ’… and the answer is literally no, bestie ๐Ÿ™ˆ when you actually do the math. A /48 prefix under the 001 Global Unicast Address prefix has 45 variable bits. That means there are 2 to the power 45 available prefixes, which is about 35 trillion (35,184,372,088,832). Iconic ๐Ÿฆ‹

Let's get more precise, because the numbers are giving main character energy ๐ŸŽ€

  • [RFC1715] defines an "H ratio" based on real experience with address space assignment in various networks ๐Ÿ“Š The H ratio runs from 0 to 0.3, and bigger numbers mean denser, more efficient assignment. Experience shows problems start to show up once the H ratio goes above 0.25 ๐Ÿ˜ฌ At an H ratio of 0.25, a 45 bit address space would still have 178 billion (178 thousand million) identifiers.

H = log10(178*10^9) / 45 = 0.25

So we feel comfortable about allocating 178 billion /48 prefixes under that scheme before problems start to appear ๐Ÿซถ To see how big that is, compare 178 billion to 10 billion, which is the projected population of earth in year 2050 (see http://www.census.gov/ipc/www/world.html). These numbers give no grounds for concern provided that the ISPs, under the guidance of the RIRs, allocate /48's prudently, and that the IETF refrains from new recommendations that further reduce the remaining 45 variable bits, unless a compelling requirement emerges ๐Ÿ”ฅ

  • We are highly confident in this analysis, and it's based on experience with IPv4 and several other address spaces, plus extremely ambitious scaling goals for the Internet amounting to an 80 bit address space per person ๐ŸŒˆ Still, being acutely aware of the history of under-estimating demand, the IETF has reserved more than 85% of the address space (i.e., the bulk of the space not under the 001 Global Unicast Address prefix) ๐Ÿงš So if the analysis does one day turn out to be wrong, our successors will still have the option of imposing much more restrictive allocation policies on the remaining 85%. However, we must stress that vendors MUST NOT encode any of the boundaries discussed here either in software nor hardware. Hmm wait, that's not quite it. Vendors SHOULD NOT encode any of the boundaries discussed here, either in software nor hardware ๐Ÿ’€ Under that assumption, should we ever have to use the remaining 85% of the address space, such a migration may not be devoid of pain, but it SHOULD be far less disruptive than deploying a new version of IP ๐Ÿ˜ญ

To summarize, we argue that although careful stewardship of IPv6 address space is essential, this is completely compatible with the convenience and simplicity of a uniform prefix size for IPv6 sites of any size ๐Ÿ’œ The numbers are such that there seems to be no objective risk of running out of space, giving an unfair amount of space to early customers, or of getting back into the over-constrained IPv4 situation where address conservation and route aggregation damage each other ๐Ÿ“

5. Multihoming Issues ๐ŸŒธ

okay multihoming is where it gets a little messy, ngl ๐Ÿ˜ญ In multi-homed networks, the techniques used in IPv4 can all be applied, but they have known scaling problems. Specifically, if the same prefix is advertised by multiple ISPs, the routing information grows as a function of the number of multihomed sites. To go beyond this for IPv6, we only have initial proposals on the table right now, and active work is going on in the IETF IPNG and Multi6 working groups. Until current or new proposals are more fully developed, existing techniques known to work in IPv4 will continue to be used in IPv6 ๐Ÿงš

Key characteristics of an ideal multi-homing proposal include (at minimum) that it:

  • provides routing connectivity to any multi-homed network globally
  • conserves address space
  • produces high quality routes via any of the network's providers
  • enables a multi-homed network to connect to multiple ISPs
  • does not unintentionally bias routing to use any proper subset of those networks
  • does not damage route aggregation
  • scales to very large numbers of multi-homed networks

One class of solutions being considered amounts to permanent parallel running of two (or more) prefixes per site ๐Ÿ‘ฏ Without a fixed prefix boundary, such a site might be required to have multiple different internal subnet numbering strategies (one for each prefix length) or, if it only wanted one, be forced to use the most restrictive one, as defined by the longest prefix it received from any of its ISPs. In this approach, a multi-homed network would have an address block from each of its upstream providers. Each host would either have exactly one address picked from the set of upstream providers, or one address per host from each of the upstream providers. The first case is essentially a variant on [RFC2260], with known scaling limits ๐Ÿซ 

In the second case (multiple addresses per host), if two multi-homed networks communicate, having respectively M and N upstream providers, then the one initiating the connection will select one address pair from the N*M potential address pairs to connect between. In doing so, it selects the providers, and therefore the applicable route, for the life of the connection ๐Ÿ›ฃ๏ธ Given that each path will have a different available bit rate, loss rate, and delay, if neither host has any routing or metric information, the initiating host has only a 1/(M*N) probability of selecting the optimal address pair. Work on better-than-random address selection is in progress in the IETF, but it's incomplete ๐Ÿ™ƒ

The existing IPv4 Internet shows us that a network prefix which is independent of, and globally advertised to, all upstream providers lets the routing system select a reasonably good path within the applicable policy ๐Ÿ’– Present-day routing policies are not QoS policies but reachability policies. That means they will not necessarily select the optimal delay, bit rate, or loss rate, but the route will be the best within the metrics that are in use. One may therefore conclude that this would work correctly for IPv6 networks as well, apart from scaling issues โœจ

6. Security Considerations ๐Ÿ”

This document does not have any security implications.

Phew, no security drama here, bestie ๐Ÿซถ

7. Acknowledgments ๐ŸŽ€

This document originated from the IETF IPv6 directorate, with much input from the IAB and IESG. The original text forming the basis of this document was contributed by Fred Baker and Brian Carpenter. Allison Mankin and Thomas Narten merged the original contributions into a single document, and Alain Durand edited the document through its final stages ๐Ÿ‘‘

8. References ๐Ÿ“š

[RFC1715]   Huitema, C., "The H Ratio for Address Assignment
            Efficiency", RFC 1715, November 1994.

[RFC2026]   Bradner, S., "The Internet Standards Process -- Revision
            3", BCP 9, RFC 2026, October 1996.

[RFC2260]   Bates, T. and Y. Rekhter, "Scalable Support for Multi-
            homed Multi-provider Connectivity", RFC 2260, January
            1998.

[RFC2374]   Hinden, R., O'Dell, M. and S. Deering, "An IPv6
            Aggregatable Global Unicast Address Format", RFC 2374,
            July 1998.

[RFC2450]   Hinden, R., "Proposed TLA and NLA Assignment Rule", RFC
            2450, December 1998.

[RFC2462]   Thompson, S. and T. Narten, "IPv6 Stateless Address
            Autoconfiguration", RFC 2462, December 1998.

[RFC2874]   Crawford, M. and C. Huitema, "DNS Extensions to Support
            IPv6 Address Aggregation and Renumbering", RFC 2874, July
            2000.

[RFC3041]   Narten, T. and R. Draves, "Privacy Extensions for
            Stateless Address Autoconfiguration in IPv6", RFC 3041,
            January 2001.

[MobIPv6]  Johnson, D. and C. Perkins, "Mobility Support in IPv6",
            Work in Progress.

9. Authors' Address ๐Ÿงš

Internet Architecture Board

Email: iab@iab.org

Internet Engineering Steering Group

Email: iesg@ietf.org

Copyright (C) The Internet Society (2001). All Rights Reserved.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Acknowledgement ๐Ÿ’…

Funding for the RFC Editor function is currently provided by the Internet Society โœจ

๐Ÿ“ฆ where this page comes from