Displaying 2 results from an estimated 2 matches for "12000kbit".
Did you mean:
1000kbit
2007 Jan 17
1
restricting bandwidth using TC
Hello,
I am trying to get the TC command to work on our debian box to limit
traffic in and out to 12 Meg. The command I am using is:
tc qdisc add dev eth0 root tbf rate 12000kbit latency 25ms burst 1600
tc qdisc add dev eth1 root tbf rate 12000kbit latency 25ms burst 1600
The problem I am having is that the bandwidth exceeds the 12 Meg by
almost 5 Meg.
Any help is appreciated.
Thanks
Mike Pearson
2006 Jan 08
2
HTB - not borrowing, not exceeding rate
...fault 1
# main rate limitation for whole connection (802.11a radio link)
tc class add dev eth2.24 parent 1: classid 1:1 htb rate 15000kbit ceil
15000kbit burst 10kbit
# class for internet connections - this one can use nearly whole link
tc class add dev eth2.24 parent 1:1 classid 1:6667 htb rate 12000kbit ceil
13500kbit burst 100kbit
# class for in-network p2p connections - this one has lower guaranteed rate
tc class add dev eth2.24 parent 1:1 classid 1:6666 htb rate 3000kbit ceil
14000kbit burst 10kbit
tc qdisc add dev eth2.24 parent 1:6666 handle 6666: sfq perturb 5 quantum
1500b
# users (htb...