NETWORK
IPv6 subnet calculator
Enter an IPv6 prefix to see the network, range, number of addresses and address type. Split it into smaller subnets, get the ip6.arpa zones for reverse DNS, check whether an address belongs to the network and derive the SLAAC address of a MAC.
2001:db8:abcd::/48
Documentation- Network
- 2001:db8:abcd::/48
- Expanded
- 2001:0db8:abcd:0000:0000:0000:0000:0000
- First address
- 2001:db8:abcd::
- Last address
- 2001:db8:abcd:ffff:ffff:ffff:ffff:ffff
- Addresses
- 1,208,925,819,614,629,174,706,176 (2^80)
- Number of /64 networks
- 65,536
Reverse DNS zones
- d.c.b.a.8.b.d.0.1.0.0.2.ip6.arpa
Subnets
65,536 subnets of size /64.
- #0 2001:db8:abcd::/64
- #1 2001:db8:abcd:1::/64
- #2 2001:db8:abcd:2::/64
- #3 2001:db8:abcd:3::/64
- #4 2001:db8:abcd:4::/64
- #5 2001:db8:abcd:5::/64
- #6 2001:db8:abcd:6::/64
- #7 2001:db8:abcd:7::/64
- #8 2001:db8:abcd:8::/64
- #9 2001:db8:abcd:9::/64
- #10 2001:db8:abcd:a::/64
- #11 2001:db8:abcd:b::/64
- #12 2001:db8:abcd:c::/64
- #13 2001:db8:abcd:d::/64
- #14 2001:db8:abcd:e::/64
- #15 2001:db8:abcd:f::/64
… and 65,520 more.
Address check
SLAAC address (EUI-64)
Frequently asked questions
How big is a /48 or /56?
A /48 contains 65,536 /64 networks, a /56 contains 256. Since every LAN uses a /64, providers usually assign a /48 to businesses and a /56 to home connections, so there is room for many separate networks.
Why should LANs always use /64?
SLAAC, the automatic address configuration, only works with 64-bit interface identifiers. Smaller LAN subnets break SLAAC and several other features; longer prefixes like /127 are used for point-to-point links between routers.
How is an IPv6 address shortened?
According to RFC 5952: lowercase letters, leading zeros of each group are omitted and the longest run of at least two all-zero groups is replaced by ::. A single zero group stays 0. The calculator always shows this canonical form.
How does reverse DNS work for IPv6?
Each hexadecimal digit (nibble) becomes a label in reverse order below ip6.arpa. Zones can therefore only be delegated in 4-bit steps: a /48 is exactly one zone, a /50 needs four /52 zones.
What is the difference between ULA and link-local?
Link-local addresses (fe80::/10) exist on every interface and are only valid on the local link. Unique local addresses (fd00::/8) are private addresses for whole internal networks, comparable to 10.0.0.0/8 in IPv4, but not routed on the internet.