subnet.im

IPv6 Cheat Sheet

Every IPv6 prefix length from /0 to /128, with the number of addresses it holds, how many /64 subnets fit inside it, its netmask, and what it is conventionally used for. The table opens on the lengths networks are actually cut on — expand it for all 129.

PrefixAddresses/64 subnetsNetmaskTypical use
/1281ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffffA single address — a host route or a loopback
/1272ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffePoint-to-point link between two routers (RFC 6164)
/1264ffff:ffff:ffff:ffff:ffff:ffff:ffff:fffcFour addresses — the IPv4 /30 habit carried over to a router link
/12416ffff:ffff:ffff:ffff:ffff:ffff:ffff:fff016 addresses — small static assignment
/120256ffff:ffff:ffff:ffff:ffff:ffff:ffff:ff00256 addresses — the IPv6 size of an IPv4 /24, used for static server ranges
/11265,536ffff:ffff:ffff:ffff:ffff:ffff:ffff:0Sometimes used for numbered infrastructure links
/964,294,967,296ffff:ffff:ffff:ffff:ffff:ffff::Translation and mapping prefixes (::ffff:0:0/96, 64:ff9b::/96) sit here
/80281,474,976,710,656ffff:ffff:ffff:ffff:ffff::Below the LAN boundary — breaks SLAAC, occasionally seen in labs
/641.84 × 10¹⁹1ffff:ffff:ffff:ffff::One LAN. The standard subnet size, and the smallest that SLAAC works on
/602.95 × 10²⁰16ffff:ffff:ffff:fff0::Smaller residential assignment — 16 /64 LANs
/564.72 × 10²¹256ffff:ffff:ffff:ff00::The usual residential or small-business assignment — 256 /64 LANs
/527.55 × 10²²4,096ffff:ffff:ffff:f000::Nibble-aligned split of a site /48, tidy for reverse DNS
/481.2 × 10²⁴65,536ffff:ffff:ffff::The standard site allocation — one organisation or campus, 65,536 /64s
/441.93 × 10²⁵1,048,576ffff:ffff:fff0::Large enterprise or a POP inside an ISP
/403.09 × 10²⁶16,777,216ffff:ffff:ff00::Aggregation boundary inside a large ISP; a nibble above /44
/364.95 × 10²⁷268,435,456ffff:ffff:f000::Regional slice of an ISP allocation
/327.92 × 10²⁸4,294,967,296ffff:ffff::The standard ISP allocation — enough for 65,536 customer /48s
/296.33 × 10²⁹34,359,738,368ffff:fff8::Common RIR allocation to an ISP, sized to allow later growth
/281.26 × 10³⁰68,719,476,736ffff:fff0::Large ISP allocation from an RIR
/242.02 × 10³¹1,099,511,627,776ffff:ff00::Very large ISP or national network allocation
/203.24 × 10³²17,592,186,044,416ffff:f000::Sub-allocation inside an RIR
/165.19 × 10³³281,474,976,710,656ffff::Very large block; 2002::/16 (6to4) and ff00::/8's neighbours live at this scale
/128.3 × 10³⁴4.5 × 10¹⁵fff0::An RIR's allocation from IANA
/103.32 × 10³⁵1.8 × 10¹⁶ffc0::fe80::/10, link-local — every interface has one
/72.65 × 10³⁶1.44 × 10¹⁷fe00::fc00::/7, the unique local (ULA) block
/34.25 × 10³⁷2.3 × 10¹⁸e000::2000::/3, the global unicast block the registries allocate from
/03.4 × 10³⁸1.84 × 10¹⁹::Default route — matches every IPv6 address

IPv6 has no broadcast address and no reserved network address, so every address in a prefix is usable. On a /64 the first address is also the subnet-router anycast address (RFC 4291).

Why IPv6 subnetting is different

IPv4 subnetting is an exercise in conservation: you work out the smallest prefix that fits the hosts you have, because addresses are scarce. IPv6 removes that constraint entirely, and with it the reason to size subnets to their hosts. Every LAN gets a /64 — a segment with two devices on it and one with two thousand are the same size — and the question becomes how many /64s you have to hand out rather than how many addresses.

The second difference is that IPv6 prefixes are cut on nibbles: four-bit steps, so /48, /52, /56, /60, /64. A nibble is one hex digit, and reverse DNS under ip6.arpa delegates one digit at a time — so a prefix that is a multiple of four gets its own reverse zone, and one that is not has to be served out of the enclosing zone. That is why you will see /56 and /48 everywhere and /50 essentially nowhere.

The prefix lengths that matter

  • /32 The standard allocation an RIR makes to an ISP — 65,536 customer sites at a /48 each.
  • /48 One site or organisation. 65,536 /64 LANs, and its own reverse DNS zone.
  • /56 The usual home or small-business delegation. 256 /64 LANs, which is more than a house needs and exactly the point.
  • /64 One LAN, and the smallest prefix SLAAC works on. Use it for every segment.
  • /127 A router-to-router link (RFC 6164), where there is nothing to autoconfigure.

Private and reserved IPv6 space

IPv6 has no RFC 1918 and no NAT to go with it. What it has instead:

  • fc00::/7 — unique local addresses (RFC 4193), the closest equivalent to private space. Routable inside your network, dropped at its edge.
  • fe80::/10 — link-local. Every IPv6 interface has one whether you configured it or not, and neighbour discovery runs over it.
  • 2000::/3 — global unicast: the public internet, and the only space a registry allocates from.
  • 2001:db8::/32 and 3fff::/20 — documentation (RFC 3849 and RFC 9637). Safe to put in a diagram, never routed.
  • ff00::/8 — multicast, which in IPv6 does the work broadcast used to.

Work through a prefix

The IPv6 subnet calculator takes any address and prefix length and shows the boundaries, the /64 count, the reverse DNS zone, and — for public space — which network announces it in BGP. The IPv4 CIDR cheat sheet covers /0 to /32 on the other side.