LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: multiple lvs on single interface

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: multiple lvs on single interface
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Thu, 5 Jan 2006 05:12:42 -0800 (PST)
On Thu, 5 Jan 2006, Muneer wrote:

Hi all,

  I want to verify whether LVS supports multiple servers on a single
interface?

You can have any number of IPs on the NIC on the outside of the director. If this is what you're talking about, then yes.

Just like a sample configuration in given in rfc 2338(VRRP)
section 4.2?

don't recall this off the top of my head, but from what you're saying next, you have a link layer problem and not an IP problem. LVS is IP (admittedly with link layer to the realservers for LVS-DR).

I was trying to implement such a configuration in Linux. Problem here
is, there may be a situation when the router acts as master for both
the virtual routers. Here we have to forward packets whose link layer
(MAC) address is VRMAC1 or VRMAC2. But Linux IP is dropping the
packets since we don't have an interface with VRPMAC1 and VRMAC2. NIC
is receiving the packet and is passing it to ip.
I have enabled promiscous mode for the interface and
/proc/sys/net/ipv4/ip_forward is 1

Not sure what your setup is (not knowing rfc 2338 4.2). Is your problem that the director is not accepting the packets?

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml Homepage http://www.austintek.com/ It's GNU/Linux!

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