Displaying 1 result from an estimated 1 matches for "cbqindex".
Did you mean:
bindex
2004 Sep 23
2
shaping fails when using p2p apps?
...bindex
($htbindex is just ++-ing, $row is a hashref from the DB)
the same thing with CBQ looks like:
tc qdisc add dev eth0 root handle 100: cbq avpkt 100000 bandwidth 100mbit
tc qdisc add dev eth1 root handle 200: cbq avpkt 100000 bandwidth 100mbit
tc class add dev eth0 parent 100: classid 100:$cbqindex cbq rate $row->{shaper}kbit allot 1500 prio 5
bounded isolated
tc filter add dev eth0 parent 100: protocol ip prio 16 u32 match ip src $row->{ip} flowid 100:$cbqindex
tc class add dev eth1 parent 200: classid 200:$cbqindex cbq rate $row->{shaper}kbit allot 1500 prio 5
bounded isolated
tc f...