06.08.23 19:23, Graham Perrin пише:
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?

It's my own expirience  + reading /etc/rc.d/routing



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

Is there, similarly, a need to rush the two commands?
I can't answer for sure, you need to try different options and choose the one that works. If you're using typical network configuration, you'll probably be fine with routing restart + dhclient restart only. This works for me in most cases until I configured lagg interface.

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




Reply via email to