The packets I am forwarding is not affected by these rules.

I am using HTB, is there any issue in using this.


tc qdisc add dev eth1 root handle 1: htb default 20

tc class add dev eth1 parent 1: classid 1:1 htb rate 100mbit ceil
100mbit

tc class add dev eth1 parent 1:1 classid 1:10 htb rate 1mbit ceil
100mbit
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 99mbit ceil
100mbit

tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip tos
46 0xff flowid 1:10

Can any one guide me what I am doing wrong

Regards
Karim Asif