N-01 · Subnet · IPv6 /32
/32 IPv6 subnet
A /32 IPv6 prefix fixes the first 32 of 128 bits and leaves 96. Its size, how it splits, where it sits among the usual allocation sizes and the RFC rules that apply to it.
Short answer
- Addresses
- 2^9679,228,162,514,264,337,593,543,950,336
- /64 networks
- 2^324,294,967,296
- /48 sites inside
- 65,536
IPv6 has no broadcast address and all-zeros and all-ones are ordinary values (RFC 4291 §2), so all 2^96 addresses count. The documentation prefix 2001:db8::/32 is this size, and it holds 65,536 /48 sites.
What a /32 holds
Longer prefixes inside one /32. Each extra bit halves the block.
| Prefix | In one /32 |
|---|---|
| /48 | 65,536 (2^16) |
| /56 | 16,777,216 (2^24) |
| /64 | 4,294,967,296 (2^32) |
| /80 | 281,474,976,710,656 (2^48) |
| /96 | 18,446,744,073,709,551,616 (2^64) |
| /112 | 1,208,925,819,614,629,174,706,176 (2^80) |
| /120 | 309,485,009,821,345,068,724,781,056 (2^88) |
| /126 | 19,807,040,628,566,084,398,385,987,584 (2^94) |
| /127 | 39,614,081,257,132,168,796,771,975,168 (2^95) |
| /128 | 79,228,162,514,264,337,593,543,950,336 (2^96) |
Where a /32 sits
How many /32 blocks the larger sizes hold.
| Block | /32 blocks in it |
|---|---|
| ::/0, all of IPv6 | 4,294,967,296 (2^32) |
| 2000::/3, global unicast | 536,870,912 (2^29) |
IANA assigns unicast space only from 2000::/3, which holds 536,870,912 (2^29) /32 blocks.
Rules for a /32
RFC 3849 reserves 2001:db8::/32 for documentation, so a whole /32 is the space examples are written in: this page's worked example sits inside it. The registry's other /32 blocks are listed below.
Measured in the end-site sizes of RFC 6177, a /32 holds 65,536 (2^16) /48 sites or 16,777,216 (2^24) /56 sites, and 4,294,967,296 (2^32) /64 networks in all.
Special-purpose /32 blocks
Blocks of exactly this size in the IANA IPv6 Special-Purpose Address Space registry.
| Block | Use |
|---|---|
| 2001::/32 | TEREDO |
| 2001:3::/32 | AMT |
| 2001:db8::/32 | Documentation |
Check an address
Pre-filled with 2001:db8:abcd:3412:1e:5:a:7/32. Change the address or the prefix.
Result
2001:db8::/32
79,228,162,514,264,337,593,543,950,336 (2^96) addresses
- First address
- 2001:db8::
- Last address
- 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff
- Prefix length
- /32
- Broadcast
- None in IPv6
Holds 4,294,967,296 (2^32) /64 networks. Each LAN normally gets one /64. IPv6 has no broadcast address; the first address is the subnet-router anycast address (RFC 4291).
2001:db8::/32 is reserved for documentation and examples (RFC 3849). Not routed.
Hex view
- Address
- 2001:0db8:abcd:3412:001e:0005:000a:0007
- Network
- 2001:0db8:0000:0000:0000:0000:0000:0000
- Last
- 2001:0db8:ffff:ffff:ffff:ffff:ffff:ffff
Each hex digit is 4 bits. Bold digits are fixed for the network; orange digits number the interfaces.
2001::/16 split into /32 · 65,536 blocks
- … 3,509 before
- 2001:db8::/32◂
- … 62,019 more
Worked example
Take 2001:db8:abcd:3412:1e:5:a:7/32, written out in full as 2001:0db8:abcd:3412:001e:0005:000a:0007. Each hex digit is 4 bits, so a /32 keeps the first 8 digits (2 full groups) and zeros the other 24. The network is 2001:db8::/32; setting those digits to f gives the last address, 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff.
The block holds 79,228,162,514,264,337,593,543,950,336 (2^96) addresses. Its first address, 2001:db8::, is the Subnet-Router anycast address for the prefix (RFC 4291 §2.6.1).
2001:db8::/32 splits into 65,536 (2^16) /48 blocks. Each is one end site of the larger RFC 6177 size.
| # | /48 | |
|---|---|---|
| 1 | 2001:db8::/48 | |
| 2 | 2001:db8:1::/48 | |
| 3 | 2001:db8:2::/48 | |
| … 43,978 more | ||
| 43,982 | 2001:db8:abcd::/48 | |
| … 21,553 more | ||
| 65,536 (2^16) | 2001:db8:ffff::/48 | |
References
- RFC 4291, IP Version 6 Addressing Architecture: §2 (no broadcast), §2.3 (prefix notation), §2.6.1 (Subnet-Router anycast), §2.5.1 64-bit interface identifiers as updated by RFC 7136.
- RFC 3849, IPv6 Address Prefix Reserved for Documentation: 2001:db8::/32.
- RFC 5952, A Recommendation for IPv6 Address Text Representation.
- RFC 6177 (BCP 157), IPv6 Address Assignment to End Sites, which replaced RFC 3177.
- IANA IPv6 Special-Purpose Address Space registry (updated 2025-10-09).
Other IPv6 prefixes
Related tools
- Subnet calculatorNetwork, broadcast, host range, masks and a binary view from any IPv4 or IPv6 address and prefix.
- CIDR calculatorTurn IPv4 or IPv6 ranges into the fewest CIDR blocks, merge a list, and check it for overlaps.
- VLAN plannerCarve a parent block into right-sized subnets with VLAN IDs, then export CSV or Markdown.