service routing restart, service dhclient restart (was: Unreliability with DHCP)

From: Graham Perrin <grahamperrin_at_freebsd.org>
Date: Sun, 06 Aug 2023 16:23:55 UTC
Thanks,

On 06/08/2023 08:36, Oleksandr Kryvulia wrote:
> … In my case default route is assigned by dhclient, so 'service 
> routing restart' must be run quickly after 'service netif restart' - 
> before we receive dhcp offer. 

Is this documented and explained somewhere, or did you learn through 
trial and error?


> Another option is to run 'service dhclient restart wlan0' after 
> routing restart. …

Is there, similarly, a need to rush the two commands?

<https://reviews.freebsd.org/P602$27> no route;
<https://reviews.freebsd.org/P602$28-33> /etc/rc.d/dhclient: WARNING: 
failed to start dhclient