From owner-freebsd-questions@FreeBSD.ORG Wed Feb 2 16:33:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A3DD106566B for ; Wed, 2 Feb 2011 16:33:00 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg29.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 1E6238FC18 for ; Wed, 2 Feb 2011 16:32:59 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg29.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p12GWvbL081981; Wed, 2 Feb 2011 16:32:58 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D498736.4080909@ifdnrg.com> Date: Wed, 02 Feb 2011 16:32:54 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Lisandro Grullon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: default route desappear. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Feb 2011 16:33:00 -0000 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 -------------------------