Re: 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 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=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
_______________________________________________
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