[4019] in linux-net channel archive
Re: Virtual web server
daemon@ATHENA.MIT.EDU (Patrick Main)
Thu Aug 15 17:31:59 1996
Date: Tue, 13 Aug 1996 19:47:38 -0300
To: longyear@netcom.com (Al Longyear)
From: Patrick Main <72254.3077@compuserve.com>
Cc: linux-net@vger.rutgers.edu
At 09:42 PM 8/11/96 -0700, you wrote:
>
>Using dummy device(s) will work for a small number.
>
Got a couple that dummy modules work up to dummy99
ie: can do dummy0 -> dummy99
>However, this customer wants to dedicate the entire class-C network to
>this one computer for web services. This is ONE computer and 255
>IP addresses -- all on one network -- all on one computer.
>
what about linux2.0.xx and IPalias <what is limit of aliases?>
>Routing is not a problem. We just make the system the gateway to the
>class-C network and the frames are delivered to this system as they
>would be for any router.
>
clip
>I need to have the destination IP address intact in order to do the
>virtual services in apache.
>
>Has anyone a better idea as to the solution which will work for this
>problem? I have tried several ideas. They all did not work -- short
>of doing a 255 dummy devices module and giving each one a specific
>entry from the IP network.
>
what about using two! ethernet cards. doing this on one machine and
using IPaccounting to count packets for some addresses
with the price of ethernet cards what they are these days seems a simple
solution. I have one card with a legal single IPaddress and the other
card is configured with many addressses. Apache works fine and routing
entries are nothing special. currently using this soution to handle
a class address divided between multiple client virtual www servers but
nothing prevents form placing a larger block of IPs on the device other
than dummy0-dummy99 limitationss. If IPalias handles 255 <6?> then that
would work fine for a class C <maybe?>
ps: thanks again for the virtual sendmail information you sent me. may
want to do a mini howto on this?