Strange /etc/rc.d/netif behaviour
John-Mark Gurney
gurney_j at resnet.uoregon.edu
Wed Feb 21 20:47:28 UTC 2007
Martin Turgeon wrote this message on Wed, Feb 21, 2007 at 11:55 -0500:
> I'm not sure if this is really a bug but it doesn't look all fine to me.
> When I do a /etc/rc.d/netif restart it does restart the network
> interfaces but doesn't replace the default route that it just erased
> even if it is specified in rc.conf correctly. I found that I should also
> restart routed but it looks strange to me. I know that the /etc/netstart
> script did it all but it's written in it that it's obsolete so I don't
> want to use it.
>
> So, is this normal and if so what is the best way to restart both a the
> same time.
Why don't you restart /etc/rc.d/routing too? That will repopulate the
default route(s) for you..
--
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-net
mailing list