Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Problem: We are hosting an application on remote server. We need to test it with a limited network bandwidth (for users with bad Internet access).

Question: Can I limit my internet bandwidth (in Fedora 14)? For instance: 128 KB per second.

share|improve this question

5 Answers 5

up vote 15 down vote accepted

You can throttle the network bandwidth on the interface using the command called tc Man page available at http://linux.die.net/man/8/tc

A useful script is found at

http://atmail.com/kb/2009/throttling-bandwidth/

Or for more simple, use wondershaper:

http://jwalanta.blogspot.com/2009/04/easy-bandwidth-shaping-in-linux.html

share|improve this answer
1  
Link to atmail.com prompt for username/password authorisation for me... :( –  Ash Jun 15 at 1:25

If you already have an Apache setup somewhere, you can use mod_bw, which also works on proxied connections (i.e. Apache just forwards everything to the proper server, but slows the responses down.)

share|improve this answer

Limiting network resources based on some criterias is the subject of QoS. There are several different ways to control user traffic on Linux systems.

There is a good How-to about advanced routing techniques and traffic control on Linux by Bert Hubert.

share|improve this answer

Dummynet does what you want and more, you can even control the latency, random packet loss and lots more.

share|improve this answer

If your application is exposed via http/https then you can use firefox-throttle else use NIST which is a network emulation package.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.