Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

SLAAC

Direct answer

Stateless Address Autoconfiguration (SLAAC) lets a host build its own IPv6 address from the /64 prefix in a Router Advertisement plus an interface ID, and use the advertising router as default gateway.

When to use this

Use it when hosts should build their own IPv6 addresses from router advertisements, or when they get none.

First 30 seconds

1. SLAAC: hosts build addresses from the RA prefix (/64) plus an interface ID (EUI-64 or random).

2. Requires /64.

3. DNS via RDNSS or stateless DHCPv6.

4. Privacy addresses rotate.

5. No central lease record.

Operational verification

RA prefix /64 → host interface ID → DAD → address

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
SLAAC pitfalls
  • Prefix length other than /64 → SLAAC does not work.
  • Hosts with privacy addresses changing often, confusing logs and ACLs.
  • No RDNSS and no DHCPv6 → hosts without DNS servers.
  • Router lifetime 0 by mistake → hosts have no default route.
Platform / version applicability
Protocol standard + deployed implementation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformProtocol standard · IOS/IOS XE
Scope / prerequisiteUse it when hosts should build their own IPv6 addresses from router advertisements, or when they get none.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification & troubleshooting Narrow the fault

1. Capture RA prefix, A/M/O flags and lifetime.

2. Verify host address construction and DAD.

4. Check DNS and default route.

5. Confirm renewal and relay behavior.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Key points
  • RA supplies prefix and default-router information
  • M/O flags signal DHCPv6 expectations but do not themselves lease data
  • Stateless DHCPv6 supplies options; stateful DHCPv6 can lease addresses
  • DHCPv6 does not supply the default gateway
  • DUID/IAID, relay context, lifetimes, privacy addresses and DAD affect observed state.
Key checks
  • show ipv6 interface <interface> — prefix advertised
  • Client: ip -6 addr / ipconfig — autoconfigured address
ReferenceWhat it is1 section · depth on demand

How SLAAC builds an address

1. Host creates a link-local address (fe80::/64) and runs DAD.

2. Receives an RA with a /64 prefix and the A flag.

3. Creates an interface ID (random/stable privacy addresses on modern OSes, EUI-64 on some devices) and runs DAD.

4. Uses the RA source as default gateway.

The prefix must be /64. Check with ip -6 addr, ipconfig, and show ipv6 interface on the router (prefix advertised, nd prefix options).

ReferenceWhy it matters1 section · depth on demand

When to use it

Use it to diagnose how a host learned its prefix, address, default router, DNS and lease identity.

ReferenceImportant terms & boundaries2 sections · depth on demand

How it works

SLAAC (Stateless Address Autoconfiguration) lets a host build its own IPv6 address: it receives a Router Advertisement with a /64 prefix and the A flag set, creates an interface ID (random/stable-privacy or EUI-64), runs Duplicate Address Detection and uses the router as default gateway. No server keeps a lease.

In depth

Lifetimes control how long an address is used

interface Vlan10
 ipv6 address 2001:db8:10::1/64
 ipv6 nd prefix 2001:db8:10::/64 86400 14400
 ipv6 nd ra interval 30
LifetimeMeaning on the host
Valid (86400 s)Address may be used at all
Preferred (14400 s)Address may be used for new connections
Preferred expired, valid notAddress is "deprecated": existing sessions continue, new ones use another address

Renumbering works by advertising the old prefix with preferred lifetime 0 and the new prefix normally.

Protection against lifetime attacks

RFC 4862 limits how far an unauthenticated RA can shorten the valid lifetime of an existing address: values below two hours are not accepted as-is, so a single spoofed RA cannot remove an address instantly. RA Guard on access ports is still the real protection against rogue RAs.

Duplicate Address Detection

Before using an address the host sends a Neighbor Solicitation from :: to the solicited-node multicast group. Any answer means duplicate; the address stays tentative/duplicate and is not used. Hosts with many SLAAC addresses (privacy extensions) perform DAD for each one.

Verify on hosts and routers

SystemCommandLook for
Linuxip -6 addr show dev eth0scope global dynamic mngtmpaddr and lifetimes
Windowsnetsh interface ipv6 show addressesType Public / Temporary, lifetimes
IOS routershow ipv6 interface Vlan10Advertised prefix, ND advertised reachable time, RA interval
IOS as clientipv6 address autoconfig + show ipv6 interface briefSLAAC-built address

Prerequisites

The prefix must be /64 with the A flag set, RAs must reach the host (multicast not filtered), and the host must accept RAs (net.ipv6.conf.*.accept_ra on Linux routers/hosts with forwarding enabled).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docProtocol standard + deployed implementation RFC 8200

Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → IPv6 → IPv6 SLAAC / DHCPv6 → SLAAC. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.rfc-editor.org/rfc/rfc8200.html · confidence 94%
Confirmation

Confirm action

Continue?