Pcornel
Networking · Network & Protocols › IPv6 Protocol Reference

DHCPv6, SLAAC & Router Advertisement

Cheat sheet · https://pcornel.dk/topic.php?topic=167

Back to the Topic

Answer

IPv6 hosts learn on-link prefixes and default routers from Router Advertisements. Addresses may be formed with SLAAC and/or assigned by DHCPv6 depending on RA flags and platform behavior.

Remember

RA router lifetime, PIO L/A, address preferred/valid lifetimes and DNS lifetimes are separate. DHCPv6 does not normally supply the default router. M/O flags do not force identical behavior on all hosts.

First checks

Record OS/network-manager RA policy. Inspect an annotated RA, then address/DAD/lifetimes, on-link/default route, neighbor and resolver source separately. Verify numeric IPv6 connectivity, resolver query and original named service. Use only an isolated lifetime-zero test.

Verify in this order

accepted RA/host policy → router and PIO flags/lifetimes → SLAAC/DAD or DHCPv6 → default/on-link routes → DNS source → named application

Where it usually breaks

RA rejected/missing → wrong router/PIO lifetime or host policy → tentative/duplicate address → absent route → DNS mismatch → application path

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=167

Confirmation

Confirm action

Continue?