IPv6 ULA Prefixes: Numbering Private Networks the RFC 4193 Way
November 19, 2026 · DevTools
Every IPv6 lab, homelab, or test network needs addressing that won't collide with anything else and doesn't require a registry. RFC 4193 answers this with Unique Local Addresses: the fd00::/8 block, where you pick a random 40-bit Global ID and get a /48 that is yours alone, with vanishingly small odds that anyone else ever generates the same one. The IPv6 ULA Generator produces these prefixes exactly the way the RFC intends — in two flavors.
Random mode: the CSPRNG draw
Random mode draws a fresh 40-bit Global ID per prefix from crypto.getRandomValues — the browser's cryptographically secure random source. Generate up to 20 prefixes in one click, assign one fdxx:xxxx:xxxx::/48 per site, and subnet at /64 inside each /48 as IPv6 design intends. Per RFC 4193's own analysis, the birthday-collision odds between any two such networks are remote enough to ignore in practice — that's the entire premise of the scheme, and it's why no coordination server is needed.
Deterministic mode: the §3.2.2 algorithm
Sometimes reproducible beats random. RFC 4193 §3.2.2 specifies an algorithm for deriving a Global ID deterministically: hash a NIC identifier plus an EUI-64 timestamp with SHA-1 and keep the least significant 40 bits of the digest. The tool implements exactly that through the Web Crypto API — enter a NIC name like eth0 and an install date, and the same inputs always yield the same fd00::/48 prefix, on every device, derivable again years later. No registry, no coordination, no "which spreadsheet had the lab prefix".
Output that pastes cleanly
Prefixes render RFC 5952-compressed (fd49:ca60:21ab::/48) with per-prefix copy buttons and a copy-all button for batches — paste 20 prefixes straight into a provisioning spreadsheet or an IaC variables file. A typical rollout: generate the batch once, record which /48 belongs to which site, and never regenerate.
Local by necessity
There is nothing to phone home about: the random draws come from your browser's CSPRNG, the deterministic hashes from the Web Crypto API, and nothing is transmitted or stored. A network-numbering plan is infrastructure documentation — exactly the kind of thing you don't want leaking through a generator's analytics.
While you're numbering networks: the IPv6 Address Expander compresses and expands the addresses you'll assign inside those /48s, and the Subnet Calculator covers the IPv4 side of the plan.