Re: Loadbalancing how to ? ? ? ?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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@xxxxxxxxx|[gg]:2266034|[IRC]:#gentoo-pl@freenode   |
*[MAIL]:tdi@xxxxxxxxx|[WWW]:www.tdi.pozman.pl                 | 
*Serwery,administracja,webapps - www.ProAdmin.com.pl          |
*Fingerprint:43E21CC46DAFD2F754E91547D59B39F56AAA4B5F         |

Attachment: pgpxYQjIDY01B.pgp
Description: PGP signature

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux