Hi Andy,
Thanks for the reply.
I am currently using Linux kernel 2.4.29.

-bash-2.05b# tc filter ls
-bash-2.05b# tc -V
tc utility, iproute2-ss041019
-bash-2.05b# uname -r
2.4.29

I am seeing this problem in this kernel.
Should I change the kernel or else should I change the iproute2 to a
newer version.
Thanks
Swami

-----Original Message-----
From: Andy Furniss [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 17, 2005 3:31 PM
To: Vasudevan, Swaminathan (PNB Roseville)
Cc: [email protected]
Subject: Re: [LARTC] TC show filter command shows all u32 filters
defined with different priority iin all priority.


Vasudevan, Swaminathan (PNB Roseville) wrote:

> When I try to include u32 filters with different priority or pref, I 
> could see the filters being set on all the priority's irrespective of 
> the priority number.

Your script is OK for me. I always put "tc qdisc del dev ethX root" at 
the  beginning of scripts  - maybe you reran yours without cleaning up 
first.

[EMAIL PROTECTED] /home/andy/Qos]# uname -r
2.6.12-rc1
[EMAIL PROTECTED] /home/andy/Qos]# tc -V
tc utility, iproute2-ss050330
[EMAIL PROTECTED] /home/andy/Qos]# tc filter show dev eth0 parent 13E: filter
protocol ip pref 1 u32 filter protocol ip pref 1 u32 fh 800: ht divisor
1 filter protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 
flowid 13e:2
   match 00010000/00ff0000 at 8
filter protocol ip pref 1 u32 fh 800::801 order 2049 key ht 800 bkt 0 
flowid 13e:1
   match 00060000/00ff0000 at 8
filter protocol ip pref 2 u32
filter protocol ip pref 2 u32 fh 801: ht divisor 1
filter protocol ip pref 2 u32 fh 801::800 order 2048 key ht 801 bkt 0 
flowid 13e:2
   match 00020000/00ff0000 at 8

Andy.

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to