Could someone tell me about filter''s parent value. I want make such config htb tree at leaf attach prio and at last prio leaf attach sfq htb tree wocker successfully (split with ip fw mark) but if I try attach prio I want split traffic only for this leaf (not any) so I have root qdisc 1: and prio qdisc 101: for example I try to make filters with parent 101: but I can''t see it (when attache there is no mistakes) and traffic seems not splited I try to make high priority for icmp ip filter show dev ${dev} show only fw mark filters nothing else I wan''t attach filter to 1: because I want filter only traffic in leaf not all Also I have another question Could I filter packet by size (I want to make filter for packets less than 512 bytes) -- Best regard, Aleksander Trotsai aka MAGE-RIPE aka MAGE-UANIC My PGP key at ftp://blackhole.adamant.ua/pgp/trotsai.key[.asc] Big trouble - not properly grounded, please bury computer _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wednesday 26 February 2003 08:39, Alexander Trotsai wrote:> Could someone tell me about filter''s parent value. > I want make such config > htb tree > at leaf attach prio and at last prio leaf attach sfq > htb tree wocker successfully (split with ip fw mark) > but if I try attach prio I want split traffic only for this > leaf (not any) > so I have root qdisc 1: and prio qdisc 101: for example > I try to make filters with parent 101: but I can''t see it > (when attache there is no mistakes) and traffic seems not > splited > I try to make high priority for icmp > ip filter show dev ${dev} show only fw mark filters nothing > else > I wan''t attach filter to 1: because I want filter only > traffic in leaf not allCan you repost your question and illustrate it with an ASCII drawing? Or post your script so we know what you are trying to do. 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/
On Wed, Feb 26, 2003 at 03:44:03PM +0100, Stef Coene wrote: SC>On Wednesday 26 February 2003 08:39, Alexander Trotsai wrote: SC>> Could someone tell me about filter''s parent value. SC>> I want make such config SC>> htb tree SC>> at leaf attach prio and at last prio leaf attach sfq SC>> htb tree wocker successfully (split with ip fw mark) SC>> but if I try attach prio I want split traffic only for this SC>> leaf (not any) SC>> so I have root qdisc 1: and prio qdisc 101: for example SC>> I try to make filters with parent 101: but I can''t see it SC>> (when attache there is no mistakes) and traffic seems not SC>> splited SC>> I try to make high priority for icmp SC>> ip filter show dev ${dev} show only fw mark filters nothing SC>> else SC>> I wan''t attach filter to 1: because I want filter only SC>> traffic in leaf not all SC>Can you repost your question and illustrate it with an ASCII drawing? Or post SC>your script so we know what you are trying to do. HTB root (1:) classes !(1:1) !(1:2) ... !(1:N) leafs , filters fwmark with parent 1: qdisc prio(101:) prio(102:) .... 3 prio''s 101:1 101:2 102:3 102:1 102:2 102:3 ... ! sfq(201:) ! sfq(202:) I want sptit traffic going throw leafs into 3 prio fifo''s (last sfq) so I want to tell tos = priority - first prio, icmp/udp/tcp ack - second prio, all other - third prio I try to tell that parent of such filters are 101:, 102: and the same But I can''t see my filters when I do ip filter show dev ... If I make filter with parent 1: I need insert into any filter not only u32 selector but also fw selector AFAIK But I got very hard filter set and I wan''t to make this if have any other possibilities. -- Best regard, Aleksander Trotsai aka MAGE-RIPE aka MAGE-UANIC My PGP key at ftp://blackhole.adamant.ua/pgp/trotsai.key[.asc] Big trouble - Sysadmins unavailable because they are in a meeting talking about why they are unavailable so much. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/