Last active
March 26, 2016 06:56
-
-
Save mehmetg/1e174e6fc84dc43318b3 to your computer and use it in GitHub Desktop.
takes bw limit as argument e.g. 1250kbps
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
tc qdisc del dev eth0 root | |
tc qdisc add dev eth0 handle 1: root htb default 11 | |
tc class add dev eth0 parent 1: classid 1:1 htb rate $1 | |
tc class add dev eth0 parent 1:1 classid 1:11 htb rate $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment