On 20.09.2010 07:49, Simon Horman wrote: >> But I guess it's confused about what to do with it, since it appears to come >> from 127.0.0.1. > > Yes, I think that is is confused because it comes from 127.0.0.1. > > You need to make sure that the source address of that the client > (application) uses is one that the real-server can route to. > Typically the primary IP address on eth0. > > If you can't set the application up to use a different source address > directly, then you may be better off to use a 10.0.0.x address as > the VIP (instead of 127.0.0.1). > > Alternatively you may have some luck using the dnat feature > which will be introduced in 2.6.35. > http://www.spinics.net/lists/netdev/msg135919.html
Thanks for the tips. I decided to use HAProxy just for this service (since it's not performance-critical), and LVS for everything else. -- Tomasz Chmielewski http://wpkg.org _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - [email protected] Send requests to [email protected] or go to http://lists.graemef.net/mailman/listinfo/lvs-users
