IPv6 is the next generation of IP, designed to replace IPv4 because IPv4 ran out of addresses and needs workarounds like NAT.

👉 IPv6 provides enough addresses for the whole planet, better routing and simpler network design.

IPv6 addressing

Basic facts

Address structure

| Network/Prefix (routing) | Interface ID (host) |

Typical: 2001:db8:1000:1::/64/64 is the standard subnet (very important): first 64 bits = network, last 64 bits = host.

⚠️ SLAAC only works with /64 (classic exam trap).

IPv6 address types (the important ones)

Global Unicast

Link-Local

Unique Local (ULA)

Multicast

How does a device get an IPv6 address?

SLAAC (Stateless Address Autoconfiguration)

DHCPv6

EUI-64 (automatic interface ID)

  1. The MAC address is split in two
  2. FFFE is inserted in the middle
  3. The U/L bit (7th bit) is inverted

Status: still in the books, less used in practice (privacy extensions preferred) — but still exam material.

IPv6 subnetting (very simple)

Subnetting happens on the prefix, never on the host part:

2001:db8:1000::/48
 → 2001:db8:1000:1::/64
 → 2001:db8:1000:2::/64

Special IPv6 addresses

Address Meaning
:: Unspecified
::1 Loopback
2001:db8::/32 Documentation (never in production)
::ffff:x.x.x.x IPv4-mapped

Why is IPv6 better than IPv4?

Classic exam traps ⚠️

Exam tips ⚠️

30-second summary

Level Expectation
CCNA Types, notation, SLAAC, subnetting
CCNP Design, summarization, routing behaviour, troubleshooting