What does it do?
Calculates an IPv6 address with its prefix: the compressed and full forms, the network, the range, how many /64 subnets it contains and the reverse DNS name (ip6.arpa).
Why does it matter?
IPv6 now reaches many homes and businesses, but its 128-bit addresses are hard to handle by hand. One extra zero or a misplaced "::" changes the whole address. When configuring a router, a firewall or reverse DNS, it pays to double-check the math.
How does it work?
The address is expanded to its 8 groups of 16 bits, the prefix is applied to get the network and the end of the range, and it's compressed again following RFC 5952 (no leading zeros and the longest run of zeros as "::"). Everything is calculated in your browser.
How to read the result
- Compressed form
- The correct way to write it (RFC 5952).
- Full form
- All 32 hex digits, useful for comparing and for access lists.
- /64 subnets
- How many local networks fit in the prefix. Each LAN uses a /64.
- Reverse DNS
- The name for creating the PTR record in the ip6.arpa zone.
What is it for?
- Plan the /64 for each VLAN from the /48 or /56 your provider assigns.
- Write an address correctly on a router or firewall.
- Create IPv6 PTR records for a mail server.