LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Load balancing outgoing traffic

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Load balancing outgoing traffic
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Tue, 05 Feb 2008 17:00:04 +0000
On Tue, 2008-02-05 at 16:45 +0100, Greg wrote:
> I want to do the staff that LVS do :
> internet client ---> LB server with LVS ---> round-robin internal server 
> NATed
> 
> but in reverse order :
> 
> internal server ---> LB server with round-robin SNAT ip ---> internet server

I think the short answer is: you can't. At least, not with LVS. LVS
requires a defined set of target servers; you're talking about target
*routes*.

You probably can do this with netfilter/iptables and advanced routing
using iproute2, but it's outside the scope of this mailing list.

Graeme



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