IPv6 CIDR Subnet Calculator
Calculate IPv6 subnet boundaries, perform canonical RFC 5952 address compression and 32-character hexadecimal expansion, and compute total host allocations for cloud VPCs and ISP routing.
Mastering IPv6 Subnetting & Prefix Delegation
With IPv4 exhaustion an established reality, global cloud infrastructure relies on IPv6's massive 128-bit address space ($3.4 \times 10^{38}$ total addresses). Understanding standard allocation practices is vital for modern cloud architecture:
1. Why /64 is the Universal Standard Subnet
In IPv6, a single LAN or VPC subnet is almost always allocated a /64 prefix. This leaves 64 bits for the interface ID, which is mandatory for Stateless Address Autoconfiguration (SLAAC - RFC 4862). Even if a network only has 10 devices, allocating a /64 ensures compatibility with all routers and operating systems.
2. Standard Prefix Hierarchy
- /32: Standard allocation granted to an Internet Service Provider (ISP) or large cloud provider.
- /48: Standard allocation assigned to an entire enterprise organization or corporate campus (providing 65,536 individual /64 subnets).
- /56: Standard allocation assigned by residential ISPs to home fiber connections (providing 256 individual /64 subnets).
3. Address Compression Rules (RFC 5952)
Leading zeroes within a 16-bit block are omitted (e.g. :0db8: becomes :db8:). A single contiguous sequence of all-zero blocks is replaced with a double colon (::). The double colon can only appear once in an address to avoid ambiguity.