Skip to content

Lesson 1 of 9 · 24m

Addresses Are Policy: Building an IPv6 Plan

How IPv6 addresses are structured, why /64 is a hard design assumption, and how to write an allocation plan that survives audits and reorganizations.

The first IPv6 outage I ever caused was not a routing bug. It was an addressing plan copied into a spreadsheet by three teams, edited independently, and then used as the source of truth for firewall rules. Two sites got the same /48. IPv6 is unforgiving in a specific way: there is enough space to make bad habits look successful for a long time.

Read the address as operational structure

An IPv6 address is 128 bits, normally written as eight 16-bit hexadecimal groups:

2001:db8:3f2a:0010:0000:0000:0000:0042
2001:db8:3f2a:10::42        # compressed form

The first 64 bits usually identify the network; the last 64 are the interface identifier. That split is not just notation. SLAAC, many privacy mechanisms, and most enterprise designs assume every ordinary LAN is a /64.

ip -6 addr show dev eth0
# inet6 2001:db8:3f2a:10::42/64 scope global dynamic noprefixroute
# inet6 fe80::a1b2:c3ff:fee4:5566/64 scope link

The fe80::/10 address is link-local. Every interface has one, and it is only meaningful on that link. That is why a link-local ping often needs a zone: ping -6 fe80::1%eth0.

Allocate for aggregation, not aesthetics

A practical plan starts with the allocation you receive — often a /48 for an organization or site, sometimes a /56 or /60 for smaller environments. Then divide by purpose:

2001:db8:3f00::/48      organization
  2001:db8:3f00::/52    campus core
  2001:db8:3f10::/52    server networks
  2001:db8:3f20::/52    user access
  2001:db8:3f30::/52    lab and staging
  2001:db8:3ff0::/52    infrastructure and loopbacks

Do not encode a clever poem in hex. Encode things you need operationally: region, site, security zone, network role. Leave unallocated space between large blocks so growth does not force renumbering.

Write down the rules that cannot be inferred

Your plan should answer:

  • Which prefixes are globally routed versus local-only, and who may delegate longer prefixes?
  • How are point-to-point links numbered — usually /127 today to avoid ping-pong neighbor discovery attacks on /64 links — and how are infrastructure addresses assigned?
  • How are exceptions approved and retired?

Field notes

  • Unique local addresses (fc00::/7) are not private IPv4 space reborn; use them intentionally, usually alongside global addresses, not as a NAT substitute.
  • ::1 is localhost. :: is the unspecified address. Do not put either in DNS for real services.
  • The hex digits in a prefix do not create security boundaries. Routing and policy do.
  • Keep the plan in version control with network diagrams. A spreadsheet attached to email is not a control plane.

Was this lesson helpful?

Sign in to rate