Split 4MB ADSL Line into 2

Mike_De_Lange

Senior Member
Joined
May 18, 2007
Messages
515
Reaction score
0
I'm looking to split my 4MB adsl line with my other tenant. 2MB each. I dialup with my router, then we both connect our network cables into it. Issue is if he starts downloading he consumes all the bandwidth and vice versa...

Is there any software I can run on my or his machine to split the bandwidth?

A friend suggested setting up a linux box that we act as the load balancer and split the bandwidth 2MB each and we will plug into that linux box... Is there no simpler way?

Thanks :)
 
Linux/BSD would be the way to go.

If you trust each other you can try some windows software to limit the ethernet port on your computers to 2Mb/s.
Ideally though you need a cheapo/free 3rd pc to setup as a router and do all this stuff for you based on IP.
 
Last edited:
I agree with gregmcc. That would be the route to go.

Snippet from: http://quark.humbug.org.au/publications/squid/aclsquid.html

Another useful squid feature is delay pools. Conceptually, delay pools are bandwidth limitations - ``pools'' of bandwidth that drain out as people browse the Web, and fill up at a rate you specify - this can be thought of as a leaky bucket that is continually being filled. This is useful when bandwidth charges are in place, as in Australia where volume charges are typical, or if you want to reduce bandwidth usage for web traffic.

To enable this, configure squid with the --enable-delay-pools option. There are 3 classes of delay pools - class 1 is a single aggregate bucket, class 2 is an aggregate bucket with an individual bucket for each host in the class C, and class 3 is an aggregate bucket, with a network bucket (for each class B) and an individual bucket for each host.

To configure the amount of delay pools, and specify which pool is which class, use the following format.

delay_pools 2 # 2 delay pools
delay_class 1 2 # pool 1 is a class 2 pool
delay_class 2 3 # pool 2 is a class 3 pool

To specify which pool a client falls into, create ACLs which specifies the ip ranges for each pool, and use the following:

delay_access 1 allow pool_1_acl
delay_access 1 deny all
delay_access 2 allow pool_2_acl
delay_access 2 deny all

Setting the parameters for each pool is done by:

delay_parameters pool aggregate network individual

where ``aggregate'' is the parameter for the aggregate bucket, ``network'' for the network bucket, and ``individual'' for the individual bucket. Aggregate is only useful for classes 1, 2 and 3, network for classes 2 and 3, and individual for class 3.

Each of these parameters is specified as restore / maximum - restore being the bytes per second restored to the bucket, and maximum being the amount of bytes that can be in the bucket at any time. It is important to remember that they are in bytes per second, not bits. To specify that a parameter is unlimited, use a -1.

If you wish to limit any parameter in bits per second, divide this amount by 8, and use the value for both the restore and the maximum. For example, to restrict the entire proxy to 64kbps, use:

delay_parameters 1 8000/8000

It is also possible to specify how full the bucket starts:

delay_initial_bucket_level 50

where the value is the percentage full.

For further explanation and examples, please see the default squid.conf file comments.

As you can see, Squid provides many way of limiting access to it, both by restricting who can use it, and how much they can use it. There are many more options to Squid than covered here, but the defaults are reasonable for most cases.
 
As to a 'simpler way' which I take as being a simple point-and-click windows based solution (and correct me if I am wrong), I am afraid I have come across none that weren't commercial. Please let me know as well if you do because I have some sites that insist on running MS products against my recommendations.
 
Slightly off-topic, but have you guys ever noticed that it is absolutely amazing how a company will spend literally hundreds of thousands of rands on buying PC's with overpriced operating systems pre-installed, but when it comes to basic stuff, they start counting coins. I've seen it happen time and time again.
 
I'm looking to split my 4MB adsl line with my other tenant. 2MB each. I dialup with my router, then we both connect our network cables into it. Issue is if he starts downloading he consumes all the bandwidth and vice versa...

Is there any software I can run on my or his machine to split the bandwidth?

A friend suggested setting up a linux box that we act as the load balancer and split the bandwidth 2MB each and we will plug into that linux box... Is there no simpler way?

Thanks :)

Try using NetLimiter on both your computers. http://www.netlimiter.com/
 
IP Cop is best in a scenario like this. It's small, free and runs on anything basically. Highly configurable so you could even cache windows and virus updates on the server to save on bandwidth.

You could limit 2mb/s per client and you can give certain ports priority. So if you play online games and your friend torrent's, you could give your port higher priority than the torrents. (Same with HTTP/FTP etc) so that he doesn't pull the entire line down when he downloads.
 
don't use multi-threaded downloads. each connection should get a (roughly) equal amount of bandwidth. your ISP account is probably shaped, so http traffic should get priority over torrents and other p2p traffic.

squid delay pools will only limit http traffic.

you could also have read through your router manual to see if it supports QoS.

I've never used NetLimiter, but I believe it will solve your problem.
 
Thanks for all the suggestions guys :) Since I'm not linux savy I will give Net Limiter a go! Thanks Ponder and Pilgrim :)
 
alternatively you can buy a router that enforces bandwidth limits (draytek 2910 comes to mind). I have never used Netlimiter but an old PC running IPCop or a router with Rate Limiting built in are about the easiest solutions for a non technical person.
 
Here's a simple solution :

ADSL modem (bridged mode)
|
<--> Mikrotik RB450
<---> Your PC's
<---> Tenant


On the Mikrotik run 2 ADSL PPPOE sessions let the customer get his own Axxess / Web Africa / Telkom account, the configure the Mikrotik to do PCQ and routing masks to only allow his traffic across his PPPOE session. PCQ will ensure that when you and he surf you both get equal bandwidth but if only one of you surf then you get the max speed.

This solution ensures that you each consume only your own ADSL bandwidth and not each others, and also you both get equal share to the ADSL line.
 
It's cool it's all sorted. Net Limiter is awesome! You can limit and entire PC's bandwidth usage or individual applications bandwidth usage :) Tested it out and it's awesome :D Thanks alot! Does just what we need!
 
Just out of interest how are you splitting the bandwidth usage bill ? ie I used 1 gig and you did 10 gig's therefore you pay more this month.
 
No, they both Dial-up their own accounts, so they both pay for whatever bandwidth they purchase. The Netlimiter is just to limit the Up/Down speed of each person's PC.
 
Excellant that its working for you!

Question can you lock Netlimiter with an admin password or something to ensure it always runs and can not be changed by the user ?
 
Nope...We bought an uncapped axxess account that allows 1 concurrent connection then split the cost of the account. So the router dials up, and we split it 2MB / 2MB.
 
Doesn't using Netlimiter rely on trust, as each person could simply disable it. So why don't you both set download speed limits in your downloading programs, and if they can't I'm pretty sure you could find alternatives that do.

That would probably improve general usage like browsing etc especially when the other person isn't downloading something, then browsing could eat into that spare bandwidth.
 
been reading through this post for future reference as I am going to be faced with the same problem in the future, regarding the trust issue, assuming net limiter has some sort of password protect, you simply choose the password for the other machine and vice versa, problem solved
 
Top
Sign up to the MyBroadband newsletter
X