Two Adsl connections following lartc.rpdb.multiple-links.html instructions....

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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´t 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´m doing something wrong? I´m forgetting 
something? Maybe my kernel doesn´t 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) 
I have the impression that the dynamic route change isn´t 
working ... cause if i manually change the default route 
between ppp0 and ppp1 all the traffic that was going through 
ppp0 still use it, and the new traffic go through ppp1... some 
advice?
Tks in advance and sorry my very poor english!
 
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
   
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

 P.S.: I tried to send this message using another email 
account. I think that that email wasn´t sent... if it was: sorry 
for resposting... but please answer again.. cause i didn´t saw 
any response...
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux