From owner-freebsd-hackers Wed Nov 12 04:26:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA00333 for hackers-outgoing; Wed, 12 Nov 1997 04:26:25 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from isgate.is (isgate.is [193.4.58.51]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA00322 for ; Wed, 12 Nov 1997 04:26:21 -0800 (PST) (envelope-from spammer@spam.org) Received: from didda.est.is (ppp-22.est.is [194.144.208.122]) by isgate.is (8.7.5-M/) with ESMTP id MAA16120; Wed, 12 Nov 1997 12:26:12 GMT Received: from didda.est.is (didda.est.is [192.168.255.1]) by didda.est.is (8.8.7/8.8.5) with SMTP id MAA06373; Wed, 12 Nov 1997 12:26:09 GMT Message-ID: <3469A061.41C67EA6@spam.org> Date: Wed, 12 Nov 1997 12:26:09 +0000 From: =?iso-8859-1?Q?=DEor=F0ur?= Ivarsson X-Mailer: Mozilla 3.01Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: doconnor@ist.flinders.edu.au CC: freebsd-hackers@FreeBSD.ORG Subject: Re: Dial on demand with dynamic IP References: <199711121115.VAA04516@holly.rd.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id EAA00326 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Daniel J. O'Connor wrote: > > 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? :) > > --------------- > Daniel O'Connor > 3rd Year Computer Science at Flinders University > http://www.geocities.com.au/CapeCanaveral/7200 I do run IIJPPP with dynamic IP and IP aliasing auto: set authname bla bla bla set authkey bla bla bla accept pap set ifaddr 194.144.208.200/24 194.144.208.34/24 add 0 255.255.255.255 194.144.208.34 # and start 'ppp -alias -auto auto' this works for me! You have to change the IP to something resonable for your end -- Þórður Ívarsson Thordur Ivarsson Rafeindavirki Electronic technician Norðurgötu 30 Nordurgotu 30 Box 309 Box 309 602 Akureyri 602 Akureyri Ísland Iceland --------------------------------------------- FreeBSD has good features, Some others are full of unwanted features! ---------------------------------------------