The benefits of assigning more than a /48 per site*

07/03/2024

The benefits of assigning more than a /48 per site*

Written by Tom Coffeen, Co-founder of HexaBuild.io

Originally published in Infoblox blog on February 22, 2024

In my blog A /48 for Every Site and For Every Site a /48 (Parts 1 and 2), the title itself attempts to capture and summarize a general but critical IPv6 address planning principle: When designing an address plan, assign at least a /48 to every site. But is a single /48 always enough for every site? And if not, what prefix size would be and how would the assignment of a larger prefix impact the overall address plan?

To recap briefly, recall that for most network engineers and architects the word “site” has very tangible associations with specific physical network locations: data centers, campuses with LANs, remote offices, etc.  Since the networks at each of these locations vary both in size and the number of users they support, it’s natural to attempt to categorize them accordingly; e.g., small, medium, large, extra-large. As it turns out, the scarcity of IPv4 addressing makes such categorization essential. The IPv4 prefix or prefixes available to assign to a site may be few and constrained in size. Because of this, a small remote office might need only a /28 of IPv4 while a headquarters campus LAN might require a /20. If we’re exceedingly lucky, our small, medium, large, and extra-large sites might at least have consistently sized prefixes sufficiently available for each size category. For example:

Size of SiteIPv4 Prefix AssignedIPv4 Addresses
Small/2816
Medium/24256
Large/204096
Extra-large/1665536

 
But realistically, the availability of private (i.e., RFC 1918) IP address space is so limited in most enterprises that even such minimal consistency is often impossible. What results are site prefixes of various lengths that are difficult if not impossible to easily summarize for routing, or to permit the simplification of security ACLs. 

By comparison, the overall abundance of IPv6 allows for the assignment of a consistently sized, or “one size fits all,” IPv6 prefix for a site (for example, a /48 or larger) regardless of the site’s physical size, diameter of networks, number of users, etc. The uniformity of such site assignments makes routing summarization and ACL simplification much easier. This consistency can also further simplify network administration and operations – especially given that the recommended IPv6 prefix size should always fall on a nibble boundary. The unique network portion of a nibble-aligned prefix assigned to a site can be used to identify the site more easily – most beneficially when administering or troubleshooting the network.

In my blog IPv6 Prefix Allocation Methods (Parts 1 and 2) I describe the most typical methods for assigning prefixes from a larger allocation. Of these, we’ll demonstrate the next available method, and its limitations, first. The following graphic depicts an initial address plan with resulting site assignments of a /48 per site. Each site prefix is assigned sequentially from a /44 which provides up to 16 total sites.

(Free access, no subscription required)

Note that in the example this total of available prefixes decreases to 15 because we have skipped using the first available prefix of 2001:db8:1000::/48. This is done to align the site count with the prefix enumeration (e.g., Site 1 = 2001:db8:1001::/48, Site 2 = 2001:db8:1002::/48). This also may help avoid confusing two prefixes that appear identical because of IPv6 address zero compression rules but that have different CIDR lengths (e.g., 2001:db8:1000::/44 and 2001:db8:1000::/48). 

But what should happen when a site grows or changes in a way that requires additional IPv6 prefix space? And how can we then plan to provide additional prefix space while maintaining those planning practices that provide the greatest operational benefits? We wouldn’t want to have to renumber our site to try to extend the use of the single assigned /48 site prefix – especially when a properly large overall allocation should provide enough /48s to allow the addition of one or more to an existing site. But if we don’t plan, it’s possible that additional /48s for a site could be noncontiguous with the initial /48 site allocation. Such lack of contiguousness isn’t necessarily the end of the world, but it can result in more (and earlier) disaggregation of the IPv6 address space within the network. Always being able to identify a site by a single prefix that is summarized in the routing table and that has a single security boundary (and associated ACL entry) provides clear operational and administrative benefits.

One way to ensure that contiguous /48s are available is to reserve them in advance – ideally at the same time the initial address plan is being designed. But how many additional /48s should be reserved per site? The lower bound is obviously one additional /48. Any additional reserved /48s up to the first nibble could only be summarized along a non-nibble boundary. But any attempt to only add additional /48s as each site needs them, and then to summarize as much as possible, will result in a collection of different summary prefixes for different sites. These summaries would not be as legible in a routing table as a single nibble-aligned prefix for each site. 

The views expressed by the authors of this blog are their own and do not necessarily reflect the views of LACNIC.

Subscribe
Notify of

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments