IPv6 fundamentals
128-bit addresses, the eight 16-bit hextets, address types, EUI-64, SLAAC, and dual-stack operation. This chapter teaches just enough IPv6 to read an address, configure an interface, and work confidently with it in practice.
What you'll learn
- Compress and expand any IPv6 address using the :: shorthand rules.
- Distinguish global unicast, unique local, link-local, multicast, and anycast.
- Describe SLAAC and how a host self-configures an IPv6 address.
128 bits, eight hextets
An IPv6 address is 128 bits, written as eight 16-bit hexadecimal groups separated by colons. Example: 2001:0db8:0000:0000:0000:ff00:0042:8329.
Two compression rules: leading zeros in any hextet may be dropped, and exactly one run of all-zero hextets may be replaced by '::'. The address above compresses to 2001:db8::ff00:42:8329.
Each hex digit is 4 bits, so a hextet is four hex digits and a full address is 32 of them. The scale is enormous, 2^128 addresses, which is why IPv6 can give every LAN a /64 without anyone worrying about waste.
Address types you must recognize
| Type | Prefix | Use |
|---|---|---|
| Global unicast | 2000::/3 | Public Internet routable |
| Unique local (ULA) | fc00::/7 (typically fd00::/8) | Private — RFC 1918 equivalent |
| Link-local | fe80::/10 | On-link only, every interface auto-generates one |
| Multicast | ff00::/8 | One-to-many delivery |
| Loopback | ::1/128 | 127.0.0.1 equivalent |
| Unspecified | ::/128 | Source address before assignment |
| Anycast | No prefix of its own — taken from unicast space | One address on several devices; delivered to the nearest |
14 more sections in this chapter, plus a 4-question quiz and a hands-on lab.
Modules 2–8 are part of the Course & Lab Pass and All-Access Max — start with a free account
You can see the title, summary, learning objectives and the opening sections. The rest of this chapter, like all of modules 2–8, comes with the Course & Lab Pass and All-Access Max. A free account opens Module 1: How Networks Work end-to-end and saves your labs — start there, no card required.
- Read every chapter in Module 1 — How Networks Work
- Save labs of up to 5 devices
- Save up to 3 topologies
- See the full course syllabus + chapter titles
Free account · no card required · compare plans any time