IPv6 Addressing & Address Types

CCNA 200-301 · Network Fundamentals

By Abu Anns · Last updated 20 November 2026Exam version: 200-301 v1.1 (current until 2 Feb 2027)

IPv6 exists because IPv4 ran out of addresses. With 128 bits instead of 32, IPv6 has roughly 340 undecillion addresses — enough to give every grain of sand on Earth its own address and still have room. The CCNA does not ask you to design an IPv6 network, but it does expect you to read IPv6 addresses fluently, recognise the address types, build an address with EUI-64, and configure a basic IPv6 address on a Cisco device. The good news is that IPv6 is simpler than it looks once you learn the shortening rules and the handful of prefixes that identify each address type.

Reading and writing IPv6 addresses

An IPv6 address is 128 bits written as eight groups of four hexadecimal digits, separated by colons: 2001:0db8:0000:0000:0000:ff00:0042:8329. Two shortening rules make addresses manageable. First, leading zeros in each group can be dropped, so 0db8 becomes db8 and 0042 becomes 42. Second, one run of consecutive all-zero groups can be replaced by a double colon (::) — but only once per address, because using it twice would make the address ambiguous. Applying both rules, the example above becomes 2001:db8::ff00:42:8329. The exam regularly asks you to expand or compress an address, and the common mistakes are using :: twice or dropping zeros that are not leading zeros.

The prefix length works the same way as in IPv4: /64 means the first 64 bits are the network portion. Most IPv6 subnets use /64, which leaves 64 bits for the interface identifier — far more than any subnet will ever need, which is why IPv6 has no equivalent of IPv4's subnetting arithmetic on the exam. A device's full address is written with its prefix, such as 2001:db8:acad:1::10/64.

IPv6 address types

Global unicast addresses are the public, routable addresses of IPv6, equivalent to public IPv4 addresses. They come from the 2000::/3 range, which means they currently start with 2 or 3 — 2001:db8:: is the documentation prefix you will see in examples. Unique local addresses (fc00::/7, in practice fd00::/8) are the IPv6 equivalent of RFC 1918 private addresses: routable within an organisation but not on the public internet. Link-local addresses (fe80::/10) are automatically configured on every IPv6 interface and are used only on the local link — they are never routed. Every IPv6 interface has a link-local address whether or not it has a global one, and routers use link-local addresses as the next hop in routing tables and as the source of routing protocol messages.

Anycast is not a separate address range: it is a unicast address assigned to more than one device, so a packet sent to it is delivered to the nearest one by routing. Anycast is how DNS root servers and content delivery networks work — many servers share one address and routing picks the closest. Multicast addresses (ff00::/8) identify a group, and a packet sent to a multicast address is delivered to all members of the group. IPv6 has no broadcast at all: anything IPv4 did with broadcast, IPv6 does with multicast, including neighbour discovery and router advertisements. The all-nodes multicast address ff02::1 reaches every IPv6 device on the link, and ff02::2 reaches all routers.

Two special addresses complete the set: the loopback address ::1/128 (IPv6's 127.0.0.1) and the unspecified address ::/128 (IPv6's 0.0.0.0). The exam also tests the solicited-node multicast address, ff02::1:ff00:0/104, which is used by neighbour discovery to ask a specific device for its MAC address — it replaces ARP, which does not exist in IPv6.

Modified EUI-64

A device can build its own 64-bit interface identifier from its 48-bit MAC address using modified EUI-64. The method is: split the MAC address in half, insert fffe in the middle, and flip the seventh bit of the first byte (the universal/local bit). Take the MAC address 00:1a:2b:3c:4d:5e. Splitting gives 001a:2b and 3c4d:5e; inserting fffe gives 001a:2bff:fe3c:4d5e; flipping the seventh bit changes the first byte from 00 to 02, giving the interface ID 021a:2bff:fe3c:4d5e. Combined with a /64 prefix such as 2001:db8:acad:1::/64, the full address is 2001:db8:acad:1:021a:2bff:fe3c:4d5e. The bit flip is the step candidates forget most often — and the one the exam checks. Note that many modern operating systems use privacy extensions with random interface IDs instead of EUI-64, precisely because EUI-64 embeds the device's MAC address and makes the device trackable.

Address assignment and configuration

IPv6 hosts can get addresses in three ways. SLAAC (Stateless Address Autoconfiguration) lets a host build its own address from the prefix advertised by the router in a Router Advertisement message, combined with an EUI-64 or random interface ID — no server required. Stateful DHCPv6 works like DHCP in IPv4: a server assigns addresses and tracks them. Stateless DHCPv6 is a hybrid: the host builds its own address with SLAAC and uses DHCPv6 only for extra information such as DNS servers. The exam tests the distinction between these three, and the fact that SLAAC depends on Router Advertisements.

On a Cisco router, IPv6 routing is off by default and must be enabled with ipv6 unicast-routing in global configuration mode. An address is assigned with ipv6 address 2001:db8:acad:1::1/64 in interface mode, and you can verify with show ipv6 interface brief and show ipv6 route. Two configuration details the exam likes: a router's interface automatically gets a link-local address (fe80::/10) as soon as IPv6 is enabled, and you can set the link-local address manually with ipv6 address fe80::1 link-local. The loopback and the link-local address are the two addresses a device always has, and they are the two you will see most often in show output.

Neighbour discovery and the IPv6 header

IPv6 replaces ARP with neighbour discovery (ND), which uses ICMPv6 messages instead of broadcasts. When a host needs a neighbour's MAC address, it sends a neighbour solicitation to the target's solicited-node multicast address — a group address derived from the last 24 bits of the target's IPv6 address, in the ff02::1:ff00:0/104 range — and the target replies with a neighbour advertisement containing its MAC address. Because the solicitation goes to a multicast group that only the intended target (and a few others) listens to, neighbour discovery disturbs far fewer devices than an ARP broadcast. The same ICMPv6 machinery handles router solicitation and advertisement (how hosts find routers and learn prefixes for SLAAC) and duplicate address detection (how a host checks that its chosen address is not already in use). The IPv6 header itself is simpler than the IPv4 header: a fixed 40 bytes, with no header checksum (upper layers and link layers already check integrity), no fragmentation fields (only the sending host fragments), and a flow label for QoS. The exam's point is the simplification — IPv6 removed the fields that routers no longer needed, which is part of why IPv6 forwarding is efficient.

Advertisement

Exam traps to watch for

Practice questions

Test yourself on this guide. Answers are checked instantly, with a full explanation for each question.

Q1.Which IPv6 address is a link-local address?

Report an error

Q2.A device with MAC address 00:1a:2b:3c:4d:5e builds its IPv6 interface identifier using modified EUI-64. What is the resulting interface ID?

Report an error

Q3.Which statement about IPv6 is correct?

Report an error

Q4.Which IPv6 address correctly shortens 2001:0db8:0000:0000:0000:ff00:0042:8329?

Report an error

Q5.What is the IPv6 loopback address?

Report an error

Q6.A host builds its own IPv6 address from the prefix advertised in a Router Advertisement message, without contacting any server. Which method is this?

Report an error

Q7.Which command enables IPv6 routing on a Cisco router?

Report an error

Q8.An IPv6 packet is sent to an anycast address that is assigned to three servers in different cities. What happens to the packet?

Report an error

Q9.Which IPv6 address type is the equivalent of a private RFC 1918 IPv4 address?

Report an error