default route desappear.

Paul Macdonald paul at ifdnrg.com
Wed Feb 2 16:33:00 UTC 2011


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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: paul at ifdnrg.com
w: http://www.ifdnrg.com
-------------------------
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-------------------------




More information about the freebsd-questions mailing list