From owner-freebsd-hackers Wed Nov 12 04:33:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA00766 for hackers-outgoing; Wed, 12 Nov 1997 04:33:08 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA00721; Wed, 12 Nov 1997 04:32:57 -0800 (PST) (envelope-from brian@awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.7/8.8.5) with ESMTP id MAA29463; Wed, 12 Nov 1997 12:31:20 GMT Message-Id: <199711121231.MAA29463@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: doconnor@ist.flinders.edu.au cc: freebsd-hackers@FreeBSD.org, eivind@FreeBSD.org Subject: Re: Dial on demand with dynamic IP In-reply-to: Your message of "Wed, 12 Nov 1997 21:45:43 +1030." <199711121115.VAA04516@holly.rd.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 12 Nov 1997 12:31:20 +0000 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk [cc'd to Eivind 'cos we were talking about this recently] > Hi, > I was wondering if it was possible to get dial on demand working with a > dynamic IP. I realise it would be difficult, and as far as I can tell you'd > _need_ IP aliasing, but how I envisage it working would be as follows. > > Run an app that sends a packet(telnet, mail.. whatever)0 > The PPP process dials up, and then gets the IP it's to use, and then aliases > the packet according to that IP. > Everything works like normal :) > > I think this would be possible with IJPPP but I'm not sure (you'd have to make > sure the aliasing happens at the right time - ie after any dialup event). > > Is it worth a try? Is anyone alreay doing it? :) This is only half the problem, but it would probably make things better for most sites. The ``other'' problem is when a process bind()s to an IP number that gets dynamically re-assigned. Perhaps the *real* answer is to never change the IP number of the interface, and to change all IP numbers that are the same as the one netogitated through IPCP to that of the interface. Hmmm, that would work wouldn't it ? > --------------- > Daniel O'Connor > 3rd Year Computer Science at Flinders University > http://www.geocities.com.au/CapeCanaveral/7200 > > > -- Brian , , Don't _EVER_ lose your sense of humour....