LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multiple interfaces for virtual services

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Multiple interfaces for virtual services
From: "David Young" <david@xxxxxxxxxx>
Date: Thu, 15 Apr 2004 12:11:44 -0700
My mail should wrap automatically.  I don't know why my mail is not
wrapping.
I'll try and make my paragraphs short.
Let me make the scenario simpler.

Client 1 IP: 10.1.1.1
Client 2 IP: 192.168.0.1
LVS eth0: 10.1.1.254
LVS eth1: 192.168.0.254

LVS eth2: 10.10.10.254
Real Servers: 10.10.10.1

I want the real server to be available to both Client 1 and Client 2 via
LVS.

The question is: Can I set up a VIP, say eth0:1 10.1.1.2 using real server
10.10.10.1 and at the same time setup eth1:1 192.168.0.2 using the same
10.10.10.1 real server?
Will this cause a problem when I have a backup LVS and the services fail
over to the other network.

Basically, can I have 2 separate Virtual IPs referencing the same real
server?  The LVS documents don't really address this type of scenario.

Thanks for your help

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