LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs-nat on WAN and...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: lvs-nat on WAN and...
From: Roberto Nibali <ratz@xxxxxx>
Date: Fri, 14 Sep 2001 11:29:44 +0200
Hi,

> I want to have several RSs in different networks, but with one Director for 
> them.

This is a routing issue. If you get your routing tables set correctly,
noone is going to stop you from doing this :).

There are IMO two approaches you can take:

o Put a NIC into your director for every network and setup LVS
  with the appropriate commands.
o Set an 'alias' or better add multiple IP's to the interface and
  set the routes for those networks accordingly with the 'src' 
  selector from iproute2.

The first one will cost you money for the NIC's and the second one
will eventually cost you some time (=money) getting the routing 
straight. I personally would go for the second one. But you have to 
be more concrete about your desired network topology if you need more 
advice.
 
> I mean something like this:
> 
> Dir    Dir    Dir
>   |       |      |
>   ---------------
>           |
>   ---------------
>   |       |      |
> RS   RS   RS
> 
> Two or three Dirs working with the same RSs.

I don't understand, sorry. Can you please explain a little bit more?
Where do you think should the traffic flow? What is the goal of the
multiple load balancers? Do the directors have different IP's? Where
do you think the NAT should take place in your setup? Honestly, with
the current information you give us, I have to admit that I think it
will not work. Show us more. Do a 'ip posko brain flush table LVS'!

> ???

Forget it, I was browsing with the QNX browser and I experienced problems
with the CSS and javascript 1.2 stuff. Don't worry, it was a stupid comment 
of mine :)

Best regards, 
Roberto Nibali, ratz [potrhly idealista]

-- 
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc


<Prev in Thread] Current Thread [Next in Thread>