[Linux-cluster] LVS-DR question
Greg Hellings
greg.hellings at harcourt.com
Mon Oct 27 20:33:33 UTC 2008
Thank you. That directly answers my question. BTW, I am doing the lo:0
trick with
net.ipv4.conf.lo.arp_ignore = 1
net.ipv4.conf.lo.arp_announce = 2
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2
And it works great.
--
Greg
On 10/27/08 11:06 AM, "Lon Hohberger" <lhh at redhat.com> wrote:
> 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
>
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster
More information about the Linux-cluster
mailing list