December 4, 2026

IPv6 on a Home Network: Reading the Addresses, Why There Are Several, and What Replaces NAT

A home router on a shelf with abstract patterns of light on the wall behind

A laptop on a home network with IPv6 turned on usually has at least three IPv6 addresses at once, and none of them look anything like 192.168.1.20. One starts with fe80, one comes from the internet provider’s prefix, and one changes every so often on purpose. Each exists for a reason written down in a standards document. This post reads those addresses apart, works through the numbers, and covers the part that worries people most: with no NAT, what keeps the outside world out. The address arithmetic was run in code; the rules come from the IETF’s own RFCs.

Video: OneMarcFifty on YouTube

Reading an IPv6 address

Eight groups, and the double colon

RFC 4291, the IPv6 addressing architecture, gives the full form as x:x:x:x:x:x:x:x, where each x is one to four hexadecimal digits of the eight 16-bit pieces of the address. Leading zeros in a group can be dropped, and a run of all-zero groups can be replaced by ::, which the RFC says can only appear once in an address.

Python’s ipaddress module applied those rules to a long-form address:

2001:0db8:0000:0000:0000:ff00:0042:8329  ->  2001:db8::ff00:42:8329

Prefix and interface

Most IPv6 addresses split cleanly in half. The first 64 bits identify the network; the last 64 identify the device on it. RFC 4291 requires it: for all unicast addresses except those beginning with binary 000, interface IDs are required to be 64 bits long. A home subnet is therefore a /64, which holds 2^64 addresses, about 1.845 × 10^19. The subnetting arithmetic from the earlier post on subnet masks and CIDR still applies; the numbers are just larger.

Aerial view of a city

Why a device has several addresses

Link-local: fe80

The first address on any IPv6 interface starts with fe80. RFC 4291’s table lists link-local unicast as the prefix FE80::/10, and the RFC states that all interfaces are required to have at least one link-local address. It also says routers must not forward packets with link-local source or destination addresses to other links.

These addresses work only on the local network segment and exist whether or not a router hands out anything else. Neighbor discovery, the IPv6 replacement for ARP, runs over them. Seeing only an fe80 address on a device means IPv6 is on but no router has advertised a prefix.

Global: from the provider’s prefix

Addresses outside the special ranges are global unicast, routable on the internet. A home router receives a prefix from the provider and advertises a /64 from it on the local network; devices combine that prefix with their own 64-bit interface ID. How large a prefix a home gets is a provider decision. RFC 6177 records the history: an earlier RFC argued that end sites should get /48 blocks in most cases, and the newer document leaves the exact size to the operational community. Its reasoning includes the point that a single /64 would prevent a home from ever having more than one subnet.

The arithmetic shows what each size means for a home that wants separate networks for guests, cameras and servers:

Prefix from provider /64 subnets available
/64 1
/56 256
/48 65,536

Temporary: the address that changes

The third address is there for privacy. RFC 8981 describes hosts generating temporary addresses with randomized interface identifiers for each advertised prefix. Changing addresses over time, its abstract explains, limits how long eavesdroppers can correlate network activity by address when the same address is used for many transactions. Outgoing connections normally use the temporary address; the stable one stays available for anything that needs a fixed address.

How a device gets its addresses

SLAAC: the router advertises, the device builds

Most home devices configure IPv6 themselves. RFC 4862, the stateless address autoconfiguration standard, describes the process in three parts: generating a link-local address, generating global addresses via stateless autoconfiguration, and Duplicate Address Detection to verify that each address is unique on the link. The router’s part is to send Router Advertisements listing the active prefixes; the device takes the prefix, adds its own interface ID, checks that nobody else is using the result, and starts using it. No server keeps a list of who has which address.

DHCPv6: when someone wants control

The same RFC explains when the other method fits. The stateless approach suits a site that does not care which exact addresses hosts use, so long as they are unique and routable; DHCPv6 is used when a site requires tighter control over exact address assignments, and the two can run at the same time. On a home network, that usually means SLAAC for addresses, with the router or a DHCPv6 service handing out extras such as DNS servers.

Renumbering is built in

RFC 4862 lists graceful renumbering among its design goals, so that a site can move all of its machines to a new prefix when it changes provider. Addresses are leased with lifetimes, and a device can hold an old and a new address at once while the change rolls through. For a home, that is why a provider changing the delegated prefix causes less trouble than an IPv4 address change would, and also why anything that must keep one address is better served by a unique local address than by a global one.

