- Jody
Hey, I have such a script:
tc qdisc add dev $DEV root handle 1:0 htb default 21 r2q 2
tc class add dev $DEV parent 1:0 classid 1:11 htb rate 100mbit
tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit
tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit
tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit ceil 3072kbit
tc class add dev $DEV parent 1:21 classid 1:102 htb rate 64kbit ceil 128kbit prio 2
tc qdisc add dev $DEV parent 1:102 handle 102:0 sfq perturb 10 quantum 1600
tc filter add dev $DEV parent 1:0 prio 2 protocol ip handle 102 fw flowid 1:102
iptables -t mangle -A USERS_DL -m set ! --set local src -d 102.168.0.2 -j MARK --set-mark 102
tc class add dev $DEV parent 1:23 classid 1:103 htb rate 128kbit ceil 256kbit prio 1
tc qdisc add dev $DEV parent 1:103 handle 103:0 sfq perturb 10 quantum 1600
tc filter add dev $DEV parent 1:0 prio 1 protocol ip handle 103 fw flowid 1:103
iptables -t mangle -A USERS_DL -m set ! --set local src -d 102.168.0.3 -j MARK --set-mark 103
and so on..
The question is, can I put prio on
tc class add dev $DEV parent 1:11 classid 1:21 htb rate 512kbit ceil 512kbit prio 2 ?
tc class add dev $DEV parent 1:11 classid 1:23 htb rate 1024kbit ceil 1024kbit prio 1 ?
tc class add dev $DEV parent 1:11 classid 1:25 htb rate 3072kbit ceil 3072kbit prio 0 ?
instead of
tc class add dev $DEV parent 1:21 classid 1:102 htb rate 64kbit ceil 128kbit prio 2
tc class add dev $DEV parent 1:23 classid 1:103 htb rate 128kbit ceil 256kbit prio 1
______________________________________
Vaidas
VDXnet sistemų administratorius
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
_______________________________________________ LARTC mailing list LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc