From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Samad Date: Mon, 22 Jan 2007 12:41:54 +0000 Subject: Re: [LARTC] LoadBalancing on many asimetric different dsl's. Message-Id: <20070122124154.GH3981@samad.com.au> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0858935872==" List-Id: References: <20070122084928.10D7721C893@poczta.interia.pl> In-Reply-To: <20070122084928.10D7721C893@poczta.interia.pl> To: lartc@vger.kernel.org --===============0858935872== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3ecMC0kzqsE2ddMN" Content-Disposition: inline --3ecMC0kzqsE2ddMN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 22, 2007 at 01:21:32PM +0100, Jordi Segues wrote: > >the above is actually covered in the wiki howto. Bu tyou need to setup= =20 > >snat on > >each interface, then connection tracking takes care of sending each stre= am=20 > >out > >the right interface, you need to use snat and not MASQ. >=20 > Great news :) > And thankyou for the details. > But could you give the link to the wiki howto? > I only found old doc. been a while since i had a look, quick google gave me this http://lartc.org/howto/lartc.rpdb.multiple-links.html I have this booked market as the wiki http://linux-net.osdl.org/index.php/Main_Page But I think the former is what you want >=20 > Thanks! >=20 > > > >Then you need to setup up some ip rule tables for each of the interfaces. > > > > > >my ip ru looks like this > > > >0: from all lookup local > >200: from 144.132.145.38 lookup cable > >201: from 60.241.248.86 lookup adsl > >32766: from all lookup main > >32767: from all lookup default > > > > > >my ip r sh tab default > > > >default proto static metric 5 > > nexthop via 144.132.144.1 dev vlan2 weight 1 > > nexthop via 10.20.20.230 dev ppp0 weight 20 > >default via 10.20.20.230 dev ppp0 src 60.241.248.86 metric 20 > >default via 144.132.144.1 dev vlan2 src 144.132.145.38 metric 30 > > > > > >This works fine for me, I have tracked packets with tcpdump on both the= =20 > >server > >and the client. > > > >Alex > > > > > > > >> > >> Thanks! > >> > >> Jordi Segues > >> > >> On 22 Jan 2007 09:49:28 +0100, sAwAr wrote: > >> >Hi, > >> > > >> >my company have just bought new network and I have question about one > >> >problem. > >> >As in topic we must use few completely different dsl's and balance=20 > >traffic > >> >between them. > >> >2M/0,5M 4Mb/0,5M 8M/0,5M > >> >M=3DMb/s > >> >I've never done such thing before so I have doubts how it will work. = If > >> >the links are symmetric 2/2 4/4 8/8 there is no problem because with > >> >weights I can compensate the difference between them and achieve nice > >> >results. But what in my situation? > >> >My questions are: how to set load balancing to get all links equally > >> >loaded and avoid situation when the up load will be full and download > >> >almost empty? I believe this situation can happen due to fact that lo= ad > >> >balancing is based on flows and for example p2p or smpt/pop3 will eat > >> >whole upload. > >> >If my problem isn't clear I'll try to explain it better later. > >> > > >> > > >> >Thanks in advance. > >> >Pozdrawiam > >> >sawar > >> > > >> >---------------------------------------------------------------------- > >> >Wolne adresy pocztowe @interia.eu >>> http://link.interia.pl/f19e8 > >> > > >> >_______________________________________________ > >> >LARTC mailing list > >> >LARTC@mailman.ds9a.nl > >> >http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > >> > > >> > >> > >> -- > >> Jordi Segu=E9s Daina > >> ------------------------------------------------------- > >> Andorra GSM: (+376) 35 35 68 > >> France GSM: (+33) (0)6 81 88 35 55 > >> E-m@il / MSN: jordisd@gmail.com > >> AIM: superjordix > >> Skype: callto://superjordix > >> ------------------------------------------------------- > >> http://www.JordiX.com > >> _______________________________________________ > >> LARTC mailing list > >> LARTC@mailman.ds9a.nl > >> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > >> > > > > > >-----BEGIN PGP SIGNATURE----- > >Version: GnuPG v1.4.6 (GNU/Linux) > > > >iD8DBQFFtJ1/kZz88chpJ2MRAhGKAJ9xthAZnQ/ovr82sa/x5j4BFJGgWwCgvtWa > >dS7qseaia3GnZK/n8szE98Y=3D > >=3DzLpL > >-----END PGP SIGNATURE----- > > > > > >_______________________________________________ > >LARTC mailing list > >LARTC@mailman.ds9a.nl > >http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > > > > > >=20 >=20 > --=20 > Jordi Segu=E9s Daina > ------------------------------------------------------- > Andorra GSM: (+376) 35 35 68 > France GSM: (+33) (0)6 81 88 35 55 > E-m@il / MSN: jordisd@gmail.com > AIM: superjordix > Skype: callto://superjordix > ------------------------------------------------------- > http://www.JordiX.com > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc >=20 --3ecMC0kzqsE2ddMN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFFtLESkZz88chpJ2MRAqW1AKDRE+6Pn5riLwcFLTmZEn644Fm0/ACg9oIA ZaFeZLWbNSV+Qeu9AAWHofY= =74Rc -----END PGP SIGNATURE----- --3ecMC0kzqsE2ddMN-- --===============0858935872== 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 --===============0858935872==--