IPv6 addresses are 128 bits long, written as 8 groups of 4 hex digits separated by colons. Two abbreviation rules apply:
0DB8 → DB8, 0001 → 1Rule 2 — Replace one longest run of all-zero groups with
:: (only once per address)
| Type | Prefix | Purpose |
|---|---|---|
| Global Unicast | 2000::/3 | Routable — public internet |
| Link-Local | FE80::/10 | Same link only, auto-configured |
| Unique Local | FC00::/7 | Private, not routed (like RFC 1918) |
| Multicast | FF00::/8 | One-to-many (no broadcast in IPv6) |
| Loopback | ::1 | Local loopback (equivalent to 127.0.0.1) |
| Unspecified | :: | Unknown source (DAD / DHCP discover) |
FF02::1. All-routers = FF02::2.
EUI-64 is used by SLAAC to auto-generate the host portion of an IPv6 address. Steps: split MAC in half, insert FF:FE in the middle, then flip bit 7 of the first byte.
| Message | Type | Purpose |
|---|---|---|
| Router Solicitation (RS) | ICMPv6 133 | Host requests RA from routers |
| Router Advertisement (RA) | ICMPv6 134 | Router sends prefix + flags |
| Neighbor Solicitation (NS) | ICMPv6 135 | Find MAC for IPv6 (like ARP request) |
| Neighbor Advertisement (NA) | ICMPv6 136 | Reply with MAC (like ARP reply) |
| Redirect | ICMPv6 137 | Better next-hop exists |
| Feature | IPv4 | IPv6 |
|---|---|---|
| Address length | 32 bits (4 octets) | 128 bits (8 groups of 16 bits) |
| Address notation | Dotted decimal: 192.168.1.1 | Hexadecimal with colons: 2001:db8::1 |
| Address space | ~4.3 billion addresses | 340 undecillion (3.4 x 10^38) |
| Broadcast | Yes (255.255.255.255) | No — replaced by multicast and anycast |
| NAT required | Usually (private addressing) | No — every device gets global address |
| Header size | 20–60 bytes (variable with options) | 40 bytes fixed (extension headers separate) |
| Fragmentation | Routers and hosts | Source host only (Path MTU Discovery) |
| ICMP | ICMPv4 | ICMPv6 (includes ARP replacement — NDP) |
| Address config | Static or DHCP | Static, SLAAC, Stateless/Stateful DHCPv6 |
| ARP | ARP (broadcast-based) | NDP Neighbor Solicitation (multicast) |
| Checksum | Header checksum field | No header checksum (handled by L4/L2) |
| IPsec | Optional | Built into the protocol (mandatory support) |
IPv6 addresses can be compressed using two rules. Both can be applied together. Knowing how to expand a compressed address is tested directly in the exam.
0DB8 → DB8 | 0001 → 1 | 0000 → 0
::. Can only be used once per address.
NDP is the IPv6 equivalent of ARP plus router discovery. It uses ICMPv6 messages sent to multicast addresses rather than broadcasts, making it more efficient and harder to spoof.
| Message | Type | Purpose | Sent to |
|---|---|---|---|
| RS — Router Solicitation | 133 | Host asks routers to identify themselves | FF02::2 (all routers) |
| RA — Router Advertisement | 134 | Router announces prefix, gateway info, flags | FF02::1 (all nodes) |
| NS — Neighbor Solicitation | 135 | Resolves IPv6 address to MAC (like ARP Request) | Solicited-node multicast |
| NA — Neighbor Advertisement | 136 | Replies with MAC address (like ARP Reply) | Unicast to requester |
| Redirect | 137 | Router tells host of a better next-hop | Unicast |
The RA message contains two flags — M (Managed) and O (Other) — that tell clients how to obtain their address and other config.
| M Flag | O Flag | Method | Address from | DNS/options from |
|---|---|---|---|---|
| 0 | 0 | SLAAC only | Self-generated (prefix + EUI-64/random) | RA |
| 0 | 1 | SLAAC + Stateless DHCPv6 | Self-generated | DHCPv6 server |
| 1 | 0/1 | Stateful DHCPv6 | DHCPv6 server assigns address | DHCPv6 server |
IPv6 has three address types — unicast (one-to-one), multicast (one-to-many), and anycast (one-to-nearest). There is no broadcast. Three main strategies exist for IPv4/IPv6 coexistence.
IPv6 Knowledge Drills
Spaced repetition · 60-second timer per question
Packet Tracer Labs
Step-by-step IPv6 configuration walkthroughs.
IPv6 Topology Diagrams
IPv6 Cheatsheet
Topic Checklist
Track your progress through IPv6 concepts.