Hi,
I have a FreeBSD server running 14.0. It's primary network interface receives public IP and default route via dhclient.
Sometimes after fiddling with static routes in fib 1 and adding these to rc.conf I need to run:
This however removes the default route from the ISP received via the DHCP.
If running
My problem with this is that it feels the wrong way of having to run
I have a FreeBSD server running 14.0. It's primary network interface receives public IP and default route via dhclient.
Sometimes after fiddling with static routes in fib 1 and adding these to rc.conf I need to run:
Code:
service netif restart
service routing restart
This however removes the default route from the ISP received via the DHCP.
If running
service netif restart
again re-runs dhclient and default route is received.My problem with this is that it feels the wrong way of having to run
service netif restart
twice -- what is the correct way of handling this?