Re: Loss of Network Adress is DHCP Server failed for some hours

On 02/10/2017 17:22, Olaf Hering wrote:
On Mon, Oct 02, Francesco Giudici wrote:

With that anyway you miss the option of having different
connections that could fallback if the "primary" one with dhcp

How is it a failure if the DHCP server disappears, perhaps right
after it provided a lease? Well, there is likely some blurb in the
RFCs about what must be done when the lease expired. Defaulting to
fail the interface from NM point of view is certainly undesired

Yeah, you can only manage it with the dhcp-timeout value.

A change in the default NetworkManager.conf can switch it off
for default connections leaving the feature there if needed: 


Sorry, my fault.
Here what I meant:
"It is possible to set a global default for ipv4.dhcp-timeout, see 'man
NetworkManager.conf' for the details. For example you could add the
following to /etc/NetworkManager/conf.d/10-persistent-dhcp.conf:


so that all ethernet connections with unset timeout
(ipv4.dhcp-timeout=0) inherit the new value."


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]