From owner-freebsd-questions@FreeBSD.ORG Tue Jan 27 20:42:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D3D316A4CE for ; Tue, 27 Jan 2004 20:42:42 -0800 (PST) Received: from smtp2.mts.net (smtp2.mts.net [205.200.16.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id A57F243D48 for ; Tue, 27 Jan 2004 20:42:40 -0800 (PST) (envelope-from gval@mts.net) Received: from [192.168.0.5] (wnpgmb01dc6-40-11.dynamic.mts.net [142.161.40.11])i0S4gcCX000312; Tue, 27 Jan 2004 22:42:39 -0600 (CST) From: greg To: Luke Kearney In-Reply-To: <20040128105152.F0F5.LUKEK@meibin.net> References: <20040128105152.F0F5.LUKEK@meibin.net> Content-Type: text/plain Message-Id: <1075264956.1941.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 27 Jan 2004 22:42:36 -0600 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Default route problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 04:42:42 -0000 On Tue, 2004-01-27 at 19:54, Luke Kearney wrote: > On Wed, 28 Jan 2004 12:54:08 +1100 > "Martin and Belinda Richardson" granted us these pearls of wisdom: > > > Hi everyone, > > I am having a problem with a gateway I am building for a friend. I have > > initially set the box up on my home network and have set this box to use my > > gateway temporarily while I fetch some ports etc. Now that I have removed it > > from my network, and edited /etc/rc.conf to set it up to act as a gateway, > > it STILL sets the default route to my old gateway. I cant find any config > > file that says "add default route" or anything. I have not set defaultroute > > in /etc/rc.conf, and it is set to "NO" in /etc/defaults/rc.conf! Set the default route in rc.conf. You should have a line that looks like: defaultrouter=W.X.Y.Z where W.X.Y.Z is your gateway. -- greg