Kahibaro
Discord Login Register

8.3 Address Types

Introduction

IPv6 addresses are not all used in the same way. IPv6 defines several main address types that decide who receives the traffic and how routers treat the packets. Understanding these types is essential to read, design, and troubleshoot IPv6 networks.

In this chapter, you will learn what the main IPv6 address types are, what they look like, and how they are used at a basic level, without going into topics that belong to routing, neighbor discovery, or configuration details.

The Three Core Address Types

IPv6 has three fundamental address types:

  1. Unicast
  2. Multicast
  3. Anycast

IPv4 also had unicast and multicast, and usually used broadcast. IPv6 removes broadcast and replaces that role with certain multicast addresses.

In IPv6 there is no broadcast address. Functions that used broadcast in IPv4 use multicast in IPv6 instead.

Each address type defines how many devices should receive a packet when it is sent to that address.

Table: High level comparison

TypeWho receives the packet?Broadcast equivalent?
UnicastExactly one interfaceNo
MulticastA specific group of interfacesReplaces broadcast
AnycastOne member of a group, usually the closestNo

Unicast Addresses

A unicast address identifies a single interface. Packets sent to a unicast address are delivered to one device interface, and that device processes the packet. Unicast addresses are used for most normal communication, for example when you open a website or connect to a server.

Unicast is a category. Inside it, IPv6 defines several important unicast types with specific roles and scopes.

Global Unicast Addresses

Global unicast addresses are the IPv6 equivalent of public IPv4 addresses. They are globally unique and routable on the public Internet. Hosts and routers use them for communication across networks that are not directly attached.

A global unicast address is usually in the range that starts with 2 or 3 in hexadecimal, for example:

In short form:

You will learn detailed structure and notation in the chapter on IPv6 address format. Here, focus on the role. Global unicast addresses:

A global unicast IPv6 address is globally routable and unique across the Internet.

Link Local Addresses

Link local addresses are only valid on a single local network link. They allow devices to communicate with neighbors on the same network segment without any configuration from a server or administrator.

These addresses always begin with fe80 and have a prefix of /10. Example:

Key properties:

Link local addresses always start with fe80::/10 and are never routed beyond the local link.

Unique Local Addresses

Unique local addresses, often called ULAs, are somewhat similar to private IPv4 addresses. They are meant for local communication inside one or more sites, and they are not intended to be routed on the public Internet.

ULAs:

Example ULA:

Typical uses:

The main differences from global unicast are scope and routing policy. ULAs are not advertised on the public Internet.

Other Unicast Related Concepts

You may encounter other special unicast ranges, for example addresses used for specific transition mechanisms or other advanced features. For learning purposes at the beginner level, focus on recognizing global unicast, link local, and unique local. These three cover most basic designs.

Multicast Addresses

Multicast addresses identify groups of interfaces that want to receive the same traffic. When a packet is sent to a multicast address, all members of that group can receive it. Multicast reduces unnecessary traffic compared to broadcast, because only devices that have joined the group process the packet.

IPv6 multicast addresses always begin with ff.

Examples:

Multicast Scope

Every IPv6 multicast address has a scope. Scope tells how far the packet is allowed to travel. Common scopes include:

The second hexadecimal digit in the multicast address often indicates scope. You will see ff02 frequently, which means link local multicast.

Table: Common scopes

PrefixScopeDescription
ff01::InterfaceOnly on the local interface
ff02::Link localLocal network link only
ff05::Site localWithin an organization site
ff0e::GlobalCan be routed globally

Well Known Multicast Groups

IPv6 defines several special multicast groups that all IPv6 nodes or routers must join. These are used for essential network functions.

Some important examples:

These multicast groups replace IPv4 broadcasts. For example, in IPv4 ARP and some discovery protocols sent packets to a broadcast address. In IPv6, similar purposes are achieved by sending packets to specific multicast groups.

IPv6 replaces broadcast with multicast. Addresses like ff02::1 and ff02::2 are critical for basic IPv6 operation on a local link.

Anycast Addresses

Anycast addresses represent a group of interfaces, usually on different devices and often in different locations, that share the same address. Unlike multicast, a packet sent to an anycast address is delivered to only one member of the group, typically the one that is "closest" according to the routing system.

Anycast uses normal unicast address format. There is no special prefix that marks an address as anycast. Instead, the address is configured on multiple interfaces and routers are told via routing advertisements that these interfaces all exist. The routing protocol then chooses the best path.

Typical uses for anycast:

Because anycast is not a new format, it is more a method of using unicast addresses. The key difference is that multiple devices share the same unicast address, and routing decides which one receives the traffic.

Contrast with multicast:

Special Address: Unspecified Address

There is a special IPv6 address that is used when a device does not yet have a valid address to use. This is the unspecified address.

The unspecified address is:

All bits are zero. It is never assigned as a normal address to an interface and is never used as a destination in real traffic. Instead, a device uses it internally as a source address while it is still trying to obtain a valid address or while it performs certain checks.

You might see the unspecified address in logs, or during early stages of address configuration. It indicates "no address yet" rather than a real host.

The unspecified address is ::. It must never be used as a destination and is not routable.

Comparing IPv6 Address Types

To summarize how the main types differ, consider this simplified comparison.

TypeExampleWho receives packet?Routable on Internet?
Global unicast2001:db8::1Single interfaceYes
Link local unicastfe80::1Single interface on local link onlyNo
Unique local (ULA)fd12:3456::1Single interface in private scopeNo (intended)
Multicastff02::1All group members, possibly many interfacesPossibly, depends scope
AnycastUnicast formOne interface from a group, usually closestYes, if unicast is
Unspecified::No real receiver, used internally as "none"No

Each type has a clear purpose. In an actual IPv6 network, a single interface often has multiple addresses of different types at the same time, for example:

Understanding these types will help you interpret configuration outputs, packet captures, and design choices in later chapters.

Views: 46

Comments

Please login to add a comment.

Don't have an account? Register now!