* [LARTC] tc filter howto
@ 2003-02-10 10:34 Emo Terziev
2003-02-10 14:03 ` Stef Coene
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Emo Terziev @ 2003-02-10 10:34 UTC (permalink / raw)
To: lartc
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
Thanks in advance
Emo
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] tc filter howto
2003-02-10 10:34 [LARTC] tc filter howto Emo Terziev
@ 2003-02-10 14:03 ` Stef Coene
2003-02-10 14:16 ` Emmanuel Guiton
2003-02-10 14:33 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-02-10 14:03 UTC (permalink / raw)
To: lartc
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
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] tc filter howto
2003-02-10 10:34 [LARTC] tc filter howto Emo Terziev
2003-02-10 14:03 ` Stef Coene
@ 2003-02-10 14:16 ` Emmanuel Guiton
2003-02-10 14:33 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Emmanuel Guiton @ 2003-02-10 14:16 UTC (permalink / raw)
To: lartc
>
>
>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?
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] tc filter howto
2003-02-10 10:34 [LARTC] tc filter howto Emo Terziev
2003-02-10 14:03 ` Stef Coene
2003-02-10 14:16 ` Emmanuel Guiton
@ 2003-02-10 14:33 ` Stef Coene
2 siblings, 0 replies; 4+ messages in thread
From: Stef Coene @ 2003-02-10 14:33 UTC (permalink / raw)
To: lartc
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
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-10 14:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 10:34 [LARTC] tc filter howto Emo Terziev
2003-02-10 14:03 ` Stef Coene
2003-02-10 14:16 ` Emmanuel Guiton
2003-02-10 14:33 ` Stef Coene
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.