MultiCloud Marketplace

Tony Spataro

NET Bandwidth Limit

Open in Dashboard

Published by Tony Spataro on Mar 02, 2013Revision: 1


Uses the Linux kernel's traffic-shaping ability to limit upload/download bandwidth for this host -- or potentially other hosts, when localhost is acting as a router.

To disable upload/download bandwidth limitation, set the corresponding input to "ignore". If you set both inputs to ignore, this script does nothing.

By default, the traffic-shaping rules apply to eth0 and to this machine's private IP address (as reported by the cloud). Override these advanced inputs to accomplish more advanced traffic-shaping goals.


Revision 1 | Mar 02, 2013

Tested against Linux kernel 2.6.32 on an Ubuntu 10.04 system.


All Users

Sign-up for RightScale

Support Information

No commercial support provided; this is my personal work and is not affiliated with, nor supported by, RightScale Inc. I will provide "friendly support" as time permits; contact me with any questions that arise.