From owner-freebsd-hackers Thu Nov 20 03:01:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA28736 for hackers-outgoing; Thu, 20 Nov 1997 03:01:58 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from db2server.voga.com.br (db2server.voga.com.br [200.239.39.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA28731 for ; Thu, 20 Nov 1997 03:01:51 -0800 (PST) (envelope-from Daniel_Sobral@voga.com.br) Received: from papagaio.voga.com.br (papagaio.voga.com.br [200.239.39.2]) by db2server.voga.com.br (8.8.3+2.6Wbeta9/8.8.7) with SMTP id IAA09842 for ; Thu, 20 Nov 1997 08:01:12 -0300 Received: by papagaio.voga.com.br(Lotus SMTP MTA v1.06 (346.7 3-18-1997)) id 03256555.003C88A3 ; Thu, 20 Nov 1997 08:01:11 -0300 X-Lotus-FromDomain: VOGA From: "Daniel Sobral" To: cmott@srv.net Message-ID: <03256555.003C32C5.01@papagaio.voga.com.br> Date: Thu, 20 Nov 1997 08:01:05 -0300 Subject: dial on demand with dynamic IP Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On successive dialups where different IPs are assigned, it is not possible > to maintain a continuous tcp connection from any computer on your network > - -- either the ppp host or any box which is being NAT'ed by ppp -alias. Well, that's not entirely correct. The PPP protocol let you negotiate an address. With ijPPP, for example, you can specify your address as x.y.z.w/0.0.0.0, and it will try to get you the x.y.z.w address, failing that accept anything. Now, you can do two things with that. You can change your PPP program so it will always try to get the last address it was using, or you can set up a fixed IP address for it to negotiate. Choose this address well and you will likely get it most of the time.