Displaying 1 result from an estimated 1 matches for "htbindex".
Did you mean:
bindex
2004 Sep 23
2
shaping fails when using p2p apps?
...nd spits out a shellscript that is |sh -d.
The one that sets HTB shaping looks like (i''ve removed
burst/cburts now but it''s the same nonetheless):
tc qdisc add dev eth0 root handle 100: htb
tc qdisc add dev eth1 root handle 200: htb
tc class add dev eth0 parent 100: classid 100:$htbindex htb rate $row->{shaper}kbit prio 0
tc filter add dev eth0 protocol ip parent 100: prio 0 u32 match ip src $row->{ip} flowid 100:$htbindex
tc class add dev eth1 parent 200: classid 200:$htbindex htb rate $row->{shaper}kbit prio 0
tc filter add dev eth1 protocol ip parent 200: prio 0 u32 mat...