LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Load balancing outgoing traffic

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Load balancing outgoing traffic
From: Greg <greg@xxxxxxxxxxxxx>
Date: Tue, 05 Feb 2008 15:44:38 +0100
Hi list,

I have to setup a linux server to load balance outgoing sources IPs :

server ----\                                     / 1.1.2.2 \
10.0.0.10   \                                   /  1.1.2.3  \
             >-- [ 10.0.0.1 --> LVS --> SNAT ] <   1.1.2.4   > Internet
            /                                   \  1.1.2.5  /
server ----/                                     \ 1.1.2.6 /
10.0.0.11 


I have googled some keywords like multipaths routing, and found that 
openbsd is doing this natively with pf... iptables is able to do that 
but on only one IP, and without round-robin VIPs ...

How to do that with LVS / iptables ?

-- 
Greg



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