From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Nicol=E1s_Victorero_Mier?= Date: Sat, 03 Jul 2004 14:41:47 +0000 Subject: [LARTC] Setup balancing a cable modem and an ADSL Message-Id: <002701c4610b$e03e72a0$0a00a8c0@pain> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0024_01C4611C.A1A12E50" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0024_01C4611C.A1A12E50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello,=20 I've setup a box, to balance traffic beetween a cable modem and an adsl, = i've installed fedora core 2 in the box, then downloaded kernel 2.6.7, = applied Julian Anastov parches for version 2.6.7, and then when i tried = to compile the kernel i got and error about variable rt not declared, so = i check the patch and saw one of the thing it changes is getting rid of = line 84 of ipt_MASQUERADE.c ( struct rtable *rt; ), so i added the line = back, and the kernel compiled ok. Now i can have the hosts in my internal network being forwarded through = both lines and all seems to work properly, but after some hours, it = stops working and i cannot have packets forwarded by any of the lines, = the linux box still can reach internet through both interfaces. I wonder = if it's caused by my changes to ipt_MASQUERADE.c. By the way my ultimate goal is too use both lines from 1 p2p host, but = it seems not to work like that. I guess, all the p2p clients comes to my = p2p box through line 1 (that has a inbound port forwarded to the p2p = host), and so all the packets to that p2p clients goes through line 1 = from then 2, while line 2 is virtually useless, i've checked with ntop, = and line 1 bandwith usage is 20+times that of line 2. Nico ------=_NextPart_000_0024_01C4611C.A1A12E50 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello,
I've setup a box, to balance traffic = beetween a=20 cable modem and an adsl, i've installed fedora core 2 in the = box, then=20 downloaded kernel 2.6.7, applied Julian Anastov parches for version = 2.6.7, and=20 then when i tried to compile the kernel i got and error about variable = rt not=20 declared, so i check the patch and saw one of the thing it changes is = getting=20 rid of line 84 of ipt_MASQUERADE.c ( struct rtable *rt; ), so i added = the line=20 back, and the kernel compiled ok.
 
Now i can have the hosts in my internal = network=20 being forwarded through both lines and all seems to work properly, but = after=20 some hours, it stops working and i cannot have packets forwarded by any = of the=20 lines, the linux box still can reach internet through both interfaces. I = wonder=20 if it's caused by my changes to ipt_MASQUERADE.c.
 
By the way my ultimate goal is too use = both lines=20 from 1 p2p host, but it seems not to work like that. I guess, all the = p2p=20 clients comes to my p2p box through line 1 (that has a inbound port = forwarded to=20 the p2p host), and so all the packets to that p2p clients goes through = line 1=20 from then 2, while line 2 is virtually useless, i've checked with ntop, = and line=20 1 bandwith usage is 20+times that of line 2.
 
Nico
------=_NextPart_000_0024_01C4611C.A1A12E50-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/