search for: 105kpbs

Displaying 1 result from an estimated 1 matches for "105kpbs".

Did you mean: 105kbps
2006 Mar 05
0
revised shaping rules, please take a look
...-j MARK --set-mark 2 iptables -t mangle -A BW-OUT -m mark --mark 0 -j MARK --set-mark 1 # clear the qdisc tc qdisc del dev eth1 root #add the root qdisk tc qdisc add dev eth1 root handle 1: htb default 10 #add main rate limit class and 2 leafs tc class add dev eth1 parent 1: classid 1:1 htb rate 105kpbs ceil 105kpbs tc class add dev eth1 parent 1:1 classid 1:10 htb rate 50kbps ceil 105kbps prio 0 tc class add dev eth1 parent 1:1 classid 1:11 htb rate 50kbps ceil 105kbps prio 1 #filter traffic into classes tc filter add dev eth1 parent 1:0 prio 0 protocol ip handle 1 fw flowid 1:10 tc filter a...