Re: [lvs-users] load balancing queries to localhost:port?

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] load balancing queries to localhost:port?
From: Tomasz Chmielewski <mangoo@xxxxxxxx>
Date: Mon, 20 Sep 2010 11:13:02 +0200
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
> Yes, I think that is is confused because it comes from
> 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
> Alternatively you may have some luck using the dnat feature
> which will be introduced in 2.6.35.

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

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

<Prev in Thread] Current Thread [Next in Thread>