From: "Nataniel Klug" Date: Wed, 19 Oct 2005 14:57:58 +0000 Subject: Re: [LARTC] Load balance (two links in one server): why is this Message-Id: <001401c5d4bd$7e3ea7b0$57001eac@NATANIEL> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0555043263==" List-Id: References: <000a01c5d4aa$6ec68540$57001eac@NATANIEL> In-Reply-To: <000a01c5d4aa$6ec68540$57001eac@NATANIEL> To: lartc@vger.kernel.org This is a multi-part message in MIME format. --===============0555043263== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0011_01C5D4AC.BAA77FD0" This is a multi-part message in MIME format. ------=_NextPart_000_0011_01C5D4AC.BAA77FD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Marek, I made a test to route some kind of trafic throu one link and other kind = throu other using L7-Filter compiled into kernel and iptables. It worked properly. So now I will put P2P and messenger trafic throu one = link and all other trafic thou other link. Thanks. Att, Nataniel Klug ----- Original Message -----=20 From: Marek Kierdelewicz=20 To: lartc@mailman.ds9a.nl=20 Sent: Wednesday, October 19, 2005 11:51 AM Subject: Re: [LARTC] Load balance (two links in one server): why is = this notworking? > Hello, Hi there. >=20 > I am trying to make a load balance at my box using two > conections. I have compile my kernel with this patch > routes-2.6.13-12.diff (tha I get from this website: > http://www.linuxvirtualserver.org/~julian/#routes). > .... I've tried to implement similar setup some time ago. The problem was that there was no way to assure that active connection won't be routed throu different gateways (route cache entries timeout...). I've failed to overcome this problem with a help of route patches. I was able to balance traffic over few connections with connmark+nth iptables patches. Think of it as an alternative if route patches won't work as advertised. Marek Kierdelewicz KoBa ISP _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc ------=_NextPart_000_0011_01C5D4AC.BAA77FD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Marek,
 
I made a test to route some kind of trafic throu one = link and=20 other kind throu other using L7-Filter compiled into kernel and=20 iptables.
 
It worked properly. So now I will put P2P and = messenger trafic=20 throu one link and all other trafic thou other link.
 
Thanks.
 
Att,
 
Nataniel Klug
----- Original Message -----
From:=20 Marek = Kierdelewicz=20
To: lartc@mailman.ds9a.nl
Sent: Wednesday, October 19, = 2005 11:51=20 AM
Subject: Re: [LARTC] Load = balance (two=20 links in one server): why is this notworking?

>     Hello,

Hi=20 there.

>
>     I am trying to = make a load=20 balance at my box using two
>     = conections. I have=20 compile my kernel with this patch
>    =20 routes-2.6.13-12.diff (tha I get from this=20 website:
>     http://www.lin= uxvirtualserver.org/~julian/#routes).
>    = =20 ....

I've tried to implement similar setup some time ago. The = problem=20 was
that there was no way to assure that active connection won't be = routed
throu different gateways (route cache entries timeout...). = I've=20 failed
to overcome this problem with a help of route = patches.

I was=20 able to balance traffic over few connections with = connmark+nth
iptables=20 patches. Think of it as an alternative if route patches won't
work = as=20 advertised.


Marek Kierdelewicz
KoBa=20 ISP
_______________________________________________
LARTC = mailing=20 list
LARTC@mailman.ds9a.nl
http://mai= lman.ds9a.nl/cgi-bin/mailman/listinfo/lartc ------=_NextPart_000_0011_01C5D4AC.BAA77FD0-- --===============0555043263== 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 --===============0555043263==--