Re: Aggregating 2 ISP links (DSL)

From: neofyte (neofyte.1p2qi0_at_no-mx.usenetlinux.com)
Date: 05/15/05


Date: Sun, 15 May 2005 02:21:20 -0500


i've got multiple PPPoE connections to my ISP (Each 32kbps), but i've
not been able to aggregate them. All the ppp connections are through
eth0, the sample of ifconfig is,

root@6[~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:08:A1:56:64:4A
inet addr:169.254.24.199 Bcast:169.254.255.255
Mask:255.255.0.0
inet6 addr: fe80::208:a1ff:fe67:649a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:973075 errors:0 dropped:0 overruns:0 frame:0
TX packets:40975 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:88034130 (83.9 MiB) TX bytes:16033574 (15.2 MiB)
Interrupt:10 Base address:0xc00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:327 errors:0 dropped:0 overruns:0 frame:0
TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:35720 (34.8 KiB) TX bytes:35720 (34.8 KiB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:$INET IP" P-t-P:202.63.ABC.DE
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:24343 errors:0 dropped:0 overruns:0 frame:0
TX packets:31183 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:11156656 (10.6 MiB) TX bytes:12624624 (12.0 MiB)

ppp1 Link encap:Point-to-Point Protocol
inet addr:$INET IP" P-t-P:202.63.ABC.DE
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3248 errors:0 dropped:0 overruns:0 frame:0
TX packets:2686 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:207668 (202.8 KiB) TX bytes:1183029 (1.1 MiB)

ppp2 Link encap:Point-to-Point Protocol
inet addr:$INET IP" P-t-P:202.63.ABC.DE
Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:5181 errors:0 dropped:0 overruns:0 frame:0
TX packets:3669 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2145012 (2.0 MiB) TX bytes:1114029 (1.0 MiB)

ppp3 Link encap:Point-to-Point Protocol
inet addr:"$INET IP" P-t-P:202.63.ABC.DE
Mask:255.255.255.255
POINTOPOINT NOARP MULTICAST MTU:1492 Metric:1
RX packets:541 errors:0 dropped:0 overruns:0 frame:0
TX packets:199 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:69280 (67.6 KiB) TX bytes:13937 (13.6 KiB)

when ever i use the ip route commands given below i get a vague error
named "RTNETLINK answers: Invalid argument"

ip route add default scope global nexthop via 202.63.ABC.DE dev ppp0
weight 1 nexthop via 202.63.ABC.DE dev ppp1 weight 1 ...... (for all
the connections)

or

ip route add default nexthop dev ppp0 via 202.63.ABC.DE weight 1
nexthop dev ppp1 via (........................... for all the pppN)

n many other combinations of ip route, all give the same error , of
Invalid Argument!!

all the provider's IP are teh same, and they are through the same LAN
as well. an important point to note is that a friend of mine on his
Slackware Linux machine (kernel 2.6)is able to aggregate his
connections using the above discussed equal weight method. I am on a
debian distro named Mepis, (2.6.10)..

i'd also tried using traffic control (tc) command, which although have
executed, havent really made any difference to my connections, n the
speed of my downloads is still limited to the speed of just Single
pppoe connection..
the tc commands used were,

tc qdisc add dev ppp0 root sfq perturb 10
tc qdisc add dev ppp1 root sfq perturb 10
tc qdisc add dev ppp2 root sfq perturb 10

i m a total newbie to linux so, please excuse any mistakes on the
terminologies..

-- 
neofyte
------------------------------------------------------------------------
neofyte's Profile: http://usenetlinux.com/member.php?userid=1249
View this thread: http://usenetlinux.com/showthread.php?t=407766


Relevant Pages