Network Fundamentals · Topic 9 of 17
IPv6 Address Types
Compare IPv6 global unicast, unique local, link-local, anycast and multicast addresses, and learn how the modified EUI-64 method builds an interface ID.
- 5 min
- Exam objective 1.9
- Global unicast starts with 2000::/3, so addresses begin with 2 or 3.
- Unique local is FC00::/7, in practice FD, and is the private range.
- Link-local is FE80::/10. Every interface has one, and it is not routed.
What it is
IPv6 has several kinds of address, and the first digits of an address tell you what it is for.
Learning to recognise them tells you at once how far an address can travel.
The address types in this objective are global unicast, unique local, link-local, anycast and multicast. It also covers modified EUI-64, a method for building the host part of an address from a MAC address.
How it works
Each address type has its own prefix, scope and purpose.
Unicast addresses
A unicast address identifies a single interface. A packet sent to it goes to that one interface. Three kinds matter here.
| Type | Prefix | Scope |
|---|---|---|
| Global unicast | 2000::/3 | Routable across the internet |
| Unique local | FC00::/7 (FD00::/8 used in practice) | Private, inside an organisation |
| Link-local | FE80::/10 | One link only |
Global unicast addresses are the public addresses of IPv6. They start with 2 or 3 in practice, since the block is 2000::/3. They are unique across the internet and can be routed globally.
Unique local addresses are the IPv6 counterpart to private IPv4 addresses. They are meant for use inside a site or between sites, and are not routed on the public internet. In practice, you see addresses beginning with FD.
Link-local addresses start with FE80. Every IPv6 interface has one. It is valid only on the directly connected link, and routers do not forward packets from it.
Link-local addresses are used for neighbour discovery, and as the next-hop address in routing protocols. Because the same FE80 prefix exists on every link, a router interface needs to be named to tell them apart.
Two other unicast addresses are worth knowing: the loopback address ::1, which a device uses to talk to itself, and the unspecified address ::, used when a device has no address yet.
Multicast
A multicast address identifies a group of interfaces. A packet sent to it is delivered to every member of the group.
All multicast addresses start with FF00::/8. Some well-known ones:
- FF02::1 reaches all nodes on the link.
- FF02::2 reaches all routers on the link.
- Solicited-node multicast, from FF02::1:FF00:0/104, is built from the last 24 bits of a unicast address. It is how a device asks for another device's link-layer address, replacing the ARP broadcast.
IPv6 has no broadcast. Multicast does the same job more efficiently, because only devices that belong to the group process the packet.
Anycast
An anycast address is assigned to more than one device, usually in different places. A packet sent to the anycast address goes to the nearest device, as measured by the routing protocol.
It is used for services such as DNS to answer from the closest server. Anycast addresses come from the unicast range, so an address is only anycast because of how it is configured.
On a Cisco router, this is done with the anycast keyword:
interface GigabitEthernet0/0
ipv6 address 2001:db8:1:1::100/64 anycast
Modified EUI-64
EUI-64 builds a 64-bit interface ID from a 48-bit MAC address. It follows three steps:
- Split the MAC address in the middle.
- Insert FFFE between the two halves.
- Flip the seventh bit of the first byte. That is the universal/local bit.
An example, using the MAC address 00:50:56:AA:BB:CC:
- Split and insert FFFE: 0050:56FF:FEAA:BBCC
- The first byte is 00, which is 00000000 in binary. Flipping the seventh bit gives 00000010, which is 02.
- Result: 0250:56FF:FEAA:BBCC
With a /64 prefix of 2001:db8:1:1::/64, the full address is 2001:db8:1:1:250:56ff:feaa:bbcc.
The flip changes the second hex digit of the first byte by 2. A first byte of 00 becomes 02, 10 becomes 12, and 02 becomes 00.
On a Cisco router you apply it with ipv6 address 2001:db8:1:1::/64 eui-64. Link-local addresses on many devices are built the same way.
What to remember for the exam
Eight facts cover the address types.
- Global unicast starts with 2000::/3, so addresses begin with 2 or 3.
- Unique local is FC00::/7, in practice FD, and is the private range.
- Link-local is FE80::/10. Every interface has one, and it is not routed.
- Multicast is FF00::/8. FF02::1 is all nodes. FF02::2 is all routers.
- IPv6 has no broadcast.
- Anycast is one address on several devices. The nearest answers.
- Loopback is ::1. Unspecified is ::.
- EUI-64: split the MAC, insert FFFE, flip the seventh bit.
There is no IPv6 broadcast and no separate anycast prefix. The all nodes multicast address FF02::1 plays the broadcast role.
Common mistakes
These five errors are common.
Flipping the wrong bit. It is the seventh bit of the first byte, which changes a 00 into 02. Flipping the first bit is a different operation.
Forgetting FFFE. The 48-bit MAC needs 16 more bits to reach 64, and FFFE provides them.
Calling unique local the same as link-local. Unique local can be routed inside the organisation. Link-local cannot leave the link.
Treating anycast as its own range. There is no separate anycast prefix. It is a unicast address used on several devices.
Looking for an IPv6 broadcast address. There is none. The all-nodes multicast address FF02::1 plays that role.
Check yourself
Work through these three prompts.
What address type does each of these prefixes indicate: 2001, FD00, FE80 and FF02?
2001 is global unicast, FD00 is unique local, FE80 is link-local and FF02 is multicast.
How does an anycast address differ from a multicast address in who receives the packet?
A packet sent to an anycast address goes to the nearest device that holds that address. A packet sent to a multicast address is delivered to every member of the group.
What interface ID does modified EUI-64 build from the MAC address 00:1A:2B:3C:4D:5E?
It builds 021A:2BFF:FE3C:4D5E. Split the MAC in the middle, insert FFFE between the halves, and flip the seventh bit so the first byte 00 becomes 02.
Topic 9 of 17 in Network Fundamentals
Test yourself on Network Fundamentals
The full Cisco CCNA 200-301 question bank has 1,206 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by Cisco. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.