Comment 8 for bug 1807569

Revision history for this message
XSpielinbox (xspielinbox) wrote :

I can still reproduce this issue with the newest Version of Netplan in Ubuntu 22.04 as well as Ubuntu 22.10.

If 'accept-ra: false' is set the systemd-networkd config contains 'IPv6AcceptRA=no'.
If 'accept-ra' is unset, the systemd-networkd config does not contain any 'IPv6AcceptRA' statement.
That is the only change I could find between these two options.

Independent of the config in systmed-networkd/Netplan 'sysctl net.ipv6.conf.<iface>.accept_ra' always returns 0. Also see LP#1862481 for that.

Also independent of the config in systmed-networkd/Netplan 'sysctl net.ipv6.conf.<iface>.autoconf' always returns 1. It is very unclear to me how setting 'accept-ra: false' in Netplan disables SLAAC, that is working when 'accept-ra' is unset or 'accept.ra: true' is set.

I agree, that this should not be the case. Additionally, I strongly suggest, that there is be a separate option to disable SLAAC, as I am currently unaware of any other method to disable SLAAC wouldn't it be for this very strange side effect of 'accept-ra'.