> i want to priorize on first udp second icmp then tcp then any other how? > does "tc qdisc add dev eth0 parent 1:12 handle 20: prio 1 udp " priorize > udp? not exactly - default prio is 0 (highest). Use prio 3 for 1:11,1:10 and prio 1 for 1:12 and prio 2 for icmp class. > #shape interface eth0 > tc class add dev eth0 parent 1: classid 1:1 htb rate 128kbit ceil 128kbit > #voip class > tc class add dev eth0 parent 1:1 classid 1:12 htb rate 128kbit ceil 128kbit > #staff class > tc class add dev eth0 parent 1:1 classid 1:11 htb rate 30kbit ceil 128kbit > tc class add dev eth0 parent 1:1 classid 1:13 htb rate 30kbit ceil 128kbit > #mark voip class this is nonsence ! 128+30+30 > 128. You guarantee 208kb while 1:1 has only 128k capacity ... devik