Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] gateway as director and accept_local



Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded

dennisml at conversis

Jul 17, 2012, 6:28 AM

Post #1 of 1 (425 views)
[lvs-users] gateway as director and accept_local

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

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?


Please read the documentation before posting - it's available at:

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

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.