Plan local IPv6 /64s from an RFC 4193 ULA /48

Walk through a sample fd-prefixed local address plan, then generate a fresh ULA /48 and assign its internal site and LAN IDs.

Try these inputs

Worked calculation

  1. The fd byte marks a locally assigned ULA. Five further bytes make up the 40-bit global ID of this sample /48.
  2. Branch 7 fixes the next byte to 07 and gives fd37:abcd:1234:700::/56.
  3. LAN 16 is hexadecimal 10, so the /64 is fd37:abcd:1234:710::/64. Generate and record a fresh /48 for a real network.

Inputs

Prefix lengths
Zero-based. The first child has index 0.

Calculated in your browser

Results

Selected child
fd37:abcd:1234:700::/56
Selected leaf
fd37:abcd:1234:710::/64
Child prefixes
256

IPv6 prefix tree

IPv6 prefix treeThe parent connects to nearby child prefixes. The selected child connects to nearby leaf prefixes. Full CIDRs and indices appear in the table.fd37:abcd:1234::/48fd37:abcd:1234::/48fd37:abcd:1234:600::/56fd37:abcd:1234…00::/56fd37:abcd:1234:700::/56fd37:abcd:1234…00::/56fd37:abcd:1234:800::/56fd37:abcd:1234…00::/56fd37:abcd:1234:70f::/64fd37:abcd:1234…0f::/64fd37:abcd:1234:710::/64fd37:abcd:1234…10::/64fd37:abcd:1234:711::/64fd37:abcd:1234…11::/64/48 → /56 → /64
  • Selected prefix
  • Nearby or parent prefix
The parent connects to nearby child prefixes. The selected child connects to nearby leaf prefixes. Full CIDRs and indices appear in the table.
Parent network
fd37:abcd:1234::/48
Last address in parent
fd37:abcd:1234:ffff:ffff:ffff:ffff:ffff
Full address
fd37:abcd:1234:0000:0000:0000:0000:0000
Compressed address
fd37:abcd:1234::
Addresses in parent
1,208,925,819,614,629,174,706,176
Leaves in selected child
256
Address space
Locally assigned ULA (fd00::/8)
Prefixes near the selected indices
LevelIndexPrefixSelection
Child6fd37:abcd:1234:600::/56Neighbor
Child7fd37:abcd:1234:700::/56Selected
Child8fd37:abcd:1234:800::/56Neighbor
Leaf15fd37:abcd:1234:70f::/64Neighbor
Leaf16fd37:abcd:1234:710::/64Selected
Leaf17fd37:abcd:1234:711::/64Neighbor

Questions

Should separate organizations copy the ULA block in this example?

Generate a random global ID for each independent organization to reduce the chance of a collision when networks connect.

Will a ULA automatically provide public IPv6 connectivity?

ULA addresses are for internal routing. Public reachability requires suitable global IPv6 addressing and routing.

References