Network Bytes · Episode 89 · CCNA 1.9
"IPv6 unique local addresses"
IPv6 has its own private addresses, called unique local addresses, and in practice they all start with fd. They work inside a site but are not carried on the internet, and a random 40-bit number after fd keeps two sites from clashing.
IPv6's answer to 192.168
At home, your devices probably have IPv4 addresses like 192.168.1.10. Those are private addresses: they work on your own network but are never routed on the internet. IPv6 has the same idea, called unique local addresses (ULAs), defined in RFC 4193.
Think of them like a company's internal phone extensions. Anyone inside the company can dial an extension, but nobody outside can, because the public phone network doesn't know about it. In the same way, routers inside a site forward unique local addresses like any other address, while internet routers won't carry them, and the site's border router should filter them.
Why they start with fd
RFC 4193 sets aside the block FC00::/7 for unique local addresses. The bit after those first 7 bits is the L bit: 1 means the prefix was assigned locally, which gives FD00::/8. The other half, FC00::/8, has never been defined, so every unique local address you will meet starts with fd.
The twist: a random 40-bit number
After fd, each site picks a random 40-bit Global ID. There is no registry to ask; you generate it yourself. That randomness is the clever part: in IPv4, almost everyone uses 192.168.1.0/24 or 10.0.0.0/8, so when two companies merge, their address plans often collide. With 40 random bits, two sites picking the same number is very unlikely (though not impossible).
fd (8 bits) plus the 40 random bits gives one /48 site prefix, for example fd3a:91c2:7b04::/48. The site then carves that prefix into its own subnets, and each subnet is a /64.
Not just "IPv6 NAT"
Unlike IPv4 private addresses, unique local addresses are not built around NAT. An IPv6 host can have a unique local address for internal traffic and a global unicast address for the internet at the same time. (Prefix translation, NPTv6, exists, but it is beyond the CCNA.)
Try it yourself
On a computer with IPv6, open a terminal and run ipconfig (Windows) or ip -6 addr (Linux; on macOS use ifconfig). Look for an address starting with fd: some home routers hand them out. You will almost certainly see one starting with fe80, which is a link-local address, a different type. Then try one of the free online ULA generators to make your own random fd site prefix and see that it differs from everyone else's.
Good to know
- CCNA 1.9 lists unique local among the IPv6 unicast address types (EP26 covers global, link-local and multicast; EP05 covers IPv4 private addresses).
- Per RFC 4193, unique local addresses use
FC00::/7, then the L bit, then a 40-bit Global ID, then a Subnet ID field and a 64-bit interface ID. - L = 1 means locally assigned, which gives
FD00::/8; the L = 0 half (FC00::/8) is not yet defined, so in practice every unique local address starts withfd. - The Global ID should be generated pseudo-randomly (no central registry), which makes clashes very unlikely but not impossible.
- "Internet routers won't carry them" means they are not expected to be routed on the global internet and should be filtered at site borders; inside a site they route like any other address.
- They are not designed around NAT (prefix translation, NPTv6, exists but is beyond CCNA); a host can have a unique local address and a global address at the same time.
- "Internal phone extensions" is the analogy.
fd3a:91c2:7b04::/48is an example prefix.
For CCNA learners
CCNA exam topic 1.9 is describe IPv6 address types, and it names unique local among the unicast types. Know that unique local addresses start with fd (from FC00::/7), are meant for use inside a site, and carry a random 40-bit Global ID that makes a /48 site prefix.
Answer to the comment question
16 bits. A subnet prefix is 64 bits and the site prefix uses the first 48, so 64 − 48 = 16 bits are left for numbering subnets. That is enough for 65,536 subnets in one site.
Test your knowledge
Quick quiz: "IPv6 unique local addresses"
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- IETF, "RFC 4193, Unique Local IPv6 Unicast Addresses": FC00::/7 prefix, L bit set to 1 for locally assigned, pseudo-random 40-bit Global ID, not expected to be routable on the global internet
- NetworkLessons, "IPv6 Address Types": unique local addresses alongside global unicast, link-local and multicast; in practice they start with FD
- Extreme Networks, "Switch Engine User Guide: Unique Local Address (ULA) for IPv6": vendor summary of the RFC 4193 format and FD00::/8 in use
- Cisco, "CCNA 200-301 v1.1 exam topics": 1.9 describe IPv6 address types, including unique local
Video transcript
Does IPv6 have private addresses, like 192.168 at home?
Yes. They're called unique local addresses, and they start with fd.
Think of them like a company's internal phone extensions. They work for calls inside the company, but nobody outside can dial them. Internet routers won't carry them.
Here's the twist. After fd, each site picks a random 40-bit number. So if two companies ever merge, their extensions almost never clash.
fd plus those random bits makes one /48 prefix for the whole site.
Your site prefix is a /48. Each subnet is a /64. How many bits are left to number your subnets? Comment your answer below!
That's your byte.
More from Network Bytes
- EP87"Containers vs virtual machines"
- EP88"PortFast and BPDU Guard"
- EP90"IPv6 anycast addresses"
- EP91"Voice VLANs: a phone and a PC on one port"