PracticeBlogFlashcardsEspañol

IPv6 Address Types and Notation

Key Takeaways

  • IPv6 addresses are 128-bit values written in hexadecimal hextets separated by colons.
  • Zero compression can be used once per address with double colon notation.
  • Global unicast, unique local, link-local, multicast, loopback, and unspecified addresses have distinct purposes.
  • IPv6 does not use broadcast; multicast and neighbor discovery replace many IPv4 broadcast behaviors.
  • Link-local addresses commonly begin with fe80 and are used on the local segment, often with a zone or interface identifier.
Last updated: April 2026

IPv6 uses 128-bit addresses written as eight groups of four hexadecimal digits. Each group is a hextet. Hexadecimal digits are 0-9 and a-f.

Full formCompressed formNotes
2001:0db8:0000:0000:0000:0000:0000:00012001:db8::1Leading zeros removed, one zero run compressed
fe80:0000:0000:0000:0202:b3ff:fe1e:8329fe80::202:b3ff:fe1e:8329Link-local example
0000:0000:0000:0000:0000:0000:0000:0001::1Loopback
0000:0000:0000:0000:0000:0000:0000:0000::Unspecified

Compression Rules

  1. Remove leading zeros in each hextet.
  2. Replace one continuous run of all-zero hextets with ::.
  3. Use :: only once in an address.
  4. If there are multiple equal zero runs, compressing the leftmost run is a common convention.
Invalid or risky notationWhy
2001::db8::1Uses :: twice
2001:db8:1Too few hextets without ::
2001:db8:zzzz::1z is not hexadecimal

IPv6 Address Types

TypeCommon prefix or addressPurpose
Global unicast2000::/3Internet-routable unicast
Unique localfc00::/7, commonly fd00::/8Private internal addressing
Link-localfe80::/10Local segment communication
Multicastff00::/8One-to-many groups
Loopback::1/128Local host testing
Unspecified::/128No address assigned or source before configuration
Documentation2001:db8::/32Examples and training

Neighbor Discovery and No Broadcast

IPv6 does not use broadcast. Neighbor Discovery Protocol uses ICMPv6 messages for functions such as address resolution, router discovery, and duplicate address detection. Blocking all ICMPv6 can break IPv6 even when basic IPv4 habits suggest otherwise.

IPv4 ideaIPv6 concept
ARPNeighbor discovery
BroadcastMulticast or neighbor discovery
DHCP default gateway optionRouter advertisements provide default gateway information
169.254.0.0/16 APIPAfe80::/10 link-local always present on IPv6 interfaces

PBQ-Style Thinking

Scenario: A host has only fe80:: addresses and cannot reach a remote subnet. That link-local address is normal, but it is not sufficient for routed global communication. Check router advertisements, DHCPv6 if used, prefix assignment, VLAN, and default route.

Scenario: A firewall blocks all ICMPv6 because the team treated it like optional ping traffic. IPv6 neighbor discovery and path MTU discovery can fail. The better control is to allow required ICMPv6 types and filter unsafe or unnecessary traffic according to policy.

Quick Recognition

AddressClassification
2001:db8::10Documentation prefix used in examples
2606:4700:4700::1111Global unicast
fd12:3456:789a::1Unique local
fe80::1Link-local
ff02::1Multicast
::1Loopback
::Unspecified
Test Your Knowledge

Which IPv6 address is the loopback address?

A
B
C
D
Test Your Knowledge

An IPv6 address begins with fe80. What type of address is it most likely?

A
B
C
D
Test Your KnowledgeMulti-Select

Which statements about IPv6 notation are correct? Choose two.

Select all that apply

The double colon can compress one run of zero hextets
The double colon can be used multiple times in one address
Leading zeros in a hextet can be omitted
IPv6 addresses use decimal octets separated by dots