Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

RA M/O Flags

Direct answer

The M (managed) flag in a Router Advertisement tells hosts to get addresses from DHCPv6, and the O (other) flag to get only other settings such as DNS; the default gateway always comes from the RA itself.

When to use this

Use it when hosts use SLAAC instead of DHCPv6 (or the reverse), or get no DNS servers.

First 30 seconds

1. RA M flag = use DHCPv6 for addresses; O flag = use DHCPv6 for other info (DNS).

2. Hosts may interpret flags differently.

3. A flag (prefix info) controls SLAAC.

4. Android doesn't support stateful DHCPv6.

5. Set flags deliberately.

Operational verification

router RA → M/O/A flags → host chooses SLAAC/DHCPv6

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 · IOS/IOS XE
Scope / prerequisiteUse it when hosts use SLAAC instead of DHCPv6 (or the reverse), or get no DNS servers.
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.

3 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 Checking flags on the wire Verify boundary

Capture RAs (icmpv6.type == 134 in Wireshark) and read Managed address configuration and Other configuration flags, plus the A and L flags per prefix. On Linux: rdisc6 eth0 shows received RA contents.

Step 2 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.

Step 3 Common mistakes Narrow the fault
  • M flag set without a DHCPv6 server, leaving hosts without addresses.
  • A flag cleared, so SLAAC-only clients (Android) get no address.
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> — hosts use stateless autoconfig / DHCP for addresses
  • show running-config interface <interface> — ipv6 nd managed-config-flag / other-config-flag
ReferenceWhat it is1 section · depth on demand

Router configuration

interface Vlan10
 ipv6 nd managed-config-flag      ! M = 1: get addresses from DHCPv6
 ipv6 nd other-config-flag        ! O = 1: get options from DHCPv6
 ipv6 nd prefix 2001:db8:10::/64 no-autoconfig   ! A = 0 if only DHCPv6 addresses

Documented example, not captured output. Clients interpret the flags differently (Android ignores M). show ipv6 interface vlan 10 shows the flags being sent.

ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

The M and O flags in router advertisements

The RA header carries two flags that tell hosts whether to use DHCPv6. RFC 4861 defines them as the managed address configuration flag (M) and the other configuration flag (O). RFC 4862 deliberately doesn't define how hosts must react to them, but notes that this doesn't mean the flags are deprecated.

FlagMeaning in practice
M = 1Addresses are available from DHCPv6 (stateful); hosts start a DHCPv6 Solicit
O = 1Other configuration (DNS servers, domain) is available from DHCPv6; hosts send an Information-request
Both 0No DHCPv6; SLAAC and RA options only

M=1 implies O: a stateful DHCPv6 exchange also returns the other options.

The A flag is separate

The A (autonomous) flag is per prefix, in the Prefix Information option. It controls SLAAC independently of M:

MAResult
01SLAAC only
10DHCPv6 addresses only
11Hosts may have both SLAAC and DHCPv6 addresses
R1(config)# interface Vlan20
R1(config-if)# ipv6 nd managed-config-flag
R1(config-if)# ipv6 nd prefix 2001:db8:20::/64 no-autoconfig
R1(config-if)# ipv6 dhcp relay destination 2001:db8:50::547
R1# show ipv6 interface Vlan20 | include Hosts|DHCP
  Hosts use DHCP to obtain routable addresses.
  Hosts use DHCP to obtain other configuration.
host$ rdisc6 eth0 | grep -i stateful
Stateful address conf.    :          Yes
Stateful other conf.      :          Yes

Host behaviour varies

PlatformTypical behaviour
WindowsFollows M and O
macOS, iOSFollow M and O; prefer RDNSS from the RA
Linux (NetworkManager, systemd-networkd)Follow M and O by default
AndroidNo stateful DHCPv6; uses SLAAC and RDNSS

Practice

Choose one model per VLAN and document it. Changing flags affects hosts at their next RA; already-configured addresses stay until their lifetimes expire.

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.

Quick reference

Router Advertisement flags are the switches that steer IPv6 host behaviour. Because hosts react to every RA they receive, the flags on the gateway interface effectively define the addressing policy for the whole subnet: a wrong flag can make hosts ignore your DHCPv6 server or create addresses you did not plan for. Check the flags first whenever IPv6 clients have unexpected addresses or no DNS settings.

Router Advertisement flags:

FlagMeaning
M (Managed)Use DHCPv6 for addresses
O (Other)Use DHCPv6 for other info (DNS, domain)
A (in prefix info)Autonomous: hosts may use SLAAC for this prefix
L (in prefix info)On-link prefix
interface Vlan20
 ipv6 address 2001:db8:10:20::1/64
 ipv6 nd managed-config-flag           ! M=1
 ipv6 nd other-config-flag             ! O=1
 ipv6 nd prefix 2001:db8:10:20::/64 no-autoconfig   ! A=0
show ipv6 interface Vlan20 | include managed|other|advertis
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 → RA M/O Flags. 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?