Re: dhcpcd 7.0.5 not noticing downed interfaces?
Roy Marples
Sun Jun 17 17:50:49 2018
On 15/06/2018 23:07, Jason A. Donenfeld wrote:
On Fri, Jun 15, 2018 at 10:17 AM Roy Marples <roy@xxxxxxxxxxxx> wrote:
On NetBSD, IP addresses don't send on the wire when carrier goes down
and validate themselves (ARP, ND, etc) when the carrier comes back.
Thanks to the kernel doing this, dhcpcd does not need to remove the
addresses (and thus routes) when the carrier goes down.
This means that client side applications don't behave a LOT better if
the carrier flips a bit - like say on a wireless network.
Oh, that's neat. How does this work with resolvconf though? I'm
guessing you still have to listen to events for calling -a and -d?
Yes, that's correct, resolvconf -d is still called on carrier down.
This is fine, because the client side applications cannot start any new
connections. This is to preserve existing ones, such as IRC channels,
SSH sessions, etc.
Roy
Archive administrator: postmaster@marples.name