Two Adsl connections following lartc.rpdb.multiple-links.html instructions....
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
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I think you don't have to add the default route via 200.138.255.254, that's why all the packets go out via ppp0. The rest of the configuration it's fine,
-----------------
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
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/