On Monday 10 February 2003 15:16, Emmanuel Guiton wrote:
> >On Monday 10 February 2003 11:34, Emo Terziev wrote:
> >>Hi,
> >> probably is silly but i can't find how can i define
> >>tc filter for my needs
> >>
> >>Situation:
> >> iptables mark all packages with destanation
> >>192.168.1.0/24 with mark 6
> >>tc use HTB.
> >>
> >>My Problem is how can I say:
> >> packages with mark 6 and with destanation ( or
> >>source) A.B.C.D to follow xx:xx
> >
> >If you use the fw filter, you can match the mark. If you use the u3�
> > filer, you can match the destination. But you can't combine both.
> >
> >Stef
>
> Then, what about using cascade operations?
> Cannot you direct the traffic matching the first pattern on a class
> which will constitue a parent for a second class which will contain
> traffic matching the second pattern?
Yes. But you will need an extra level of classes. But why not using more
marks so you only need a fw filter?
Stef
--
[EMAIL PROTECTED]
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/