Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

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

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


omarti at cesca

Jan 28, 2010, 6:57 AM

Post #1 of 3 (843 views)
Permalink
[lvs-users] Multiple services with separated NIC's and subnets

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?

Thanks,

--

......................................................................
__
/ / Oriol Martí Bonvehí
C E / S / C A Administrador de Sistemes
/_/ Centre de Supercomputació de Catalunya

Gran Capità, 2-4 (Edifici Nexus) · 08034 Barcelona
T. 93 205 6464 (ext. 505) · F. 93 205 6979 · omarti [at] cesca
......................................................................


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

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


leon at linux

Jan 28, 2010, 8:35 AM

Post #2 of 3 (789 views)
Permalink
Re: [lvs-users] Multiple services with separated NIC's and subnets [In reply to]

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.

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

--
Léon


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

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


omarti at cesca

Jan 29, 2010, 1:53 AM

Post #3 of 3 (789 views)
Permalink
Re: [lvs-users] Multiple services with separated NIC's and subnets [In reply to]

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 [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.