LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Multiple services with separated NIC's and subnets

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Multiple services with separated NIC's and subnets
From: Oriol Martí <omarti@xxxxxxxx>
Date: Fri, 29 Jan 2010 10:53:43 +0100
Hi León,

First of all thanks for your answer,

L.S. Keijser wrote:
> Hi,
>
> On Thu, 2010-01-28 at 15:57 +0100, Oriol Martí wrote:
>   
>> Hello,
>> I'm setting up a LVS with the Red Hat Cluster Suite, I have setted up 
>> for one public IP with NAT and with one private subnet. My problem 
>> arrives when I configure another public IP, because the private subnet 
>> and the NIC (private too) of this service has to be different from the 
>> last one.
>>
>> For the first public IP that I've configured, there is the parameter 
>> nat_router, that I've configured like 192.168.11.24 eth0:1, my idea is 
>> to configure this parameter with multiple IP's and NIC's. For example: 
>> [192.168.11.24 eth0:1, 192.168.12.24 eth1:1] but this is not possible.
>>
>> Somebody can help me?
>>     
>
> My guess is that people on this list might be able to help you, but
> unfortunately RHCS isn't well known with everybody. Also, i don't
> understand why you're using RHCS for something so basic, but okay. You
> could try the RedHat mailinglists (go for the 'piranha' list(s)) or set
> up the LVS another way. 
>   

Basically, I'm using the RHCS, because I use Centos in my production 
servers, and for me it's the easy way, and I have the LVS with two 
servers: the primary and the backup server(I need high-availability)

> Maybe you could first explain what you're trying to accomplish?
>
>   

I'm trying to do a LVS (NAT), with different NICs (one for all the 
public services, and one private for every service), because I need to 
have the traffic separated for every service in the private part. This 
is easy to do with the RHCS, but the unic problem is that I only can 
configure one gateway for the VirtualServer (the IP that you have to 
configure as the default gateway in the Real-Servers). Because that, 
there is only one real-server that I can configure the gateway, for the 
others I can't put this gateway because there are in another subnet and 
I can't confgiure a gateway from a different subnet.

It's easy to do that directly with LVS? How?

Best regards,


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>