IPv6 Address Planning

IPv6 Subnet Planner

Design an IPv6 addressing plan: subdivide a prefix into sites, branches and VLANs, reserve room to grow, and see exactly what is allocated, reserved and free.

  • IPv6
  • Hierarchical allocation
  • Runs locally in your browser

Plan prefix

Examples

Address map

    • Allocated
    • Reserved
    • Partly used
    • Free
    • Next available
    • Conflict

    Select a block, then Open to see inside it. Keys: arrows move, Enter selects, Shift+Enter opens, Backspace goes up.

    Addressing plan

    Engineering guide

    IPv6 subnet planning, in practice

    What is IPv6 subnet planning?

    An IPv6 subnet plan decides, before anything is configured, which part of an allocated prefix each site, building, function and VLAN will use. IPv6 space is too large to run out of by accident, so the goal is not saving addresses. It is a structure that stays readable: the prefix itself should tell an engineer where a network is and what it is for, and summarize cleanly at each level of the routing hierarchy.

    How IPv6 prefix delegation works

    Address space is handed down a hierarchy. Regional Internet Registries allocate large blocks (commonly /32 or shorter) to operators. Operators assign end sites a prefix, often delegated automatically to the customer router with DHCPv6 Prefix Delegation (RFC 8415). Common practice, as described in RIPE-690, is a /48 for business sites and at least a /56 for residential customers. The site then subdivides its prefix into /64 subnets for its links and LANs.

    /48 vs /56 vs /64

    /48 A site allocation: 16 bits of subnet ID, so 65,536 /64 subnets. Enough for a campus or a multi-building organisation with room for hierarchy.

    /56 A smaller site or branch: 8 bits of subnet ID, 256 /64 subnets.

    /64 One subnet. Stateless address autoconfiguration (SLAAC) and most host behaviour assume a 64-bit interface identifier, so LANs and VLANs are normally /64 (RFC 4291, RFC 7421).

    Not every link has to be a /64. Point-to-point router links are often numbered with a /127 (RFC 6164), and loopbacks with a /128. A common pattern is to set aside one /64 per purpose and number these inside it.

    How many /64s are inside common prefixes

    Number of /64 subnets and total addresses inside common IPv6 prefix lengths
    PrefixNumber of /64sSubnet ID bitsTypical use
    /324,294,967,29632Operator (LIR) allocation
    /4016,777,21624Large organisation or region
    /441,048,57620Region or group of sites
    /4865,53616Business site
    /524,09612Building or zone in a /48
    /562568Branch or residential customer
    /60164Small group of VLANs
    /6410One LAN or VLAN

    Hierarchical addressing on nibble boundaries

    Each hexadecimal digit of an IPv6 address is four bits, a nibble. Planning levels on nibble boundaries (/48, /52, /56, /60, /64) means every level is exactly one hex digit, so 2001:db8:1200:3400::/56 reads as site 3, building 4. It also keeps reverse DNS delegation (ip6.arpa) on clean boundaries and makes route summaries obvious. The map above draws each level as one hex digit: rows are the next nibble, cells the one after.

    Address reservation strategy

    Reserve space next to every block that is likely to grow, rather than packing allocations tightly. A reserved block is held back on purpose: it counts as unavailable capacity, but it is not in use, so it can later become an allocation without renumbering anything around it. Reserving a whole level (for example the upper half of a /48) keeps a second region or a merger possible without touching existing sites.

    Avoiding overlaps

    Two CIDR prefixes never partly overlap: they are either disjoint or one contains the other. A conflict is therefore one of three cases: the same prefix allocated twice, a new block that would contain existing allocations, or a block placed inside space that is reserved. The planner refuses all three. Deliberate nesting, such as VLANs inside a site, is the hierarchy itself and is allowed.

    Example enterprise plan

    An organisation receives 2001:db8:1200::/48. It gives each major site a /52 (16 possible), each building or branch a /56 inside its site, and each VLAN a /64 inside its building. One /56 per site holds infrastructure: a /64 for loopbacks (/128s) and a /64 for point-to-point links (/127s). The upper half, 2001:db8:1200:8000::/49, stays reserved for growth. Load the “Enterprise /48” example above to explore a plan built this way.