Date: Thu, 3 Feb 2011 07:21:59 -0500 From: Lisandro Grullon <grullonbb@gmail.com> To: Paul Macdonald <paul@ifdnrg.com> Cc: freebsd-questions@freebsd.org Subject: Re: default route desappear. Message-ID: <AANLkTi=nSuqMcC1%2BJ7RDW8ToxdzXm971YEAVZNihatEm@mail.gmail.com> In-Reply-To: <4D498736.4080909@ifdnrg.com> References: <AANLkTikfa%2BOYW=2GYcUCD6q=DXvj5owkXFJCyjTY47He@mail.gmail.com> <4D498736.4080909@ifdnrg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <paul@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-unsubscribe@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@ifdnrg.com > w: http://www.ifdnrg.com > ------------------------- > IFDNRG > 40 Maritime Street > Edinburgh > EH6 6SA > ------------------------- > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=nSuqMcC1%2BJ7RDW8ToxdzXm971YEAVZNihatEm>