search for: clientceil

Displaying 1 result from an estimated 1 matches for "clientceil".

2005 Jun 09
5
nesting htbs
...t 1: pref 21 handle 6 fw classid 1:20 tc qdisc add dev ${UPDEV} parent 1:20 handle 120: sfq perturb 10 nextclass=2000 for clientip in `cat /etc/ethers | awk ''{ print $2 }''`; do tc class add dev ${UPDEV} parent 1:20 classid 1:${nextclass} htb rate ${CLIENTRATE}kbit ceil ${CLIENTCEIL}kbit tc filter add dev ${UPDEV} protocol ip parent 1:20 prio 1 u32 \ match ip src ${clientip} flowid 1:${nextclass} tc qdisc add dev ${UPDEV} parent 1:${nextclass} handle ${nextclass}: sfq perturb 10 #not sure if this is necessa ry ((nextclass++)) done I'...