[Linux-cluster] LVS-DR question

Lon Hohberger lhh at redhat.com
Mon Oct 27 18:06:42 UTC 2008


On Fri, 2008-10-24 at 15:41 -0700, Greg Hellings wrote:
> Does anyone know if the VIP in a LVS-DR config has to be on the same subnet
> as the RIP?  

If I understand the question....

Yes.  All realservers and the director's VIP need to be on the same
subnet.

I usually put the VIP on the realservers' public NICs and use
arptables_jf to prevent the VIPs from sending/receiving ARP requests for
the VIP.

One trick you can do lets you put the VIP on the realservers on lo:0,
but I've never done it.  Either way, the realservers' "real" IP needs to
be on the same subnet as the VIP.

-- Lon




More information about the Linux-cluster mailing list