IPv6 Subnetting Basics: How IPv6 Addressing Works
Get started with IPv6 subnetting fundamentals. Understand 128-bit addresses, prefix notation, and how IPv6 subnet allocation differs from IPv4 networks.
2001:db8::/32IPv6Detailed Explanation
IPv6 Subnetting Basics
IPv6 uses 128-bit addresses, a massive increase from IPv4's 32 bits. This provides approximately 3.4 x 10^38 unique addresses — enough to assign an IP to every atom on the surface of the Earth.
IPv6 Address Format
IPv6 addresses are written as eight groups of four hexadecimal digits, separated by colons:
2001:0db8:85a3:0000:0000:8a2e:0370:7334
Shortening rules:
- Leading zeros in each group can be omitted:
2001:db8:85a3:0:0:8a2e:370:7334 - One consecutive sequence of all-zero groups can be replaced with
:::2001:db8:85a3::8a2e:370:7334
IPv6 CIDR Notation
Just like IPv4, IPv6 uses CIDR notation: 2001:db8::/32 means the first 32 bits are the network prefix.
Standard IPv6 Allocation Model
The typical IPv6 addressing hierarchy is:
| Prefix | Assignment | Purpose |
|---|---|---|
| /32 | ISP allocation | Assigned to an ISP by RIR |
| /48 | Site prefix | Assigned to a customer site |
| /64 | Subnet | A single network segment |
| /128 | Host address | A single interface |
Key Differences from IPv4
- No NAT needed — with virtually unlimited addresses, every device gets a globally unique IP
- No broadcast — IPv6 uses multicast and anycast instead
- /64 is the standard subnet — the last 64 bits are always the interface identifier (host portion)
- Autoconfiguration — SLAAC (Stateless Address Autoconfiguration) lets hosts generate their own addresses
Why /64 Is Special
In IPv6, the /64 boundary is architecturally significant. The first 64 bits are the network prefix, and the last 64 bits are the interface identifier. This fixed boundary simplifies routing and enables SLAAC. Breaking this convention (using /65 or smaller) can cause compatibility issues with many protocols and devices.
Use Case
An ISP receives a /32 allocation from the regional registry and assigns /48 prefixes to each customer, who then creates /64 subnets for each network segment.
Try It — Subnet Calculator
Related Topics
The /48 IPv6 Prefix: Site-Level Allocation
2001:db8:abcd::/48 · IPv6
The /64 IPv6 Subnet: The Standard Network Size
2001:db8:abcd:1::/64 · IPv6
CIDR Notation Explained: How IP Addressing Works
10.0.0.0/16 · Concept
/24 Subnet (255.255.255.0)
192.168.1.0/24 · IPv4
The /0 Default Route (0.0.0.0/0)
0.0.0.0/0 · IPv4
Private IP Ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
10.0.0.0/8 · IPv4