From owner-freebsd-questions@FreeBSD.ORG Tue Oct 19 06:28:17 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 749C216A4CE for ; Tue, 19 Oct 2004 06:28:17 +0000 (GMT) Received: from kyoto.meibin.net (kyoto.meibin.net [211.18.246.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id D45BB43D53 for ; Tue, 19 Oct 2004 06:28:15 +0000 (GMT) (envelope-from lukek@meibin.net) Received: (qmail 57272 invoked by uid 89); 19 Oct 2004 06:28:21 -0000 Received: from unknown (HELO ?192.168.10.8?) (192.168.10.8) by kyoto.meibin.net with SMTP; 19 Oct 2004 06:28:21 -0000 Date: Tue, 19 Oct 2004 15:27:25 +0900 From: Luke Kearney To: FreeBSD Questions In-Reply-To: <200410182324.04285.mapsware@prodigy.net.mx> References: <200410182324.04285.mapsware@prodigy.net.mx> Message-Id: <20041019152521.952E.LUKEK@meibin.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.07.01 cc: Ming Zhang Subject: Re: Default router in a PPP conection was: [Re:] 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: Tue, 19 Oct 2004 06:28:17 -0000 On Mon, 18 Oct 2004 23:24:04 -0700 Martin Paredes spake thus: > On Saturday 16 October 2004 08:29, Ming Zhang wrote: > > I want to know how to set the Default Gateway to be the pppoe server's ip. > > Or it's impossible? > > add default HISADDR Another way to do this if for some reason you can't set the default GW using this syntax is to insert a little script in rc.local that sets the default gateway to tun0. This worked well for me. HTH LukeK -- Luke Kearney