IP Addresses & Routing

IPv6 Address Types: Global, Link-Local and Unique Local

Identify every common kind of IPv6 address, know where each one works and understand why a single interface holds several at once.

Key takeaways

  • Global unicast addresses, currently drawn from 2000::/3, are the ones used across the internet.
  • Every IPv6 interface has a link-local address in fe80::/10, used for local tasks such as router discovery.
  • Unique local addresses in fc00::/7, in practice starting fd, give stable internal addressing that isn't routed publicly.
  • Temporary addresses rotate to limit tracking, while stable ones serve incoming connections.
  • A global address is not automatically exposed: firewalls decide what can connect.

The first few characters of an IPv6 address tell you how far it can travel. Addresses beginning with 2 or 3 are global and can be routed across the internet. Those beginning fe80 are link-local and never leave the local segment. Those beginning fd are unique local, for use inside your own network. Addresses beginning ff are multicast, aimed at a group.

A normal interface holds several of these at once. This guide explains what each is for, how the interface portion gets chosen and which one your device uses when it connects somewhere.

The map of address types

Type Prefix How far it reaches
Unspecified ::/128 Not a destination; used before configuration
Loopback ::1/128 This device only
Link-local unicast fe80::/10 One link
Unique local fc00::/7 Within your organization's networks
Global unicast 2000::/3 The internet
Multicast ff00::/8 A group, within a stated scope
Documentation 2001:db8::/32 Examples only

If the notation is unfamiliar, start with reading and shortening IPv6 addresses.

IPv6 address scopes from widest to narrowest
Global unicast (2 or 3) Routable across the internet. Unique local (fd) Routable between your own subnets and sites. Link-local (fe80) Only neighbors on the same segment. Loopback (::1) Never leaves the device. Global unicast (2 or 3) Routable across the internet. Unique local (fd) Routable between your own subnets and sites. Link-local (fe80) Only neighbors on the same segment. Loopback (::1) Never leaves the device.

Global unicast

A unicast address identifies one interface. A global unicast address is unique worldwide. It typically breaks into three parts: a routing prefix your provider or registry assigned, a subnet identifier you choose and a 64-bit interface identifier.

If your provider delegates a /56 to your home, you can build 256 subnets from it, each a /64. Devices on each subnet then form their own addresses within it.

Global does not mean open. Your router or host firewall should still refuse unsolicited connections unless you allow them. IPv6 and security covers the practical side.

As soon as an IPv6 interface comes up, it gives itself an address starting fe80::, with no server or router involved. It checks that no neighbor already uses it, then keeps it as long as the interface is active.

Link-local addresses are essential plumbing:

  • Devices use them to find routers and neighbors, through Neighbor Discovery.
  • Router advertisements come from the router's link-local address, so your default gateway usually appears as an fe80 address.
  • Routing protocols use them to talk between adjacent routers.
  • Two machines joined by a cable can communicate with no configuration at all.

Routers never forward packets with link-local addresses. Because fe80::/64 exists on every interface, you may need a zone identifier to say which one you mean:

ping -6 fe80::1%eth0

Replace the address with a real neighbor and eth0 with your interface. On Windows the zone is a number, such as %12. Many browsers do not accept zone identifiers in the address bar, which makes link-local addresses awkward for web admin pages.

Unique local addresses

Unique local addresses (ULAs), defined in RFC 4193, sit in fc00::/7. The half in current use begins fd. After those first 8 bits come a 40-bit global ID that you are meant to generate randomly, then a 16-bit subnet ID and the 64-bit interface ID.

Structure of a unique local address
fd 1 7a:3c1e:92b4 2 0001 3 ::25 4 ULA marker The first 8 bits of a locally generated unique local address. 1 Random global ID 40 bits chosen at random so two sites are unlikely to collide. 2 Subnet ID 16 bits you assign to each internal network. 3 Interface ID The last 64 bits identify the host. 4 fd 1 7a:3c1e:92b4 2 0001 3 ::25 4 ULA marker The first 8 bits of a locally generated unique local address. 1 Random global ID 40 bits chosen at random so two sites are unlikely to collide. 2 Subnet ID 16 bits you assign to each internal network. 3 Interface ID The last 64 bits identify the host. 4

Example address: fd7a:3c1e:92b4:1::25

The randomness matters. Everyone who picks fd00::/48 out of laziness recreates the old private-IPv4 problem of colliding networks when two sites connect.

Use ULAs when you want internal addresses that survive a change of provider: a file server, a printer, internal DNS. They run alongside global addresses; devices keep both. A ULA alone gives no internet access.

One detail surprises people. Under the long-standing default address selection rules in RFC 6724, IPv4 is preferred over ULA when a destination name offers both. RFC 10076, published in November 2026, updates those rules to rank ULAs above IPv4, but systems will take time to adopt the change. Test which one your clients actually use.

Multicast

IPv6 has no broadcast. A packet to everyone on a link goes to a multicast group instead. The address starts ff, followed by flags and a scope digit.

