Mailing List Archive

[lvs-users] gateway as director and accept_local
Hi,
so with the CentOS 6.3 kernel the accept_local patch that was introduced
with 2.6.33 has now become available with the main distro kernel.

Has anyone experimented with setting up a gateway system that also acts as
a directly routed LVS system? Previously this wasn't possible because the
returning packets were classified as martians because they had a source IP
that was also configured on the local system which is considered bogus but
now when you set accept_local to 1 you can tell the system to accept such
packets.

I tried this yesterday and while the packets get no longer dropped when
doing a ping from a realserver with the VIP specified as source the moment
I actually set up the balancing on the director and make a request to the
VIP from a client machine the cpu usage in the gateway/director goes to 100%.

AFAICT it seems LVS does seem to get into a loop when the returning packet
arrives on the director. Does anyone have an idea what might be going on
here and how to fix it?

Regards,
Dennis

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

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