[1254] in linux-net channel archive
Info needed on use of dummy interface to give two IPs on one e
daemon@ATHENA.MIT.EDU (KRAFT, Steven D.)
Fri Oct 27 06:40:44 1995
From: "KRAFT, Steven D." <steven.kraft@Connects.Com>
To: "'linux-net@vger.rutgers.edu'" <linux-net@vger.rutgers.edu>
Date: Thu, 26 Oct 95 17:33:00 PDT
Hello,
I need additional info on using a dummy interface to allow a server to
have two separate addresses on one ethernet interface. The only mention
of the dummy interface I find in the HOWTO's relates to dialup use, to
let a local address be available even when the dialup link is down.
I have set up a Linux server (slackware 2.3, not my choice but that's not
the issue here...) to act as an HTTP proxy using the CERN httpd. It has
one ethernet interface, and it needs to be reachable both from the
Internet using its "real" Internic-registered IP address, and also
reachable from the internal 172.16.0.0 RFC1597 private network.
The private network number is assigned to the dummy interface. I
followed the guidelines I saw posted a couple of months ago. (I think it
was from Alan Cox, but I don't have the original email available just
now). I have not been successful in getting the Linux server to
recognize any traffic addressed to its private network address.
Any help would be appreciated. I can provide a listing of what has been
done so far if requested. Or if I should look at IP aliases instead, let
me know that as well.
thanks,
steve
p.s. I have considered using two separate NIC's plugged into the same
ethernet and putting one address on each card, but I would rather do it
in software.
--
Steven Kraft steven.kraft@connects.com