From owner-freebsd-net@FreeBSD.ORG Wed May 21 11:42:31 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2A1D37B401 for ; Wed, 21 May 2003 11:42:31 -0700 (PDT) Received: from pit.databus.com (p70-227.acedsl.com [66.114.70.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD6D643F93 for ; Wed, 21 May 2003 11:42:30 -0700 (PDT) (envelope-from barney@pit.databus.com) Received: from pit.databus.com (localhost [127.0.0.1]) by pit.databus.com (8.12.9/8.12.9) with ESMTP id h4LIgU9r054584; Wed, 21 May 2003 14:42:30 -0400 (EDT) (envelope-from barney@pit.databus.com) Received: (from barney@localhost) by pit.databus.com (8.12.9/8.12.9/Submit) id h4LIgTLG054437; Wed, 21 May 2003 14:42:29 -0400 (EDT) Date: Wed, 21 May 2003 14:42:29 -0400 From: Barney Wolff To: Naetius Message-ID: <20030521184229.GA11405@pit.databus.com> References: <20030521181451.5D40F43FAF@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030521181451.5D40F43FAF@mx1.FreeBSD.org> User-Agent: Mutt/1.4.1i X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: freebsd-net@freebsd.org Subject: Re: Problems w/ default gw && PPP+cb X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2003 18:42:32 -0000 On Wed, May 21, 2003 at 08:14:55PM +0200, Naetius wrote: > > it's long time I'm trying to solve a problem with a dialin PPP > server with callback; everything goes well, except for the > client that sets the default gateway with its own IP address > (192.168.0.4) instead of 192.168.0.99 (default router) or > 192.168.0.3 (dial in server's IP address with forwarding > enabled). What actually is the problem? That is, what can the client not do that you want done? Do packets actually flow from the client to your server? There is no way via the PPP protocol itself to set a default route. That has to be done on the client as an action when the link comes up. And since there's no ARP over PPP, the notion of ..0.99 as the default route makes no sense. -- Barney Wolff http://www.databus.com/bwresume.pdf I'm available by contract or FT, in the NYC metro area or via the 'Net.