IPv6 ULA generator
Generate your own local, non-routable IP addresses for your network according to RFC4193.
About IPv6 ULA generator
Generates an IPv6 Unique Local Address prefix (fd00::/8) following RFC 4193: a pseudo-random 40-bit global ID derived from a MAC address and the current time, giving you a /48 prefix for your private network plus its first and last /64 subnets.
When you would use it
- Choosing an internal IPv6 prefix for a home lab, office LAN, VPN or container network that does not need to be routable on the internet.
- Avoiding the collisions that fd00::/48 or fd00:1::/64 cause when two private networks are later joined by a VPN.
- Learning how ULA prefixes are structured.
How to use it
- Enter a MAC address of one of your network interfaces; any valid MAC works and it only seeds the random part.
- Read the /48 prefix (IPv6 ULA) and the first and last /64 blocks you can carve out of it.
- Copy the prefix and record it; the result changes on every refresh, so do not expect to regenerate the same one.
Things worth knowing
- The global ID is a hash of the MAC address and the current timestamp, as RFC 4193 recommends, so each generation gives a new prefix. Save the one you decide to use.
- A /48 contains 65536 /64 subnets, from xxxx:0::/64 to xxxx:ffff::/64. Each LAN segment normally gets one /64.
- ULAs are private, like 10.0.0.0/8 in IPv4, but they are not meant to be NATed; hosts use them alongside a global address, and a random prefix keeps the two networks distinct when merged.
- fc00::/8, the other half of the ULA space, is reserved for a centrally assigned scheme that was never deployed, so generated prefixes always start with fd.
Frequently asked questions
- Can I just use fd00::/48?
- It works, but everyone who takes that shortcut picks the same prefix, so two such networks collide as soon as they are connected. A random global ID is the whole point of RFC 4193.
- Is the generated prefix guaranteed unique?
- Not guaranteed, but with 40 random bits the chance that two independently generated prefixes collide is negligible for any realistic number of networks.