Compress, expand and break down any IPv6 address — and see exactly what kind of address it is.
Need the vendor behind a MAC? Use the MAC Address Lookup to identify the manufacturer from the IEEE OUI registry.
| Prefix | Typical use | /64 subnets | Notes |
|---|---|---|---|
| /32 | ISP allocation | 4,294,967,296 | The smallest block a regional registry typically hands an ISP. You will rarely see one handed to an organisation directly. |
| /48 | Site | 65,536 | The conventional allocation for one site or organisation: 65,536 /64 subnets, far more than most networks will ever consume. |
| /56 | Residential / small site | 256 | What many ISPs delegate to a home or small business connection — 256 /64 subnets, enough to segment a home network several times over. |
| /64 | Single LAN | 1 | The standard size for one subnet. SLAAC requires a /64, so a LAN that must support stateless autoconfiguration cannot be any other size. |
| /127 | Point-to-point link | — | RFC 6164 recommends /127 for the link between two routers. It removes the subnet-router anycast ambiguity and the ping-pong risk of a /64 on a point-to-point segment. |
| /128 | Single host | — | One specific address rather than a subnet — used for loopbacks and static host routes. |
An IPv6 address is 128 bits, written as eight groups of four hexadecimal digits separated by colons. That is four times the length of an IPv4 address, which is why the notation needs compression rules — and why two addresses that look completely different can be the same address.
The first 64 bits are conventionally the network portion and the last 64 bits the interface identifier. This split is not enforced by the protocol, but so much of IPv6 assumes it — SLAAC most of all — that treating it as the default is the practical choice. It also means the numbers involved are genuinely large: a single /64 holds 18,446,744,073,709,551,616 addresses.
That scale is the mental shift IPv6 requires. IPv4 subnetting is about conserving a scarce resource, which is why variable-length subnet masks and careful address planning matter so much. IPv6 subnetting is about counting subnets, not addresses: the question is never “how do I fit this in 30 usable addresses” but “how many /64s do I need, and do I have enough bits to number them”.
RFC 5952 exists so that one address has exactly one canonical written form — without it, a log correlation or an access-list comparison becomes unreliable because the same address renders two different ways. The rules are narrower than most people assume:
The rule people most often get wrong is the first of the tie-breakers. Collapsing the longest run is not the same as collapsing the first run, and a calculator that gets it wrong will produce a string that is valid but not canonical — which is exactly the kind of difference that makes two log lines fail to match.
The prefix tells you what an address is for before you look at anything else. These are the ones you will meet most often.
| Prefix | Purpose | Routed? |
|---|---|---|
| 2000::/3 | Global unicast — the public internet | Yes |
| fc00::/7 | Unique local (ULA) — private internal networks | Internal only |
| fe80::/10 | Link-local — automatic on every interface | Never |
| ff00::/8 | Multicast — replaces broadcast entirely | Per scope |
| ::1/128 | Loopback | Never |
| 2001:db8::/32 | Documentation only | Should never appear |
| ::ffff:0:0/96 | IPv4-mapped — an IPv4 address wearing IPv6 notation | Unwrapped to IPv4 |
If you are auditing a network, seeing 2001:db8::/32 in live traffic is worth investigating: it is reserved for documentation, so it should never be configured on a real device. And a globally routable address on an internal interface — rather than a ULA — is often a sign that the address plan was never finished.
A common mistake is to plan an IPv6 network the way you would plan an IPv4 one — carving out small subnets to conserve addresses. There is no reason to. The bits between the delegated prefix and the /64 boundary are your subnet field, and each of them doubles the number of LANs you can number:
| Delegated | Subnet bits | /64 LANs available |
|---|---|---|
| /48 | 16 | 65,536 |
| /52 | 12 | 4,096 |
| /56 | 8 | 256 |
| /60 | 4 | 16 |
| /64 | 0 | 1 |
A sensible addressing plan numbers the subnet field meaningfully — for example, reserving a block for infrastructure links and another for user VLANs, and mirroring the last octet of an existing IPv4 plan into the subnet field to keep the mental mapping intact while both protocols run side by side. What you should not do is subdivide below /64 on a LAN, because that breaks SLAAC.
For IPv4 work, the IPv4 Subnet Calculator covers masks, broadcast addresses and usable host ranges, and the CIDR Cheat Sheet is the quick reference from /0 to /32.
DMC IT Services provides network design, IPv6 migration planning, and infrastructure support for SMBs across London, Cambridge, Hertfordshire, and Bedfordshire.
Talk to an Engineer