Re: u32 filter won't match

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 23 November 2003 14:44, Fredrik Tolf wrote:
>  > If you add a filter to a qdisc, it has to point to a class of that
>  > qdisc.  Not to an other class.
>
> That confuses me a bit. It does certainly make it work, and it does
> certainly make sense. However, in the advanced routing howto, section
> 9.5.2.1, it seems to very much implicate that you can create filters
> like that. Is that howto wrong or did I misinterpret something? If you
> want to see it, follow this URL:
>
> http://www.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.qdisc.classful.html
I know.  You can do it.  You can point your filter to a class of an other 
qdisc and it will work, but not always like expected.  To be safe, use 
filters within the same qdisc.

>  > > (The strange thing is that when I used "parent 2:", no filter was
>  > > added at all... What's up with that?)
>  >
>  > Try
>  > tc -s -d filter show dev eth1 parent 2:
>
> Hehe... Don't I feel stupid now... Oh well, at least now I know (I
> thought all filters were in a per-interface namespace). Thank you for
> pointing that out.
I made the same mistake before :)

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux