Horms wrote:
>
> On Thu, Jan 25, 2001 at 05:20:48PM +0200, Sven Bedorf wrote:
> > Hi everyone,
> >
> > I am using LVS with NAT and redirect the http traffic to one real-server
> > (web server) I have got 4 official IP-Addresses (in the same subnet) from
> > ISP. Now I want to redirect the http traffic form another IP-Address to
> > another realserver. Do I need a second LinuxBox running LVS or is it
> > possible that LVS listens on 2 IP-Addresses (either using IP-Aliasing or
> > a third networkcard)?
>
> This should work fine with either an IP alias or an additional network
> card.
>
> > In my opinion I'll get problems with MASQ, because
> > because LVS doesn't know which IP-Address will be the source address when
> > sending back the request to the internet.
>
> The source address should work fine as it will be stored in a masq
> structure when the incomming packet arrives. Though I'll stand corrected
works here for VS-NAT with an extra network card on the outside of the director.
(I trust the theory, but I always like testing it.)
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|