From: Dariusz Dwornikowski Date: Sat, 02 Jul 2005 15:56:35 +0000 Subject: Re: [LARTC] Loadbalancing how to ? ? ? ? Message-Id: <20050702175635.37d52c76@tdi.pozman.pl> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1952479419==" List-Id: References: <42c6b55a.2b2713fa.0308.ffffb3a1@mx.gmail.com> In-Reply-To: <42c6b55a.2b2713fa.0308.ffffb3a1@mx.gmail.com> To: lartc@vger.kernel.org --===============1952479419== Content-Type: multipart/signed; boundary=Signature_Sat__2_Jul_2005_17_56_35_+0200_h6J._VUQRRjA5Kcv; protocol="application/pgp-signature"; micalg=pgp-sha1 --Signature_Sat__2_Jul_2005_17_56_35_+0200_h6J._VUQRRjA5Kcv Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > Iptables -t nat -A POSTROUTING -s 192.168.60.0/24 -j SNAT -to > 10.0.1.2,10.0.2.2 >=20 > =20 this does some primitive lb i think : man iptables says :=20 You can add several --to-source options. If you specify more than one source address, either via an address range or multi= ple --to-source options, a simple round-robin (one after another = in cycle) takes place between these adresses. --=20 *Dariusz 'tdi' Dwornikowski | Gentoo | admin at pozman.pl | *[JID]:tdi@gentoo.pl|[gg]:2266034|[IRC]:#gentoo-pl@freenode | *[MAIL]:tdi@pozman.pl|[WWW]:www.tdi.pozman.pl |=20 *Serwery,administracja,webapps - www.ProAdmin.com.pl | *Fingerprint:43E21CC46DAFD2F754E91547D59B39F56AAA4B5F | --Signature_Sat__2_Jul_2005_17_56_35_+0200_h6J._VUQRRjA5Kcv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCxrk11Zs59WqqS18RAtf+AJ4t+5lhD7Z2PYlhJ7CXv3e4p3bjhQCgoVOL 7Y2dunye2/v+8pjYM/sFmCw= =6n92 -----END PGP SIGNATURE----- --Signature_Sat__2_Jul_2005_17_56_35_+0200_h6J._VUQRRjA5Kcv-- --===============1952479419== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1952479419==--