systemd/network: enable IPv6 Privacy Extensions and link-local stable-privacy

This commit is contained in:
Aminda Suomalainen 2023-06-25 14:13:00 +03:00
parent cbdfc0f46d
commit 30253761b3
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,8 @@ RequiredForOnline=no
# /24, /16, /8 are the the class C, B, A networks
Address=192.168.0.2/24
Gateway=192.168.0.1
IPv6PrivacyExtensions=true
IPv6LinkLocalAddressGenerationMode=stable-privacy
# DNS has no effect unless systemd-resolved is used. Why would it be used?
# systemctl enable systemd-resolved && systemctl start systemd-resolved
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf

View File

@ -6,3 +6,7 @@ Name=wlan0
ActivationPolicy=always-up
# Managed by iwd
Unmanaged=true
[Network]
IPv6PrivacyExtensions=true
IPv6LinkLocalAddressGenerationMode=stable-privacy