[lvs-users] Load balancing outgoing traffic

Joseph Mack NA3T jmack at wm7d.net
Tue Feb 5 15:01:37 GMT 2008


On Tue, 5 Feb 2008, Greg wrote:

> 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 ...

nice ascii diagram :-)

Not sure what you're doing yet. I take it that your clients 
are out on the internet. Are the 1.1.2.x machines routers?
Why are you SNAT'ing on the outside of the director? Why do 
you want to fiddle with the routing of outgoing packets - 
are the routing tables not doing what you want?

Do you know about the -SH scheduler?

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!


Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list