Metal key in a keyhole

Where interface IDs come from

Modified EUI-64

RFC 4291 specifies that interface IDs are constructed in Modified EUI-64 format, which can be derived from a device’s hardware MAC address: the 48-bit MAC is split, ff:fe is inserted in the middle, and one bit in the first byte is flipped. For the MAC 52:54:00:12:34:56, the calculation gave:

5054:00ff:fe12:3456

The ff:fe in the middle is the giveaway. An address with it can often be traced back to a specific network card, on every network the device joins. That is exactly the tracking problem the temporary addresses in RFC 8981 exist to break, and why many current operating systems generate stable interface IDs that do not embed the MAC at all.

Private addresses without NAT

Unique local addresses

IPv6 has an equivalent of the 192.168.x.x private ranges. RFC 4193 defines local IPv6 unicast addresses under the prefix FC00::/7, with a 40-bit global ID that is allocated pseudo-randomly, followed by a 16-bit subnet ID and the 64-bit interface ID. In practice they begin with fd.

Generating one the RFC’s way produced, for this test, the prefix fd76:d83b:9250::/48, with subnets fd76:d83b:9250::/64, fd76:d83b:9250:1::/64 and so on. The random 40 bits are the point: two homes that both pick a prefix this way have about a one-in-a-trillion chance (1/2^40, about 9.1 × 10^-13) of colliding, so two networks can later be joined over a VPN without renumbering, which is a recurring headache with everyone using 192.168.1.0/24.

A home network does not need unique local addresses to use IPv6. They are useful for things that should keep the same address even if the provider changes the global prefix, such as a NAS or a printer referenced by address.

Wooden door with a round window

What replaces NAT

Reachable is not the same as open

The size of the space changes the picture too. A single home /64 holds 2^64 addresses. A device whose interface ID is random, as temporary addresses are, cannot practically be found by scanning that space address by address the way an IPv4 /24 of 256 addresses can be swept in seconds. That is not a security control by itself, and it does nothing for a device whose address has already been revealed by its own outgoing traffic, but it changes how exposure happens: through addresses that leak, not through brute enumeration.

In IPv4 homes, NAT hides every device behind one public address, and an inbound connection has nowhere to go unless a port is forwarded. In IPv6, every device has a globally routable address. That alarms people, but addressing and filtering are separate questions.

RFC 6092 sets out recommendations for home and small-office gateways, describing “simple security” capabilities at the perimeter of residential IPv6 networks. The model is a stateful packet filter: replies to connections started from inside are allowed back in, and unsolicited inbound traffic is not, unless the owner opens it. That is the same practical protection NAT gave by accident, provided on purpose.

What to check on a home router

  • That the IPv6 firewall is on, with inbound traffic from the internet blocked by default.
  • Which prefix size the provider delegates; it decides how many subnets are possible.
  • Whether the router hands out DNS servers over IPv6, so name lookups for AAAA records work. The earlier post on DNS records covers AAAA.
  • That any device meant to be reachable from outside, such as a game console or a self-hosted service, gets an explicit firewall rule, instead of turning the firewall off.

IPv6 packet sizes follow the same MTU rules covered in the post on MTU and MSS, with one difference worth knowing: IPv6 routers do not fragment packets in transit, so path MTU problems show up as stalled connections rather than slow ones.

Sources

  • RFC 4291, IP Version 6 Addressing Architecture: https://www.rfc-editor.org/rfc/rfc4291.html
  • RFC 4193, Unique Local IPv6 Unicast Addresses: https://www.rfc-editor.org/rfc/rfc4193.html
  • RFC 8981, Temporary Address Extensions for Stateless Address Autoconfiguration in IPv6: https://www.rfc-editor.org/rfc/rfc8981.html
  • RFC 4862, IPv6 Stateless Address Autoconfiguration: https://www.rfc-editor.org/rfc/rfc4862.html
  • RFC 6177, IPv6 Address Assignment to End Sites: https://www.rfc-editor.org/rfc/rfc6177.html
  • RFC 6092, Recommended Simple Security Capabilities in Customer Premises Equipment for Providing Residential IPv6 Internet Service: https://www.rfc-editor.org/rfc/rfc6092.html

719 Posts

Peter Kalafatis writes and edits X9M8. He holds a bachelor's degree from LIU Post and a master's in Media Studies from The New School, with academic work in the philosophy of science, human behavior, AI, and memetics.

View All Posts

Leave a Reply

Your email address will not be published. Required fields are marked *