Hello! Have a traffic shaping rules. What is the right baseclass: 1:11 and 1:12 or 1:1 or other? # Add discuiplines for DL device tc qdisc add dev $devDL root handle 1: htb default 12 # Add classes for DL device tc class add dev $devDL parent 1: classid 1:1 htb rate $bwDL ceil $bwDL quantum $quantum tc class add dev $devDL parent 1:1 classid 1:11 htb prio 1 rate $bwPrivateDL ceil $bwDL quantum $quantum tc class add dev $devDL parent 1:1 classid 1:12 htb prio 2 rate $bwPublicDL ceil $bwPublicDL quantum $quantum tc qdisc add dev $devDL parent 1:11 handle 11: sfq divisor $divisor perturb $perturb tc qdisc add dev $devDL parent 1:12 handle 12: sfq divisor $divisor perturb $perturb tc filter add dev $devDL protocol all prio 1 parent 11: handle 11 flow hash keys dst divisor $divisor baseclass 1:11 tc filter add dev $devDL protocol all prio 2 parent 12: handle 12 flow hash keys dst divisor $divisor baseclass 1:12 # Add filters for DL device if [ -s $filePrivate ]; then for ip in `grep -v "#" $filePrivate`; do if [ `expr index $ip :` = 0 ]; then tc filter add dev $devDL protocol all prio 1 parent 1: u32 match ip dst $ip flowid 1:11 else echo $ip tc filter add dev $devDL protocol all prio 1 parent 1: u32 match ip6 dst $ip flowid 1:11 fi done fi tc filter add dev $devDL protocol all prio 2 parent 1: u32 match ip dst 0/0 flowid 1:12 tc filter add dev $devDL protocol all prio 2 parent 1: u32 match ip6 dst ::/0 flowid 1:12 P.S. By default, if not specified, baseclass defined as 11:1 and 12:1. -- To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html