IPv6 ULA Generator
Generate unique local IPv6 addresses (ULA) per RFC 4193 with cryptographically random prefixes.
IPv6 ULA Generator tool
Example
Input: Click Generate New ULA
Result: A random /48 prefix such as fd30:9f9d:792f::/48, plus an example /64 subnet, a full example address, the 40-bit Global ID and a 16-bit Subnet ID
Every ULA starts with fd (the fc00::/7 block with the local bit set), followed by a 40-bit random Global ID. The result is different each time, which keeps collisions between networks unlikely.
How a ULA Address Is Built
| Field | Bits | Example |
|---|---|---|
| Prefix | 7 | fc00::/7 |
| L bit (local) | 1 | 1, so the first byte is fd |
| Global ID (random) | 40 | 30:9f9d:792f |
| Subnet ID | 16 | 0001, chosen by you |
| Interface ID | 64 | Set per device |
Bit layout from RFC 4193, using the prefix fd30:9f9d:792f::/48 as the example.
- A random ULA /48 prefix is created when the page loads. Click "Generate New ULA" for a different one.
- Read the prefix in standard IPv6 notation (for example fd12:3456:789a::/48).
- Check the breakdown: the 40-bit random Global ID and a random 16-bit Subnet ID.
- Use the example /64 subnet and example full address as a template for a VLAN or network segment.
- Copy the prefix into your router, DNS or firewall configuration.
IPv6 Unique Local Addresses Under RFC 4193
A unique local address (ULA) is the IPv6 version of a private range like 192.168.0.0/16. This generator creates a random /48 prefix inside fd00::/8, such as fd30:9f9d:792f::/48. You can use it for a home lab, an office or a VPN without asking anyone for address space.
Why random? With IPv4, everyone reuses the same few private ranges, so merging two networks often means renumbering one of them. RFC 4193 avoids this by adding a 40-bit random Global ID after the fd prefix. That gives about 1.1 trillion possible prefixes. Two networks that each pick one at random are very unlikely to clash. The tool draws those bits from the Web Crypto API, the secure random source built into your browser.
A /48 leaves 16 bits for subnets, which is 65,536 separate /64 networks. The tool picks one random Subnet ID to show an example /64, and adds a random 64-bit interface ID to show a full address. In practice you number the subnets yourself, such as 1, 2 and 10. The host part is then filled in by DHCPv6 or by SLAAC, the automatic address setup built into IPv6.
ULAs are not routed on the public internet, so they suit internal DNS, file servers and management networks. Devices that need internet access usually get a global address alongside the ULA. Generate a prefix once, write it down and keep using it: the idea is one stable prefix per site. If you are also planning the IPv4 side of the network, the IPv4 Subnet Calculator covers that.
Sources
Frequently Asked Questions
Related Tools
IPv4 Address Converter
Convert IPv4 addresses between decimal, binary, hexadecimal, and integer representations instantly.
Network ToolsIPv4 Subnet Calculator
Calculate network address, broadcast address, host range, subnet mask, and wildcard mask from any IP and CIDR prefix.
Network ToolsMAC Address Generator
Generate random MAC addresses with optional OUI prefix in colon, hyphen, or dot notation formats.
Network ToolsUUID Generator
Generate random UUIDs in v4 and v7 formats with bulk generation and one-click copy support.
Developer Tools