[LARTC] Loadbalancing how to ? ? ? ?
Dariusz Dwornikowski
tdi at pozman.pl
Sat Jul 2 17:56:35 CEST 2005
> Iptables -t nat -A POSTROUTING -s 192.168.60.0/24 -j SNAT -to
> 10.0.1.2,10.0.2.2
>
>
this does some primitive lb i think :
man iptables says :
You can add several --to-source options. If you specify more
than one source address, either via an address range or multiple
--to-source options, a simple round-robin (one after another in
cycle) takes place between these adresses.
--
*Dariusz 'tdi' Dwornikowski | Gentoo | admin at pozman.pl |
*[JID]:tdi at gentoo.pl|[gg]:2266034|[IRC]:#gentoo-pl at freenode |
*[MAIL]:tdi at pozman.pl|[WWW]:www.tdi.pozman.pl |
*Serwery,administracja,webapps - www.ProAdmin.com.pl |
*Fingerprint:43E21CC46DAFD2F754E91547D59B39F56AAA4B5F |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.ds9a.nl/pipermail/lartc/attachments/20050702/3e0450f6/attachment.bin
More information about the LARTC
mailing list