Created
May 17, 2018 22:10
-
-
Save gregjhogan/e2743c5a813443763d144b93bf3e8f0e to your computer and use it in GitHub Desktop.
tc traffic shaping (limit bandwidth)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # setup | |
| sudo tc qdisc add dev $1 root tbf rate 1.0mbit latency 50ms burst 50kb mtu 10000 | |
| # remove | |
| sudo tc qdisc del dev $1 root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment