From owner-freebsd-hackers Tue Nov 2 4:34:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from citadel.cequrux.com (citadel.cdsec.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id A719A14DFC for ; Tue, 2 Nov 1999 04:34:34 -0800 (PST) (envelope-from gram@cequrux.com) Received: (from nobody@localhost) by citadel.cequrux.com (8.9.3/8.9.3) id OAA00538 for ; Tue, 2 Nov 1999 14:34:23 +0200 (SAST) Received: by citadel.cequrux.com via recvmail id 471; Tue Nov 2 14:33:31 1999 From: Graham Wheeler To: hackers@freebsd.org Subject: Hiding dynamic IPs Date: Tue, 2 Nov 1999 14:09:42 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <99110214212100.22671@cequrux.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I have a program which requires static IP addresses for various reasons. It could be changed to handle dynamic IPs but this would be a fairly significant undertaking and would probably be quite kludgy, involving the generation of scripts that have to be run every time the link goes up and down, etc. Anyway, I want to use it now over a PPP link with dynamic address allocation. I'm trying to figure out a good way to do this. I reckon that it should be possible by using some kind of local tunnel that has a fixed IP on one end that the program can talk to, that will in turn talk to the PPP link. I tried creating an additional tun device and ifconfigging it with the two addresses, but it doesn't seem to work at all (if I ping either address I get no response, nor do I see any Ipkts or Opkts in the netstat -in output). Is there some other way of doing this? Ideally I want to avoid ipfw tricks, as ipfw is being used for other purposes on this host and I would like to keep the problems separate. TIA gram -- Dr Graham Wheeler E-mail: gram@cequrux.com Cequrux Technologies Phone: +27(21)423-6065/6/7 Firewalls/Virtual Private Networks Fax: +27(21)24-3656 Data/Network Security Specialists WWW: http://www.cequrux.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message