networkd: Allow to retain configs even if carrier is lost

When there is bad link in the network the carrier goes up/down.
This makes networkd stops all the clients and drop config.
But if the remote router/dhcpserver running a prevention
of DHCP Starvation attack or DHCP Flood attack it does not allow
networkd to take a DHCP lease resulting failure in configuration.
This patch allows to keep the client running and keep the conf
also for this scenario.

Closes #9111
This commit is contained in:
Susant Sahani
2019-02-06 13:35:11 +01:00
committed by Yu Watanabe
parent 2b3943a02b
commit 93b4dab57e
5 changed files with 15 additions and 0 deletions
@@ -116,6 +116,7 @@ VLAN=
DHCPServer=
BindCarrier=
VRF=
IgnoreCarrierLoss=
[IPv6Prefix]
Prefix=
OnLink=