You are not logged in.
The wiki systemd-networkd states "If you are using IPv6 you might also want to set the IPv6PrivacyExtensions option as settings placed in /etc/sysctl.d/40-ipv6.conf are not honored."
So the question is, where can I configure the IPv6 privacy extensions with systemd-networkd if IPv6PrivacyExtensions=true is used ?
In other words, where can I put and change, e.g.
# sysctl.d/40-ipv6.conf
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.all.temp_prefered_lft = 86400
net.ipv6.conf.all.temp_valid_lft = 129600
Or are they hardcoded in systemd-networkd ?
Thanks very much!
Last edited by ua4000 (2016-05-09 18:15:49)
Offline
Maybe see 'man systemd.network'.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
IPv6PrivacyExtensions controls net.ipv6.conf.${interface}.use_tempaddr, but controls for temp_prefered_lft and temp_valid_lft are not provided by networkd. So leave the last two settings in sysctl.d and verify that networkd does not alter them when in brings up the interface.
Offline
Thanks for the clarification branch!
So sysctl.d settings are honored except for use_tempaddr, which is controlled by the IPv6PrivacyExtensions option in the .network file from systemd-networkd.
@R00KIE: neither is explained in the man or in the wiki
Have a nice day!
Offline