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)
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
  
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
 

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