That's clever but I mean is this normal behavior with netif, have never seem this before in other *nix base systems. Thanks for the tip. I'll keep it on my belt now. Lisandro
On Wed, Feb 2, 2011 at 11:32 AM, Paul Macdonald <p...@ifdnrg.com> wrote: > On 02/02/2011 15:44, Lisandro Grullon wrote: > >> Dear list, >> I have been doing some remote work using ssh and BPF. From time to time I >> feel like restarting /etc/rc.d/netif using a static configuration and >> noticed that my default route gets delete even when I have everything se >> as >> static under /etc/rc.conf. The only way I can get my default route back is >> by restarting /etc/rc.d/routing which is uncomfortable besides doing the >> manual route add default xx.xx.xx.xx. Why is this behavior happening when >> rc.conf has the propoer setting for defaultrouter? Thank you ina dvance. >> Lisandro >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscr...@freebsd.org" >> > > I do /etc/rc.d/netif restart && /etc/rc.d/routing restart > > then you don't need to manually add the route again > > -- > ------------------------- > Paul Macdonald > IFDNRG Ltd > Web and video hosting > ------------------------- > t: 0131 5548070 > m: 07534206249 > e: p...@ifdnrg.com > w: http://www.ifdnrg.com > ------------------------- > IFDNRG > 40 Maritime Street > Edinburgh > EH6 6SA > ------------------------- > > > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"