Free tech learning for everyone, from basics to pro

Network FundamentalsNetworking SecurityIntermediate

IPv6 subnetting made practical: /48, /56 and /64 plans with worked examples

In short: IPv6 subnetting is about organisation, not saving addresses. Every LAN gets a /64. An organisation or site usually receives a /48, which holds 65,536 /64 subnets, and home connections often get a /56 with 256. Subnetting on 4-bit nibble boundaries (/52, /56, /60) keeps each level as a hex digit, making addresses easy to read and summarise.

A different mindset

In IPv4, subnetting is about squeezing hosts into scarce addresses: a /30 here, a /27 there. In IPv6 there is no scarcity inside a subnet, so the questions become "how do I organise my subnets so they are easy to read, summarise and secure?"

Fixed rules

  • Every LAN or VLAN uses a /64. SLAAC and many other features assume it, and a /64 has 18 quintillion addresses, far more than any VLAN needs.
  • Point-to-point links commonly use a /127 (RFC 6164), often taken from a reserved /64 per link to keep things tidy.
  • Loopbacks use a /128 each, taken from one /64 set aside for loopbacks.
Splitting an organisation's /482001:db8:4a00::/48Site or building/52 (16 per /48)Function group/56 (16 per /52)VLAN/64 (256 per /56)Point-to-point/127 per link
Figure 1. Subnet on the 4-bit nibble boundaries so each level is one hex digit, easy to read.

How many subnets?

The bits between the site prefix and /64 are your subnet ID. Each extra bit doubles the count:

You receiveSubnet ID bitsNumber of /64s
/48 (typical business site)1665,536
/52124,096
/56 (typical home or small office)8256
/60416
/6401 (only one LAN)

Stay on nibble boundaries

Each hex digit is 4 bits (a nibble). If you split at /52, /56 or /60, each level of your plan is exactly one hex digit, so you can read it straight from the address. Splitting at /50 or /57 works mathematically but makes addresses much harder to read.

Worked example

A company has 2001:db8:4a00::/48. The 16-bit subnet ID is the fourth group: 2001:db8:4a00:SSFV::/64.

  • First hex digit S (4 bits): the site, up to 16 sites. Head office is 1, so it owns 2001:db8:4a00:1000::/52.
  • Second digit S: the building within the site.
  • Last two digits FV: function and VLAN. For example 2x for staff, 3x for voice, 9x for management.

So VLAN 20 (staff) in building 1 of head office is 2001:db8:4a00:1120::/64, and the whole of head office still summarises as one /52. You can mirror IPv4 VLAN numbers in the last digits to make the two plans line up.

Finding the subnet of an address

Expand the address, then keep the first 64 bits (four groups). For 2001:db8:4a00:1120:a4bb:6dff:fe12:3c4f, the /64 is 2001:db8:4a00:1120::/64. For a /56, keep the first 56 bits: three groups plus the first two hex digits of the fourth, 2001:db8:4a00:1100::/56.

Common mistakes

  • Using subnets smaller than /64 on LANs, which breaks SLAAC and some devices.
  • Planning only today's sites with no room to grow.
  • Getting a /56 from a home ISP that changes every reboot; for business, ask for a static prefix.

Real-world example: one prefix per building

A university received a /44 and gave each faculty a /48. Within each faculty, the network team used the fourth group as building and VLAN. A firewall rule for "all of engineering" became one line, and security staff could read the building and VLAN straight out of any address in a log.

Practice

How many /64 subnets fit in a /56?
256.
Which prefix length should every IPv6 LAN use?
/64.
What is the /64 subnet of 2001:db8:4a00:1120:a4bb:6dff:fe12:3c4f?
2001:db8:4a00:1120::/64.

Key takeaways

  • Every LAN uses a /64; links commonly use /127 and loopbacks /128.
  • A /48 holds 65,536 /64s; a /56 holds 256.
  • Subnet on nibble boundaries so each level is one hex digit.
  • Design the subnet ID as site, building and VLAN so it summarises cleanly.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: