You are not logged in.
Hi,
I used systemd-networkd + systemd-resolved to setup my wired network, IPv4 via DHCP, IPv6 static (because it doesn't come with DHCP):
# nano /etc/systemd/network/en.network
[Match]
Name=en*
[Network]
DHCP=yes
IPv6PrivacyExtensions=true
Address=2a03:xxxx:xxxx:xxxx::1/64
Gateway=fe80::1
and (copied here from the wiki)
# /etc/sysctl.d/40-ipv6.conf
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
net.ipv6.conf.ens3.use_tempaddr = 2
When I now check with ip addr, I see only one IPv6 with scope global (and of course one with scope link).
I'm missing to find the two temp IPv6 addresses.
Thanks for all answers.
Last edited by ua4000 (2016-01-06 19:29:32)
Offline
IPv6 privacy extensions is a feature of SLAAC, which requires router advertisements to work. Since you statically assign an IPv6 address and it is the only global scope address for this interface, SLAAC is either not enabled in sysctl (net/ipv6/conf/en*/accept_ra) or no router advertisements are being sent.
The kernel will not generate temporary addresses for the /64 corresponding to a statically assigned address, which is what I assume you expect this configuration to do.
Offline
Hi, thank you for the clarification. I wasn't aware of the SLACC <> privacy-extensions interworking.
I will check the accept_ra, and if my provider supports it.
Thank you very much!
Offline