IPv6 /32 Prefix Size and Address Range
Count the address bits in an IPv6 /32, inspect a documentation prefix and compare its size with a /64.
| Variable address bits | 96 |
|---|---|
| Total addresses | 79228162514264337593543950336 |
| First example address | 2001:db8:: |
| Last example address | 2001:db8:ffff:ffff:ffff:ffff:ffff:ffff |
There are 32 bits available to number /64 networks within this allocation.
| Prefix | Addresses | /56 | /64 |
|---|---|---|---|
| /32 | 79228162514264337593543950336 | 16777216 | 4294967296 |
| /40 | 309485009821345068724781056 | 65536 | 16777216 |
To size an end-site allocation, count the subnets needed today and allow for growth. Compare that count with the prefix offered by the provider. RFC 6177