[LARTC] Setup balancing a cable modem and an ADSL
Nicolás Victorero Mier
nico@telecable.es
Sat, 3 Jul 2004 16:41:47 +0200
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>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.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>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.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>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.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Nico</FONT></DIV></BODY></HTML>
------=_NextPart_000_0024_01C4611C.A1A12E50--