[pve-devel] [PATCH container] configure IPv6AcceptRA in systemd-networkd files

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Sep 25 09:27:00 CEST 2018


On 9/25/18 9:11 AM, Thomas Lamprecht wrote:
> On 9/13/18 9:53 AM, Wolfgang Bumiller wrote:
>> [...]
> 
> In general OK, this may change things for existing CT - if I understand correctly:
> 
>> Enable or disable IPv6 Router Advertisement (RA) reception support for
>> the interface. Takes a boolean parameter. If true, RAs are accepted; if
>> false, RAs are ignored, independently of the local forwarding state.
>> When _not set_, the _kernel default is used_, and RAs are _accepted only
>> when local forwarding is disabled for that interface_. When RAs are
>> accepted, they may trigger the start of the DHCPv6 client if the
>> relevant flags are set in the RA data, or if no routers are found on the
>> link.
> -- man systemd.network (emphasis added)
> 
> also looking at 'man 5 interfaces' it seems that distros using Debian like
> networking may need this too, if auto is set they have RA enabled by default,
> but only on non-forwarding interfaces. So same status as with systemd.network
> before your patch, I guess.

sorry, I misread, auto explicitly sets allowed even on forwarding interfaces...
In the 'dhcp' cases it's enabled if not forwarding and 'static' disables it
by default,

> 
> The side effects from your patch, i.e., explicitly disabling it where it
> may not have been disabled before, may only be an issue if a CTs network
> configuration is wrong, in the sense that something else then the wanted
> behaviour was setup. So I'm OK with that.
> 
> Should we do this on Debian-like CTs too? The explicit disabling?
> 




More information about the pve-devel mailing list