hey if you are using ubuntu then it would be great for you.
If you want to limit your download and upload speeds use one of the following tools
1) Wondershaper
2) Trickle
Wondershaper
An easy to use traffic shaping script that provides these improvements:
* Low latency for interactive traffic (and pings) at all times
* Allow websurfing at reasonable speeds while uploading / downloading
* Make sure uploads don’t hurt downloads
* Make sure downloads don’t hurt uploads
It does this by:
* Limiting upload speed slightly, to eliminate queues
* Limiting download speed, while allowing bursts, to eliminate queues
* Interactive traffic skips the queue
* ACKs and tiny packets skip the queue
Configuring the wondershaper requires you to accurately and precisely determine your consistent upload and download speeds.
Install wondershaper in Ubuntu
sudo aptitude install wondershaper
This will complete the installation.
Using wondershaper
use ifconfig to determine which of your networkcards is the one that is connected to your modem (and thus the internet).
ifconfig
the networkcard that has your normal ip adress is the one (not 192.168.x.x)
Go to a speedtesting website and determine your average upload and download speed. Use these speeds to setup limitations.
sudo wondershaper eth1 downspeed upspeed
Note:- Speed should be in KB
Example
sudo wondershaper eth0 10000 280
download a big and uncompressable file while pinging to a fast and stable server on the internet or to your modem and adjust your downspeed until you are satisfied and do the same with uploading a big and uncompressable file.
When you are ready you can make these connection settings permanent by
sudo gedit /etc/network/interfaces
add these lines under eth1 if eth1 is your internetconnection. Change eth1,upspeed and downspeed to your settings.
up /sbin/wondershaper eth1 downspeed upspeed
down /sbin/wondershaper clear eth1
Useful Tip
How do I go about putting my settings back to default for eth1?
sudo wondershaper clear eth1
Problem
When you try to run similar to the following command
wondershaper eth3 4500 333
You might see the following error
What is “flowid”?
Illegal “police”
Solution
This is a bug in iproute, not in wondershaper. Debian has already fixed the problem
Replacing iproute2 with this
http://mirror.aarnet.edu.au/debian/pool/ma...1016-3_i386.deb solved the problem
trickle
Trickle is a voluntary, cooperative bandwidth shaper. it works entirely in userland and is very easy to use.The most simple application is to limit the bandwidth usage of programs.
Install trickle in ubuntu
sudo aptitude install trickle
Stand alone mode
Trickle is easiest to use in stand-alone mode. Simply run trickle with a download and/or upload limit and a program you want to limit. For example:
sudo trickle -d 20 -u 20 wget
http://www.google.com/bigfileDaemon mode
In daemon mode, trickle can limit a group of programs to a fixed limit of bandwidth. To start the daemon, run the trickled command:
sudo trickled -d 20 -u 20
This will start the trickle daemon that will limit the total bandwidth available to all programs run via trickle to 20 K/s both up and down. So if you run a single program via trickle, it can consume 20 K/s. Two programs can each consume 10 K/s, etc.
Its possible limiting or splitting the internet bandwidth in to individual parts that is you can divide total amount of your bandwidth on number of PC's you have, so that everybody have equal rights.
There are to many special softwares for doing this. actually for huge & complex networks even there is a special server called ISA (Internet Security Accelerator) , but since yours is home network so you require a simple software . . .
The Below Link, is a windows xp free software which you can use in order to limit bandwidth speed;
you have to install it and then simply create a rule and you have to select the network card, port no, ip address and the amount of bandwidth it can use (This is a measure of the amount of information or data that can be sent over a network connection in a given period of time. Bandwidth is usually measure in bits per second).
the amount of bandwidth of your network depens upon your ISP ( internet Service provider) , so you can kindly contact them and ask them the total amount of the bandwidth they have assigned for your network inter terms of Kbps(kilo bits per second) not KBps(Kilo Byte Per Second).
relation between byte and bit is 8. a byte is 8 bits.
you have to specify the bandwidth limit in terms of bits in below program ;
http://bandwidthcontroller.com/files/Tra...
for more information about the above software , here is the website.
http://www.raymond.cc/blog/archives/2008...
you can use another software called as netlimitter
www.netlimiter.com
you will be having both paid and free versions.
all the best with the above 2 solutions . . .