From owner-freebsd-questions@FreeBSD.ORG Thu Feb 3 12:22: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 E222F1065670 for ; Thu, 3 Feb 2011 12:22:00 +0000 (UTC) (envelope-from grullonbb@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8424C8FC12 for ; Thu, 3 Feb 2011 12:22:00 +0000 (UTC) Received: by vws9 with SMTP id 9so580822vws.13 for ; Thu, 03 Feb 2011 04:21:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xIW/u4fQn5dlcIFjdzkM+NyfZgRtWSezh6FdHp0Bnkg=; b=LGjgPLJPXM03AizdzoLpxLtTzmeD4RL3krgLWaNYyXMjWwGzx8yrP1/aoZBkYoxbxG q9BWt/wOp+/9isoYVZTDYULlACJiHfc+QI8UQOINXE/NBGgRdJF03Y5qONOn26H2Nuiq 712zA7SaOU6uFHJn7FFQLR7v3hc1tu9TKmUCo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HnL9+7j78QUpqEpnY3fp1D9HqeFicg3iwI99NpRgoDBudICuJuV2fCdSNLCqep4BPO 3Y3gRf4mXtyyXh0gEvcV6vP0zT92XhXQOn0ZO4WZk/MCeWwbse+KkLtYEJaws/4W1xVR +MenFlrBpXeYMpULa3rvJm4lpHDnY2T5hwxFU= MIME-Version: 1.0 Received: by 10.220.175.134 with SMTP id ba6mr2703424vcb.86.1296735719743; Thu, 03 Feb 2011 04:21:59 -0800 (PST) Received: by 10.220.183.9 with HTTP; Thu, 3 Feb 2011 04:21:59 -0800 (PST) In-Reply-To: <4D498736.4080909@ifdnrg.com> References: <4D498736.4080909@ifdnrg.com> Date: Thu, 3 Feb 2011 07:21:59 -0500 Message-ID: From: Lisandro Grullon To: Paul Macdonald Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Thu, 03 Feb 2011 12:22:01 -0000 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 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 > ------------------------- > > >