From: bert hubert <ahu@ds9a.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Ok, a simple one then..
Date: Sat, 08 Dec 2001 13:09:43 +0000 [thread overview]
Message-ID: <marc-lartc-100781702326324@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100781539923623@msgid-missing>
On Sat, Dec 08, 2001 at 01:45:30PM +0100, Paul Wis?n wrote:
> I use CBQ with sfq and tbf.
Paul, I've seen your 'small ISP' posting but have not yet gotten round to
thinking it over.
>
> I want to have one "mother" class that gets all traffic in our network.
> So I define cbq-0010.mother
> with RULE=:,192.0.0.0/24
You are using cbq.init.
>
> and I want a subclass to get all the data from a specific ip.
> So I define a subclass
>
> cbq-0065.8011_in
> with
> PARENT:0010
> and RULE\x192.0.0.10
>
> It doesnt matter how I do it. I've tested chainging the names, parent
> numbers and so on.
> The mother class always gets all the data.. Why ?
# LEAF=none|tbf optional, default "tbf"
#
# Instructs the script to attach leaf queueing discipline to CBQ class.
# By default, TBF is used. This parameter is useful for parent classes
# where you probably want to specify LEAF=none. In future it might be
# possible to use SFQ or CBQ (or other) as leaf qdisc.
You might want to specify that. But it might be that you are exceeding the
limits of cbq.init.
What you basically need is to get your second class to have a filter that
comes *first*, before the filter directing all everything to cbq-0010!
> Ofcourse the first rule says that it should but, what if there'se some other
> class that also would have triggerd on the packet ? How do I control witch
> class gets what packet, if therese multiple true rules.. ??
You can also set cbq.init to write out what it will do. Then you can change
the priority of filters, making sure that the more specific rules get tested
first.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
Trilab The Technology People
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
prev parent reply other threads:[~2001-12-08 13:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-08 12:45 [LARTC] Ok, a simple one then Paul Wisén
2001-12-08 13:09 ` bert hubert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-100781702326324@msgid-missing \
--to=ahu@ds9a.nl \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox