Module 2.6 55 minIntermediate

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.

Course plan — preview

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

TypePrefixUse
Global unicast2000::/3Public Internet routable
Unique local (ULA)fc00::/7 (typically fd00::/8)Private — RFC 1918 equivalent
Link-localfe80::/10On-link only, every interface auto-generates one
Multicastff00::/8One-to-many delivery
Loopback::1/128127.0.0.1 equivalent
Unspecified::/128Source address before assignment
AnycastNo prefix of its own — taken from unicast spaceOne address on several devices; delivered to the nearest
There is no broadcast in IPv6. Anything broadcast in IPv4 (e.g. 'all hosts on this link') uses a multicast group instead — typically ff02::1.

14 more sections in this chapter, plus a 4-question quiz and a hands-on lab.

Course plan

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

Build it step by step