Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

IPv6 Router Advertisement Policy

Direct answer

How hosts get their IPv6 address, default router and DNS server is decided on the router, through the Router Advertisements it sends per interface: SLAAC, SLAAC with stateless DHCPv6, or stateful DHCPv6.

When to use this

Use it to choose the addressing model per VLAN, to keep several routers on one link consistent, and when hosts are configured differently from each other or use an unknown default router.

First 30 seconds

1. show ipv6 interface <interface> — SLAAC or DHCP announced, and with which lifetimes?

2. show ipv6 routers — any source that is not a known router?

3. Do all routers on the link advertise the same flags and prefix?

4. On a test host: address type, one default router, a DNS server?

5. No DNS → add ipv6 nd ra dns server or the other-config flag with a DHCPv6 server.

Operational verification

addressing model chosen per VLAN → flags and prefix configured alike on every router of the link → no unknown advertisement sources → host obtains the intended address type, one default router and DNS

Context & applicabilityCommon mistakes · platform/version boundaries
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
Key commandshow ipv6 interface GigabitEthernet0/0
Scope / prerequisiteUse it to choose the addressing model per VLAN, to keep several routers on one link consistent, and when hosts are conf…
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.

2 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 Operational verification Verify boundary
show ipv6 interface GigabitEthernet0/0
show ipv6 routers
show running-config interface GigabitEthernet0/0

The interface view states what this router advertises: the interval and lifetime of its RAs, its preference, and whether hosts are told to use stateless autoconfiguration or DHCP for addresses and other settings. show ipv6 routers lists every other RA source the router hears on its links, with flags, preference, lifetime and prefixes — compare them with the router's own, and investigate any source that is not a known router.

On a host, check the three results separately: the addresses it has, its default route, and its DNS servers.

Known-good: all routers on a link advertise the same flags and prefixes, no unknown RA source is listed, and a test host ends up with the intended address type, one default router and a DNS server.

Step 2 Failure isolation workflow Narrow the fault
  • Hosts on one VLAN are configured differently from each other. Two routers advertise different flags, or clients differ in what they support.
  • Hosts have two addresses in the same prefix. SLAAC and stateful DHCPv6 are both enabled.
  • No DNS over IPv6. The model in use provides none: plain SLAAC without the DNS option, or the other-config flag without a DHCPv6 server.
  • Traffic leaves through an unknown device. A rogue RA; find the source's MAC address with show ipv6 routers and trace it to a switch port.
  • Hosts keep using a router that has been taken out of service. Its router lifetime has not expired; have it send a final RA with lifetime 0, or wait.
  • Android devices have no IPv6 connectivity. The VLAN is DHCPv6-only.
  • Old addresses linger after renumbering. The old prefix was removed instead of being advertised with zero lifetime.
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

Pick one model per VLAN — the autonomous and managed flags together give hosts two addresses. All routers on a link must advertise the same flags and prefixes. Android needs SLAAC and DNS in the advertisement. Any device can send advertisements; RA Guard stops the unwanted ones.

Key checks
  • show ipv6 interface <interface> — what this router advertises.
  • show ipv6 routers — every other advertisement source on the links, with flags and prefixes.
  • On a host: its addresses, default route and DNS servers, checked separately.
ReferenceWhat it is1 section · depth on demand

Mechanics & mental model

How the hosts on a network obtain their IPv6 address, default router and DNS server is decided on the router, through the Router Advertisements it sends on each interface. This topic is about choosing those settings deliberately — per VLAN, and consistently across all routers on the same link.

ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

The defaults produce a working network for most hosts, but not necessarily the one intended: no DNS server over IPv6, addresses nobody can trace, or two routers giving conflicting instructions. And because any device on a VLAN can send Router Advertisements, an unmanaged one can redirect every host's traffic.

ReferenceHow it works1 section · depth on demand

How it works

Three common models.

