100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace

What are the IPv6 Address Types?

Learn the three IPv6 address types — unicast, multicast, and anycast — plus link-local and unique local scopes explained clearly.

mediumQ92 of 224 in Computer Networks Est. time: 6 minsLast updated:
Open Code Lab

Expected Interview Answer

IPv6 defines three fundamental address types by how many recipients a packet reaches — unicast (one specific interface), multicast (a group of interfaces that joined a group), and anycast (the nearest interface out of a group sharing the same address) — with no broadcast type at all.

Unicast addresses identify a single interface and come in several flavors: global unicast addresses (starting typically 2000::/3) are publicly routable on the internet, link-local addresses (fe80::/10) are automatically assigned and confined to a single local link for neighbor discovery, and unique local addresses (fc00::/7) are the IPv6 equivalent of private IPv4 ranges, used for internal routing that should not leave an organization. Multicast addresses (ff00::/8) deliver a packet to every interface that has joined a particular group, replacing IPv4 broadcast for things like all-routers or all-nodes notifications. Anycast addresses look identical to unicast addresses syntactically but are assigned to multiple interfaces on different nodes; the network routes a packet sent to an anycast address to whichever assigned interface is topologically nearest, which is how many public DNS resolvers and CDNs achieve low-latency routing. Every IPv6-enabled interface also automatically gets a link-local address the moment it comes up, even before any other address is configured.

  • Removes ambiguous broadcast in favor of scoped multicast
  • Link-local addresses enable zero-configuration local communication
  • Unique local addresses give private routing without NAT dependency
  • Anycast lets the same address route to the nearest of several nodes

AI Mentor Explanation

A global unicast IPv6 address is like a player’s full official registration number recognized across every international tournament — reaches exactly one specific person anywhere. A link-local address is like a temporary numbered bib used only inside one specific ground for that day’s practice session, meaningless once you leave the venue. Anycast is like calling out for "the nearest team physio," where several physios share that role and whichever one is closest responds — the request reaches only one, but which one depends on proximity.

Step-by-Step Explanation

  1. Step 1

    Interface boots

    An IPv6-enabled interface automatically self-assigns a link-local address (fe80::/10) using its MAC-derived interface ID.

  2. Step 2

    Global unicast assigned

    A publicly routable address (2000::/3) is configured statically or via SLAAC/DHCPv6 for internet-wide reachability.

  3. Step 3

    Unique local for internal use

    Private, non-internet-routable communication uses unique local addresses (fc00::/7), similar in role to IPv4 private ranges.

  4. Step 4

    Multicast and anycast as needed

    Group notifications use multicast (ff00::/8); services wanting nearest-node routing use anycast addresses.

What Interviewer Expects

  • Names unicast, multicast, and anycast as the three IPv6 address types
  • Distinguishes global unicast, link-local, and unique local subtypes
  • Explains that IPv6 has no broadcast, replaced by multicast
  • Understands anycast routes to the nearest of several identically-addressed nodes

Common Mistakes

  • Claiming IPv6 still has a broadcast address type
  • Confusing link-local addresses with globally routable ones
  • Thinking anycast addresses are syntactically different from unicast ones
  • Not knowing every IPv6 interface gets a link-local address automatically

Best Answer (HR Friendly)

IPv6 addresses come in three flavors based on who receives the traffic: unicast goes to one specific device, multicast goes to a group of devices that signed up for it, and anycast goes to whichever device out of a group is physically closest — which is clever for routing you to the nearest server. Unlike IPv4, IPv6 does not have a broadcast type at all; multicast covers those use cases instead.

Code Example

Inspecting IPv6 address types on a host
# List IPv6 addresses assigned to interfaces
ip -6 addr show

# Example output showing link-local and global scopes
# inet6 fe80::1a2b:3c4d:5e6f:7a8b/64 scope link
# inet6 2001:db8:85a3::8a2e:370:7334/64 scope global

# Ping a link-local address (must specify the interface)
ping6 -c 2 fe80::1a2b:3c4d:5e6f:7a8b%eth0

# Ping a well-known public anycast resolver
ping6 -c 2 2606:4700:4700::1111

Follow-up Questions

  • How does SLAAC automatically configure a global unicast IPv6 address?
  • Why does every IPv6 interface need a link-local address even with a global one?
  • How is a unique local address (fc00::/7) different from a private IPv4 range?
  • What real-world services rely on anycast addressing?

MCQ Practice

1. Which address type does IPv6 NOT have, unlike IPv4?

IPv6 removed broadcast entirely, using multicast to cover the same use cases.

2. What prefix range identifies IPv6 link-local addresses?

fe80::/10 is reserved for link-local addresses, automatically assigned and confined to one local link.

3. What is distinctive about an anycast address in IPv6?

Anycast addresses are shared by multiple interfaces; the network routes traffic to the topologically nearest one.

Flash Cards

Three IPv6 address types?Unicast, multicast, and anycast — no broadcast type exists.

Link-local prefix?fe80::/10, auto-assigned and confined to the local link.

Unique local prefix?fc00::/7, IPv6's private-addressing equivalent to IPv4 private ranges.

What does anycast do?Routes traffic to the nearest of several interfaces sharing the same address.

1 / 4

Continue Learning