taap.digitalnetwork engineering toolkit

How many /56 subnets are in a /48?

Answer
256 /56 subnets in a /48

The difference between the prefix lengths is 56 − 48 = 8 bits, so a /48 holds 28 = 256 /56 subnets. Splitting a /48 into /56s gives each building, branch or customer room for 256 /64s.

subnet6 · adjust the values
Close-up of a blue circuit board
Close-up of a blue circuit board. Photo: Yogesh Phuyal / Unsplash

The math

2(56 − 48) = 28 = 256

The subnet ID lives in the first two hex digits of the fourth hextet. Each /56 still contains 256 /64 LAN segments.

First subnets of 2001:db8::/48

#/56 subnet
12001:db8::/56
22001:db8:0:100::/56
32001:db8:0:200::/56
42001:db8:0:300::/56
2562001:db8:0:ff00::/56

Addresses are written in RFC 5952 form: lowercase, no leading zeros, longest zero run compressed to ::.

Planning tip

Keep subnet boundaries on nibbles (multiples of 4 bits) so each subnet ID maps to whole hex digits and reverse DNS (ip6.arpa) delegation stays clean. Encode structure (site, function, VLAN) in those digits instead of allocating sequentially.

Other sizes inside a /48

New prefixHow many fit/64 networks in each
/52164,096
/56256256
/604,09616
/6465,5361

In practice

Each /56 holds 4,722,366,482,869,645,213,696 addresses. If you use 10 /56 networks (one per VLAN, say), you take up 3.9% of the /48 and still have 246 left. The 8 bits between /48 and /56 are 2 hex digits: each digit multiplies the number of networks by 16.

To try other values, open the IPv6 subnets calculator with these numbers already filled in.

More questions like this

Frequently asked questions

How many addresses are in each /56?

272 addresses. That equals 256 /64 subnets.

How many /64s are in a /48?

65,536 (216).