Prevent 169.254.x.x fallback when setting fix IP address (#84)

* Prevent 169.254.x.x fallback when setting fix IP address

To force the use of the IP we've chosen to be assigned to the interface, it's safer to disable the fallback to avoid problems down the line

* Prevent 169.254.x.x fallback when setting fix IP address

To force the use of the static IP address we've chosen to be assigned to the interface, it's safer to disable the fallback to avoid problems down the line
This commit is contained in:
Olivier Paroz
2026-03-06 20:47:47 +01:00
committed by GitHub
parent d148d95a19
commit eb8abcca7f

View File

@@ -59,7 +59,7 @@ network:
enp1s0f1np1: enp1s0f1np1:
dhcp4: no dhcp4: no
dhcp6: no # Explicitly disable DHCPv6 dhcp6: no # Explicitly disable DHCPv6
link-local: [ ipv4 ] # Restrict link-local addresses to IPv4 only link-local: [] # Restrict link-local addresses to static IPv4 only
mtu: 9000 mtu: 9000
addresses: [192.168.177.11/24] addresses: [192.168.177.11/24]
enP2p1s0f1np1: enP2p1s0f1np1:
@@ -77,7 +77,7 @@ network:
enp1s0f1np1: enp1s0f1np1:
dhcp4: no dhcp4: no
dhcp6: no # Explicitly disable DHCPv6 dhcp6: no # Explicitly disable DHCPv6
link-local: [ ipv4 ] # Restrict link-local addresses to IPv4 only link-local: [] # Restrict link-local addresses to static IPv4 only
mtu: 9000 mtu: 9000
addresses: [192.168.177.12/24] addresses: [192.168.177.12/24]
enP2p1s0f1np1: enP2p1s0f1np1: