Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

load balancing (aggregation) for multiple pppoe connections to same ISP

Reply
 
Thread Tools Display Modes
  #1  
Old 05-15-2005, 08:26 AM
Default load balancing (aggregation) for multiple pppoe connections to same ISP




i've got multiple PPPoE connections to my ISP (Each 32kbps), but i'v
not been able to aggregate them. All the ppp connections are throug
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 erro
named "RTNETLINK answers: Invalid argument"

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

or

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

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

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

i'd also tried using traffic control (tc) command, which although hav
executed, havent really made any difference to my connections, n th
speed of my downloads is still limited to the speed of just Singl
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 th
terminologies.

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



neofyte
Reply With Quote
  #2  
Old 05-17-2005, 02:52 AM
spaceloop@gmail.com
Guest
 
Posts: n/a
Default Re: load balancing (aggregation) for multiple pppoe connections to same ISP

hello:
i'm a newbie too and i want to activate my adsl connections too at the
same time in the same linux box... i think you are a step forward of me
so i drop this lines to you...

i have 2 adsl accounts to the same ISP but i just get 1 adsl to work
and i can't activate the second one... How can i activate both adsl
connections at the same time? What kind of configs do i have to try?

See you !!!

Reply With Quote
Reply

Tags
aggregation, balancing, connections, isp, load, multiple, pppoe

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:28 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.