IPv6 ULA Generator

Generate an RFC 4193 IPv6 Unique Local Address (ULA) /48 prefix and calculate /64 subnets for a home network, lab, or VPN.

Generated site prefix

One locally assigned RFC 4193 /48, created with 40 random bits in this browser tab.
RFC 4193 · /48

Generating a secure prefix…

Prefix details

The fields that make this a locally assigned Unique Local Address.
Global ID
—
ULA space
fc00::/7
Locally assigned bit
1 (locally assigned)
Site prefix length
/48
Random source
Web Crypto API
Available /64 subnets
65,536

Address layout

A /48 site prefix leaves 16 bits for subnet planning and 64 bits for each interface identifier.

Local prefixfd8 bits
Global ID——————————40 bits
Subnet ID000016 bits
Interface ID0000:0000:0000:000064 bits

Plan a /64 subnet

Choose a hexadecimal Subnet ID inside this /48. The selected network is formatted canonically.

Enter one to four hexadecimal digits from 0000 through ffff.

Selected /64

—

Allocation boundaries

The first and last /64 available inside the generated /48.

First /64

—

Last /64

—

Generate an IPv6 ULA /48 prefix

Copy the generated fd prefix for your home network, lab, or VPN. Save the chosen /48 with your network configuration so you can reuse it when adding subnets. Select Generate new prefix when you want a fresh allocation.

Calculate a /64 subnet

Enter a hexadecimal Subnet ID from 0000 to ffff. For example, ID 00a0 within fd12:3456:789a::/48 gives fd12:3456:789a:a0::/64. A /48 gives you 65,536 possible /64 subnets, so you can assign separate prefixes to networks such as LAN, guest Wi-Fi, or a VPN.

Where the fd prefix comes from

RFC 4193 defines Unique Local Addresses in fc00::/7. The locally assigned half, fd00::/8, starts with fd. The generator adds a random 40-bit Global ID from the browser’s Web Crypto API to make the /48.

When to use a Unique Local Address

Use a ULA for stable IPv6 addressing within a network or across sites connected by VPN. A device can also use a global IPv6 address for public Internet traffic while keeping its ULA for internal services.