ModelAddressDNSRouter configuration
SLAACFormed by the host from the advertised prefixFrom the RA's DNS optionDefault; add ipv6 nd ra dns server <address>
SLAAC with stateless DHCPv6Formed by the hostFrom DHCPv6ipv6 nd other-config-flag and a DHCPv6 server or relay
Stateful DHCPv6Assigned by DHCPv6From DHCPv6ipv6 nd managed-config-flag, ipv6 nd prefix <prefix> … no-autoconfig, and a DHCPv6 server or relay

Considerations when choosing:

  • Traceability. With SLAAC, hosts pick their own addresses and modern systems change them regularly. Stateful DHCPv6 gives a record of who had which address.
  • Client support. Android does not implement DHCPv6. A network that must serve it needs SLAAC, and DNS in the RA.
  • Mixing. Setting both the autonomous flag and the managed flag gives hosts two addresses. Decide on one model per VLAN.

Several routers on one link. All of them send RAs, and hosts combine what they hear. The flags and prefixes must therefore be identical on every router. To make one the preferred default router, use ipv6 nd router-preference high on it — or a first-hop redundancy protocol, so that hosts see one virtual router.

Links without hosts. On router-to-router links nobody needs RAs; ipv6 nd ra suppress all stops them.

Lifetimes. The router lifetime (1800 seconds by default) is how long hosts keep a router after its last RA; RAs are sent every 200 seconds. Shorter values make hosts abandon a failed router sooner at the cost of more traffic. To withdraw a prefix during renumbering, keep advertising it with a preferred lifetime of 0 until hosts have moved off it.

Unwanted RAs. A PC with connection sharing enabled, a misconfigured home router or an attacker can all announce themselves as default router. RA Guard on the access switches drops RAs arriving on ports where no router should be.

ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Designing a Router Advertisement policy

How hosts on a link get their addresses, gateway and DNS is decided by what the router puts in its RAs. RFC 4861 defines the controls: the M and O flags, the router lifetime (0 means "don't use me as a default router"), and per-prefix L and A flags with valid and preferred lifetimes. The policy needs to be deliberate. Hosts act on whatever they receive, and different operating systems combine RA and DHCPv6 information in slightly different ways.

Common policies

GoalRA settingsNotes
SLAAC with DNS in the RAA=1, M=0, O=0, RDNSS optionSimplest; supported by modern operating systems
SLAAC plus stateless DHCPv6 for DNSA=1, M=0, O=1Works with clients that lack RDNSS support
Stateful DHCPv6 addressesA=0, M=1, O=1Central address tracking; Android doesn't support DHCPv6 addresses
Router on a link that shouldn't be a gatewayRouter lifetime 0Still advertises prefixes or other settings
Suppress RAs on a transit or server linkipv6 nd ra suppress allStatic configuration only

Lifetimes and renumbering

LifetimeUse
Preferred lifetimeShorten it to steer hosts away from an old prefix (deprecate)
Valid lifetimeWhen the address disappears; hosts won't drop below 2 hours from an unauthenticated RA
Router lifetimeHow long hosts keep this router as a default gateway
R1(config)# interface Vlan110
R1(config-if)# ipv6 nd prefix 2001:db8:110::/64 2592000 604800
R1(config-if)# ipv6 nd other-config-flag
R1(config-if)# ipv6 nd ra dns server 2001:db8:20::53
R1(config-if)# ipv6 nd router-preference High
R1(config)# interface Vlan999
R1(config-if)# ipv6 nd ra suppress all
R1# show ipv6 interface Vlan110 | include Hosts|ND router|flag
R1# show running-config interface Vlan110 | include nd
host$ rdisc6 eth0 | grep -E "Stateful|Router lifetime|Prefix|Recursive DNS"

Redundancy

With two routers on a link, both can send RAs. Use router preference (High, Medium, Low) to say which one hosts should prefer. Alternatively, use an FHRP with a virtual link-local address, so the gateway address stays the same during failover.

Consistency checks

Make sure every router on a link advertises the same prefixes and flags. Conflicting M/O flags or prefixes from two routers lead to hosts configuring themselves differently.

Documented example, not captured output.

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 Network & Protocols → IPv6 Router Advertisement Policy. Documentation verification only; this is not observed lab or production Evidence.

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

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
router advertisement policyra flagsipv6 m o a l
Confirmation

Confirm action

Continue?