systemd/network: enable IPv6 Privacy Extensions and link-local stable-privacy
This commit is contained in:
parent
cbdfc0f46d
commit
30253761b3
|
@ -13,6 +13,8 @@ RequiredForOnline=no
|
||||||
# /24, /16, /8 are the the class C, B, A networks
|
# /24, /16, /8 are the the class C, B, A networks
|
||||||
Address=192.168.0.2/24
|
Address=192.168.0.2/24
|
||||||
Gateway=192.168.0.1
|
Gateway=192.168.0.1
|
||||||
|
IPv6PrivacyExtensions=true
|
||||||
|
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||||
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
# DNS has no effect unless systemd-resolved is used. Why would it be used?
|
||||||
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
# systemctl enable systemd-resolved && systemctl start systemd-resolved
|
||||||
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
# ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
|
||||||
|
|
|
@ -6,3 +6,7 @@ Name=wlan0
|
||||||
ActivationPolicy=always-up
|
ActivationPolicy=always-up
|
||||||
# Managed by iwd
|
# Managed by iwd
|
||||||
Unmanaged=true
|
Unmanaged=true
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
IPv6PrivacyExtensions=true
|
||||||
|
IPv6LinkLocalAddressGenerationMode=stable-privacy
|
||||||
|
|
Loading…
Reference in New Issue