Networking · 20 November 2026 · 4 min read

IPv6 for IPv4 People: Addresses, /64 Subnets and No NAT

By

A practical bridge from IPv4 to IPv6: how to read and shorten addresses, why every LAN is a /64, what /48 and /56 mean, link-local addresses and dual stack.

IPv6 for IPv4 People: Addresses, /64 Subnets and No NAT

If you can subnet IPv4 in your head, IPv6 feels strange at first: the addresses are long, there is no NAT, and nobody seems to care how many hosts fit in a subnet. The good news is that most of what you know still applies, and some things are actually simpler. This guide maps IPv4 habits onto IPv6. Keep the IPv6 subnet calculator open to try each example as you read.

Reading and shortening addresses

An IPv6 address is 128 bits, written as eight groups of four hexadecimal digits separated by colons. Two rules make it shorter:

  • Drop leading zeros in each group: 0db8 becomes db8, 0000 becomes 0.
  • Replace one run of zero groups with ::. You may do this only once per address, otherwise nobody could tell how many zeros each :: stands for.

So 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1. The recommended style (RFC 5952) also says: use lowercase, shorten the longest run of zeros, and do not use :: for a single zero group. It matters: the same address written two ways breaks searches in logs and configs.

Two practical details: the loopback address is ::1 (the 127.0.0.1 of IPv6), and in a URL the address goes in square brackets, as in http://[2001:db8::10]:8080/, so the colons are not confused with the port.

Subnets: think in prefixes, not hosts

In IPv4 you size a subnet by counting hosts. In IPv6 you almost never do. The rule is simple: every LAN gets a /64. That leaves 64 bits for the interface part, which stateless address autoconfiguration (SLAAC) needs to let devices build their own addresses. “Will it fit?” is no longer a question.

What you plan instead is how many /64s you have. Providers hand out a prefix to each site:

AllocationNumber of /64 LANsTypical use
/4865,536Business sites, many providers
/56256Home and small office connections
/6016Some home connections
/641A single network, no room to subnet

Because every boundary is a multiple of four bits, subnetting a /48 into /64s simply means counting in hex in the fourth group: 2001:db8:abcd:0::/64, 2001:db8:abcd:1::/64 and so on. A neat habit is to match that group to your VLAN number, so VLAN 20 lives in 2001:db8:abcd:20::/64. Router-to-router links are the exception: a /127 is common there.

No NAT, but still a firewall

IPv6 was designed so that every device has a globally reachable address. There is no NAT in normal setups, and that confuses people who think of NAT as a security feature. It never really was; the stateful firewall doing the NAT was. In IPv6 you keep that firewall: allow outgoing connections and replies, block unsolicited incoming traffic, and open only what you need. Most routers do this by default, but check: IPv6 with no inbound filter exposes every device.

One firewall habit from IPv4 must go: do not block all ICMP. IPv6 uses ICMPv6 for things that are essential, including neighbour discovery (which replaces ARP) and path MTU discovery. Block it wholesale and connections fail in confusing ways.

Several addresses per interface

An IPv4 interface usually has one address. An IPv6 interface typically has several, and that is normal:

  • Link-local (fe80::/10): created automatically on every interface, valid only on that link, never routed. Routers use it for neighbour discovery and as the default gateway. Because every interface has one, you often need to name the interface: ping fe80::1%eth0.
  • Global unicast (2000::/3): the public address, often more than one, because operating systems add temporary “privacy” addresses that change over time.
  • Unique local (fd00::/8 in practice): the closest thing to 10.0.0.0/8, for internal use only.

There is also no broadcast address. IPv6 uses multicast instead, so the first and last addresses of a subnet are not special.

Dual stack: living with both

Almost every real network runs IPv4 and IPv6 side by side. Clients try both and use whichever connects first, usually preferring IPv6 (this is called Happy Eyeballs). The practical consequences: a website needs both A and AAAA DNS records, and a problem can affect only one protocol. If a site works on office Wi-Fi but not on a phone, test IPv6 separately with curl -6 and curl -4.

You will also see IPv4 written inside IPv6, for example ::ffff:203.0.113.5 in server logs. That is an ordinary IPv4 client seen through an IPv6 socket. The IPv4 to IPv6 converter decodes these forms and the NAT64 ones used by IPv6-only mobile networks.

Our take

Do not translate your IPv4 plan one-to-one. Start from your provider’s prefix, give each VLAN a /64 with a readable number, write the plan down, and keep the firewall rules for both protocols in the same place so they never drift apart. Try IPv6 on one test VLAN first. Most of the fear disappears once you have pinged a link-local address and read real addresses in your own logs. And if your provider gives you only a single /64, ask for a larger prefix: it saves a lot of workarounds later.

Anthony ParkerNetwork and systems engineer

Anthony has worked in IT for more than 17 years: office and field networks, servers, telephony, user support and security patching in international organisations. He writes about networking, security, developer tools and calculators.