Address Group
ff02::1 All nodes on this link
ff02::2 All routers on this link
ff02::fb Multicast DNS
ff02::1:2 DHCPv6 servers and relay agents
ff02::1:ffxx:xxxx Solicited-node group, used to find a neighbor

The 2 in ff02 means link scope. Other scope values cover wider areas, with e meaning global.

You can try the all-nodes group on your own network:

ping -6 ff02::1%eth0

Replies depend on neighbors' settings; some systems stay silent.

Anycast

An anycast address is a unicast address assigned to several machines, with the network delivering each packet to whichever is nearest by routing. There is no special prefix, so you can't recognize one by looking. See anycast.

How the interface identifier is chosen

The last 64 bits can come from several methods.

From the hardware address (modified EUI-64). The MAC address is split, ff:fe is inserted in the middle and one bit is flipped. You can spot it by the ff:fe pattern. It makes a device recognizable across networks, so modern systems largely avoid it for this purpose.

Random but stable per network. RFC 7217 describes identifiers derived from a secret and the prefix. The address stays the same on one network and differs on another.

Temporary. RFC 8981 describes privacy extensions: short-lived random addresses, replaced periodically, preferred for outgoing connections.

Assigned. By hand, or by a DHCPv6 server. See SLAAC and DHCPv6.

If you want to see whether an address embeds a hardware address and which maker it suggests, the MAC assignment lookup can help once you've reconstructed the MAC.

Which address gets used?

When your device opens a connection, it chooses a source address that suits the destination, following rules in RFC 6724 and its updates. In broad terms:

  • A link-local destination gets a link-local source.
  • A unique local destination gets a unique local source.
  • An internet destination gets a global source, usually a temporary one where privacy extensions are on.

For incoming connections, clients use whatever address you publish. Publish the stable one in DNS, never a temporary address that will disappear.

Reading your own interface

Say ip -6 addr on a Linux laptop shows these:

inet6 2001:db8:1:20:5c1e:7a90:b1d4:22f8/64 scope global temporary dynamic
inet6 2001:db8:1:20:a3f1:09cc:4e7b:9d10/64 scope global dynamic mngtmpaddr
inet6 fd7a:3c1e:92b4:20:1f0a:66d2:8c3e:7a51/64 scope global dynamic
inet6 fe80::b52f:13aa:c9e0:4d87/64 scope link

The first is a temporary global address for outbound use. The second is the stable global one. The third is unique local, which Linux also labels "global" because it is routable beyond the link. The fourth is link-local. All four are healthy.

On Windows, ipconfig labels them "IPv6 Address", "Temporary IPv6 Address" and "Link-local IPv6 Address". Words and flags vary between operating systems and versions.

Writing firewall rules by type

  • Allow necessary ICMPv6, including neighbor and router discovery on local links.
  • Drop packets arriving from the internet with link-local, unique local or documentation sources.
  • Block unique local prefixes from leaking out of your network edge.
  • When permitting access to a server, name its stable address, and remember that a provider may change your global prefix.

Common mix-ups

Treating link-local as a failure. In IPv4, a 169.254 address usually signals trouble. An fe80 address does not. It is there on a perfectly healthy interface. The warning sign is having nothing besides it when you expected internet access.

Putting a link-local address in DNS. A resolver can return it, but the client has no way to know which interface to use. Publish global or unique local addresses instead.

Assuming unique local means secure. ULAs are not routed on the public internet, which limits who can reach them from outside. Anyone who gets onto your network, or through a device that has both kinds of address, can still try to connect. Services need their own authentication and firewall rules.

Handing out a temporary address. If you copy the first global address you see into a remote-access setting, it may stop working within a day or so. Look for the label that says it is temporary and choose the other one.

Forgetting that multicast is a source of nothing. Multicast addresses appear only as destinations. A packet claiming a multicast source is invalid and should be dropped.

Choosing addresses for a small office

Say an office receives 2001:db8:77:a000::/56 from its provider and has a file server, staff computers and guest Wi-Fi. One reasonable layout uses a global /64 on each of the three networks so everyone has internet access. It adds a unique local /64 to the staff and server networks, taken from a randomly generated /48, and publishes the file server's unique local address in internal DNS.

Staff reach the server by name over an address that stays put even if the provider changes the global prefix. Guests get only global addresses, and a firewall rule blocks the guest network from the internal ones. Nothing about this requires translation, and the whole plan fits on a short page that the next administrator can follow. Planning a subnet scheme covers the same exercise with IPv4 alongside.

Common questions

Why do I have only an fe80 address?

No router advertisement or DHCPv6 answer gave you anything more. Your network or provider may not offer IPv6, or advertisements may be disabled or filtered. See checking for working IPv6.

What happened to site-local addresses?

An older block starting fec0 was deprecated because "site" was never defined clearly enough. Unique local addresses replaced it.

Do I need unique local addresses at home?

Often not. Link-local discovery and names handle most local traffic. ULAs help if you host internal services and your provider's prefix changes.

Written for 4Internet with AI writing tools and not reviewed line by line by a person. Check anything you rely on with the maker, provider or standard concerned. Report an error.

Keep reading

All 45 articles in IP Addresses & Routing →

Latest news on this topic