Displaying 1 result from an estimated 1 matches for "nextclass".
Did you mean:
netclass
2005 Jun 09
5
nesting htbs
...ol ip parent 1: pref 20 u32\
match ip tos 0x10 0xff flowid 1:20
tc filter add dev ${UPDEV} protocol ip parent 1: pref 21 handle 5 fw
classid 1:20
tc filter add dev ${UPDEV} protocol ip parent 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 s...