RA M/O Flags
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.
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.
router RA → M/O/A flags → host chooses SLAAC/DHCPv6
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
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.
| Flag | Meaning in practice |
|---|---|
| M = 1 | Addresses are available from DHCPv6 (stateful); hosts start a DHCPv6 Solicit |
| O = 1 | Other configuration (DNS servers, domain) is available from DHCPv6; hosts send an Information-request |
| Both 0 | No 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:
| M | A | Result |
|---|---|---|
| 0 | 1 | SLAAC only |
| 1 | 0 | DHCPv6 addresses only |
| 1 | 1 | Hosts 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
| Platform | Typical behaviour |
|---|---|
| Windows | Follows M and O |
| macOS, iOS | Follow M and O; prefer RDNSS from the RA |
| Linux (NetworkManager, systemd-networkd) | Follow M and O by default |
| Android | No 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.
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:
| Flag | Meaning |
|---|---|
| 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
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%