su 14. heinäk. 2024 klo 12.21 Martin-Éric Racine
(martin-eric.rac...@iki.fi) kirjoitti:
> Similarly, I have yet to hear any compelling reason for dropping all
> DHCP clients and ifupdown implementations from the default install and
> instead using networkd or for using netplan instead of ifupdown.

Just to check, I went back and purged ifupdown, then enabled networkd
on a test host. I used this simple configuration:

*****
[Match]
Name=en*

[Network]
DHCP=yes
IPv6PrivacyExtensions=yes
IPv6LinkLocalAddressGenerationMode=stable-privacy
*****

NOTE: my sysctl.conf includes the following:

# Generate IPv6 Stable Privacy addesses instead of EUI64
net.ipv6.conf.all.addr_gen_mode=3
net.ipv6.conf.default.addr_gen_mode=3
# Enable IPv6 Privacy. Prefer random over EUI64 derived.
net.ipv6.conf.all.use_tempaddr=2
net.ipv6.conf.default.use_tempaddr=2

What networkd gives me:

1) networkd insists on generating a second stable-privacy local-link,
in addition to the one produced by the kernel, because the
IPv6LinkLocalAddressGenerationMode key is set.
2) Despite this, the mngtmpaddr address still uses eui64.

I'm probably missing something that would be obvious to systemd gurus.
What exactly?

Martin-Éric

Reply via email to