IPv6 Subnet Calculator
Advanced 128-bit network calculator. Features include CIDR subnetting, EUI-64 conversion, ULA generation, and RFC-compliant address compression.
-
-
-
-
-
| Index | Network | Range Start | Range End |
|---|---|---|---|
| Select a target CIDR to view subnets | |||
Generates the PTR record for BIND/Zone files.
-
Generates a random Unique Local Address (RFC 4193) using cryptographic entropy.
-
-
About
The transition to IPv6 introduces a 128-bit address space, effectively eliminating the address exhaustion issues of IPv4. However, the complexity of hexadecimal notation and the sheer scale of subnets make mental calculation impossible. Precision is non-negotiable; a single bit error in a prefix length can misalign an entire network hierarchy.
This tool is engineered for network architects and systems administrators who require bit-perfect accuracy. It handles the full 128-bit range using BigInt arithmetic, ensuring no loss of precision. Beyond simple range calculation, it provides deep inspection of subnet hierarchies, generates RFC 4193 Unique Local Addresses (ULA), and automates the creation of ip6.arpa reverse DNS records. It addresses the common pitfalls of IPv6 deployment, such as incorrect zero-compression (RFC 5952) and EUI-64 Interface ID generation.
Formulas
IPv6 subnetting relies on bitwise operations over a 128-bit field. The number of hosts in a subnet is defined by the remaining bits after the prefix.
Where P is the parent prefix length and n is the new prefix length.
EUI-64 Generation:
To convert a 48-bit MAC address to a 64-bit Interface ID, 16 bits (0xFFFE) are inserted in the middle, and the Universal/Local (U/L) bit is inverted.
Reference Data
| Prefix | Allocation Type | Description |
|---|---|---|
| ::/128 | Unspecified | The address of all zeros. Used during software initialization. |
| ::1/128 | Loopback | Localhost. Equivalent to 127.0.0.1 in IPv4. |
| 2000::/3 | Global Unicast | The block for all publicly routable Internet traffic. |
| fc00::/7 | Unique Local (ULA) | Private routing. Analogous to 10.0.0.0/8 in IPv4. |
| fe80::/10 | Link-Local | Auto-configured addresses valid only on a single link. |
| ff00::/8 | Multicast | Used for one-to-many communication. |
| 2001:db8::/32 | Documentation | Reserved for use in documentation and examples. |
| 2002::/16 | 6to4 | Transition mechanism prefix. |
| 2001::/32 | Teredo | Transition mechanism prefix. |