[LARTC] tc filter howto

Linux Advanced Routing and Traffic Control

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

 



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=E9
> > 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=20
marks so you only need a fw filter?

Stef

=2D-=20

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



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