| max_valid_lifetime |string | 90m | Upper limit for the valid lifetime for a prefix |
| ra_default |integer| 0 | Override default route - 0: default, 1: ignore no public address, 2: ignore all |
| ra_flags |list |other-config| List of RA flags to be advertised in RA messages [managed-config\|other-config\|home-agent\|none] |
-| ra_slaac |bool | 1 | Announce slaac for a prefix |
+| ra_slaac |bool | 1 | Advertise that prefixes (which are <= 64 bits long) on this interface can be used for SLAAC (the "A" flag in the PIO, RFC4861, §4.6.2) |
+| ra_advrouter |bool | 0 | Advertise the IPv6 address of this router in RA messages (the "R" flag in the PIO, RFC6275, §7.2) |
| ra_offlink |bool | 0 | Announce prefixes off-link |
| ra_preference |string | medium| Route(r) preference [medium\|high\|low] |
| ra_maxinterval |integer| 600 | Maximum time allowed between sending unsolicited RA |
| prefix_filter |string |`::/0` | Only advertise on-link prefixes within the provided IPv6 prefix; others are filtered out. [IPv6 prefix] |
| ntp |list |`<local address>`| NTP servers to announce accepts IPv4 and IPv6 |
| upstream |list | - | TBD |
-| ra_advrouter |bool | - | TBD |
[//]: # "dhcpv6_raw - string - not documented, may change when generic DHCPv4/DHCPv6 options are added"
if (iface->ra_slaac && addr->prefix <= 64)
p->nd_opt_pi_flags_reserved |= ND_OPT_PI_FLAG_AUTO;
if (iface->ra_advrouter)
+ // RFC6275, §7.2
p->nd_opt_pi_flags_reserved |= ND_OPT_PI_FLAG_RADDR;
if (i >= valid_addr_cnt || !preferred_lt) {
/*