A unique local address (ULA) is an IPv6 unicast address drawn from the fc00::/7 block that is intended for communication inside a site or between cooperating sites, and that must never be routed on the public Internet. In Internet addressing, ULAs fill the role that private IPv4 ranges such as 10.0.0.0/8 play in IPv4, but they add a pseudo-random 40-bit Global ID so that independently created networks are very unlikely to collide.
ULAs are defined in RFC 4193, published in 2005 to replace the deprecated IPv6 site-local prefix fec0::/10. They give administrators stable internal addressing that does not change when an Internet service provider renumbers the global prefix, while ordinary global unicast addresses continue to carry Internet traffic on the same interfaces.
How a unique local address is structured
A unique local address is a 128-bit IPv6 address with four fixed fields: a 7-bit prefix, a 1-bit L flag, a 40-bit Global ID and a 16-bit Subnet ID, followed by the usual 64-bit Interface ID. The first 48 bits therefore form a site prefix of length /48, which yields 65,536 possible /64 subnets for a single organization.
The table below lists each field, its size and its purpose.
| Field | Bits | Value or purpose |
|---|---|---|
| Prefix | 7 | Binary 1111110, which defines fc00::/7 |
| L flag | 1 | 1 means locally assigned, giving fd00::/8 |
| Global ID | 40 | Pseudo-random value chosen by the site |
| Subnet ID | 16 | Identifies one /64 link inside the site |
| Interface ID | 64 | Identifies the host, often from SLAAC or DHCPv6 |
In practice every ULA in use today begins with fd, because the L flag set to 1 marks a locally generated Global ID. The half with the flag set to 0, fc00::/8, was reserved for a centrally assigned registry that has never been defined, so addresses starting with fc should not be configured.
Why the Global ID must be random
The Global ID is the feature that separates ULAs from private IPv4 space. RFC 4193 asks each site to generate it with a pseudo-random algorithm, for example by hashing the current time and a hardware identifier with SHA-1 and keeping the lowest 40 bits. The goal is that two organizations that later merge or connect through a VPN will almost certainly hold different, non-overlapping prefixes.
With 2 to the power of 40, or about 1.1 trillion, possible values, the probability of a collision is very low for realistic numbers of interconnected sites. The following table shows how that probability grows, using the birthday approximation.
| Interconnected sites | Collision probability | Practical meaning |
|---|---|---|
| 10 | About 4.5 in 100 billion | Negligible |
| 1,000 | About 4.5 in 10 million | Negligible |
| 100,000 | About 0.45 percent | Rare but conceivable |
| 1,000,000 | About 37 percent | Collision is likely |
The main risk is not mathematics but human shortcuts. Administrators who choose memorable prefixes such as fd00::/48 or fd12:3456:789a::/48 recreate exactly the overlap problem of 192.168.1.0/24, and the benefit of the random Global ID disappears.
Unique local addresses compared with other IPv6 and IPv4 ranges
A ULA is easiest to understand by comparing its scope and routability with neighboring address types in the Internet addressing topic. Although it is used only internally, RFC 4291 treats a ULA as having global scope for address architecture purposes, which differs from link-local addresses that are valid on one link only.
| Address type | Prefix | Routable on the Internet | Typical use |
|---|---|---|---|
| Unique local address | fd00::/8 | No | Internal services, labs, VPN links |
| Global unicast address | 2000::/3 | Yes | Public reachability |
| Link-local address | fe80::/10 | No, single link only | Neighbor discovery, routing protocols |
| Site-local address | fec0::/10 | No, deprecated | Replaced by ULAs |
| Private IPv4 address | 10.0.0.0/8 and others | No | Internal IPv4 hosts behind NAT |
The deprecated site-local prefix failed because the term site was never defined precisely and every site used the same ambiguous addresses. ULAs avoid both problems: the boundary is set by filtering policy, and the random prefix keeps addresses unambiguous after mergers.
Where unique local addresses are used
ULAs are most valuable when internal addresses must stay constant regardless of upstream changes. A host can hold a ULA and a global unicast address at the same time, so internal services keep stable names while Internet traffic uses the provider prefix.
| Situation | Recommended choice | Reason |
|---|---|---|
| Provider prefix changes often | ULA for internal services | Internal DNS records stay valid |
| Isolated lab or industrial network | ULA only | No Internet connectivity is needed |
| Site-to-site VPN between partners | Separate random ULA per site | Prefixes do not overlap |
| Public-facing servers | Global unicast address | ULAs are filtered on the Internet |
| Need to hide internal topology | Global addresses with firewalling | ULA is not a security boundary |
Some networks combine ULAs with Network Prefix Translation (NPTv6), defined in RFC 6296, which rewrites the ULA prefix to a global prefix at the border without port mapping. This approach is controversial because it reintroduces address translation that IPv6 was designed to remove, but it is used where provider independence matters more than end-to-end transparency.
Limitations and common mistakes with unique local addresses
The most frequent surprise is address selection behavior. The default policy table in RFC 6724 gives fc00::/7 a lower precedence than IPv4, so a dual stack host that has only a ULA and an IPv4 address may prefer IPv4 for Internet destinations, which is correct, but may also choose IPv4 for internal destinations unless the policy table or DNS records are adjusted.
- Leaking ULA routes to upstream providers: border routers must filter fc00::/7 in both directions.
- Publishing ULAs in public DNS: external clients receive unreachable addresses and connections time out.
- Assuming ULAs provide security: protection comes from firewall rules, not from the prefix itself.
- Using non-random Global IDs: future mergers or VPNs then require painful renumbering.
- Deploying ULA only on Internet-connected hosts: without a global address or NPTv6, those hosts cannot reach IPv6 destinations on the Internet.
Reverse DNS for ULAs should be served by internal resolvers only, because the d.f.ip6.arpa zone is not delegated in the global DNS. Monitoring tools should also treat any ULA source address seen on an Internet-facing link as a bogon and a sign of misconfiguration.
The short version
A unique local address is an internal IPv6 address that works inside a home, office or company network but is never used on the public Internet. It is similar to the 192.168 addresses many home routers hand out, but with an important improvement.
Each network picks a random prefix of its own, a bit like choosing a long random house number instead of everyone using number 1. If two companies later join their networks, their addresses almost certainly do not clash, so nobody has to renumber every device.
Where it makes a difference
A regional manufacturer runs about 400 devices across two plants, including printers, sensors and internal web applications. Its Internet provider assigns a dynamic IPv6 /56 prefix that changes after equipment upgrades, and each change previously broke internal DNS records and firewall rules that referred to global addresses.
The network team generates a random ULA prefix, fd5e:8a21:c34b::/48, and assigns one /64 per production line. Internal servers, printers and DNS records now use only the ULAs, while desktops also receive global addresses for Internet access. Border routers filter fc00::/7 toward the provider.
Eight months later the provider renumbers the site twice, and no internal service is affected. When the company acquires a supplier that also uses a random ULA prefix, the two networks connect through a site-to-site VPN without any address overlap or translation.