From: "Fernando Favero" Date: Tue, 17 Aug 2004 04:29:28 +0000 Subject: [LARTC] Two Adsl connections following lartc.rpdb.multiple-links.html instructions.... Message-Id: <000a01c48412$c9614790$0201a8c0@deadfish> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0007_01C483F9.A3A8CAA0" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C483F9.A3A8CAA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have two adsl lines on my linux firewall box and i want to do some = load balance between them...i tried a lot of different things, but it = isn=B4t working...Following the instructions of = http://lartc.org/howto/lartc.rpdb.multiple-links.html i used the = configuration above. using "iptraf" I can see some few packets using the = ppp1 connection, but almost all the packets use ppp0 connection. I=B4m = doing something wrong? I=B4m forgetting something? Maybe my kernel = doesn=B4t support multipath? how can i check it? I use Mandrake 10 (kernel 2.6) 2 adsl connections with 600 KB down and 300 KB up (ppp0 and ppp1)=20 Tks in advance! ip route add 200.138.225.0/24 dev ppp0 src 200.215.125.195 table 10 ip route add default via 200.138.225.254 table 10 ip route add 201.3.196.0/24 dev ppp1 src 201.3.232.205 table 11 ip route add default via 201.3.196.254 table 11 ip route add 200.138.225.0/24 dev ppp0 src 200.215.125.195 ip route add 201.3.196.0/24 dev ppp1 src 201.3.219.25 =20 ip route add default via 200.138.225.254 ip rule add from 200.215.125.195 table 10 ip rule add from 201.3.232.205 table 11 ip route add default scope global nexthop via 200.138.225.254 dev ppp0 = weight 1 nexthop via 201.3.196.254 dev ppp1 weight 1 ------=_NextPart_000_0007_01C483F9.A3A8CAA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I have two adsl lines on my linux = firewall box and=20 i want to do some load balance between them...i tried a lot of = different=20 things, but it isn=B4t working...Following the instructions of http://lar= tc.org/howto/lartc.rpdb.multiple-links.html i=20 used the configuration above. using "iptraf" I can see some few=20 packets using the ppp1 connection, but almost all the packets = use ppp0=20 connection. I=B4m doing something wrong? I=B4m forgetting something? = Maybe my kernel=20 doesn=B4t support multipath? how can i check it?
I use Mandrake 10 (kernel = 2.6)
2 adsl connections with 600 KB down and = 300 KB up=20 (ppp0 and ppp1)
Tks in advance!
 
ip route add 200.138.225.0/24 dev ppp0 = src=20 200.215.125.195 table 10
ip route add default via 200.138.225.254 = table=20 10
ip route add 201.3.196.0/24 dev ppp1 src 201.3.232.205 table = 11
ip=20 route add default via 201.3.196.254 table 11
 
ip route add 200.138.225.0/24 dev ppp0 = src=20 200.215.125.195
ip route add 201.3.196.0/24 dev ppp1 src=20 201.3.219.25
  
ip route add default via=20 200.138.225.254
 
ip rule add from 200.215.125.195 table = 10
ip=20 rule add from 201.3.232.205 table 11
 
ip route add default scope global = nexthop via=20 200.138.225.254 dev ppp0 weight 1 nexthop via 201.3.196.254 dev ppp1 = weight=20 1
 
------=_NextPart_000_0007_01C483F9.A3A8CAA0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/