IPv6 Addressing & Address Types
CCNA 200-301 · Network Fundamentals
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.
Exam traps to watch for
- Using :: twice in one address when shortening. The double colon can only appear once, or the address is ambiguous.
- Forgetting to flip the seventh bit in modified EUI-64. Inserting fffe without flipping the bit gives the wrong interface ID.
- Saying IPv6 has broadcast addresses. It does not — broadcast functions are handled by multicast.
- Confusing link-local (fe80::/10, never routed) with unique local (fc00::/7, private but routable within an organisation).
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?
Explanation: Link-local addresses come from the fe80::/10 range, so fe80::1 is a link-local address — automatically configured on every IPv6 interface and never routed beyond the local link. Option A is a global unicast address from the 2000::/3 documentation range. Option B is a unique local address from the fc00::/7 range. Option D is the all-nodes multicast address from the ff00::/8 range.
Exam objective: 200-301 1.9: Describe IPv6 address types — link local unicast
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?
Explanation: Modified EUI-64 splits the MAC address in half, inserts fffe in the middle, and flips the seventh bit of the first byte. 00:1a:2b:3c:4d:5e becomes 001a:2bff:fe3c:4d5e after inserting fffe, and flipping the seventh bit changes the first byte from 00 to 02, giving 021a:2bff:fe3c:4d5e. Option A forgets the bit flip. Option C puts fffe at the end instead of the middle and does not flip the bit. Option D does neither the insertion nor the correct flip.
Exam objective: 200-301 1.9: Describe IPv6 address types — Modified EUI 64
Q3.Which statement about IPv6 is correct?
Explanation: IPv6 eliminated broadcast entirely: functions that used broadcast in IPv4, such as ARP, are performed with multicast in IPv6 (neighbour discovery uses solicited-node multicast). Option A is wrong because IPv6 neighbour discovery uses multicast, not broadcast. Option B is wrong because IPv6 addresses are 128 bits long. Option D is wrong because IPv6 routers do not fragment packets — only the sending host fragments, and routers drop oversized packets and send back an ICMPv6 Packet Too Big message.
Exam objective: 200-301 1.9: Describe IPv6 address types — multicast
Q4.Which IPv6 address correctly shortens 2001:0db8:0000:0000:0000:ff00:0042:8329?
Explanation: Leading zeros are dropped in each group (0db8 becomes db8, 0042 becomes 42) and the single run of three consecutive all-zero groups is replaced by one ::, giving 2001:db8::ff00:42:8329. Option B is a valid address but it is not shortened — it keeps the zero groups written out. Option C is invalid because :: appears twice, which makes the address ambiguous. Option D is wrong because it keeps a 0000 group that should be compressed and drops a zero group inconsistently.
Exam objective: 200-301 1.8: Configure and verify IPv6 addressing and prefix
Q5.What is the IPv6 loopback address?
Explanation: The IPv6 loopback address is ::1/128, the equivalent of 127.0.0.1 in IPv4 — it refers to the local host itself. Option A (::/128) is the unspecified address, the equivalent of 0.0.0.0. Option B is a link-local address. Option D is the all-nodes multicast address.
Exam objective: 200-301 1.9: Describe IPv6 address types — unicast
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?
Explanation: SLAAC lets a host construct its own address from the prefix in a Router Advertisement plus an interface identifier, with no server involved — that is what makes it stateless. Option A is wrong because stateful DHCPv6 assigns addresses from a server that tracks them. Option C is wrong because APIPA is an IPv4 mechanism for link-local addressing when DHCP fails. Option D is wrong because NAT64 translates between IPv6 and IPv4 networks; it does not assign addresses to hosts.
Exam objective: 200-301 1.8: Configure and verify IPv6 addressing and prefix — SLAAC
Q7.Which command enables IPv6 routing on a Cisco router?
Explanation: ipv6 unicast-routing, entered in global configuration mode, enables the router to forward IPv6 packets between interfaces. Option B is wrong because ip routing controls IPv4 routing, which is enabled by default. Option C is wrong because ipv6 enable only turns on IPv6 processing on an interface (giving it a link-local address); it does not enable routing. Option D is wrong because it assigns an address to an interface but does not enable the routing function.
Exam objective: 200-301 1.8: Configure and verify IPv6 addressing and prefix
Q8.An IPv6 packet is sent to an anycast address that is assigned to three servers in different cities. What happens to the packet?
Explanation: Anycast delivers a packet to the nearest instance of the address according to the routing table — the same unicast address is configured on multiple devices, and routing decides which one receives the packet. Option A describes multicast, not anycast. Option C is wrong because anycast addresses are ordinary unicast addresses from a routing perspective and are fully routable. Option D is wrong because IPv6 has no broadcast, and anycast delivery is a routing decision, not a local-link flood.
Exam objective: 200-301 1.9: Describe IPv6 address types — anycast
Q9.Which IPv6 address type is the equivalent of a private RFC 1918 IPv4 address?
Explanation: Unique local addresses (fc00::/7, in practice fd00::/8) are for use inside an organisation and are not routed on the public internet — the IPv6 equivalent of RFC 1918 private IPv4 addresses. Option A is wrong because global unicast addresses are public and routable, like public IPv4 addresses. Option B is wrong because link-local addresses (fe80::/10) are only valid on a single link and are never routed at all. Option D is wrong because multicast addresses identify groups of devices, not individual private hosts.
Exam objective: 200-301 1.9: Describe IPv6 address types — unique local unicast