From: Steven Bauer <bauer@MIT.EDU>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] TCNG fw classifier question
Date: Wed, 05 Mar 2003 19:38:01 +0000 [thread overview]
Message-ID: <marc-lartc-104689971529776@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104681945517353@msgid-missing>
bauer@MIT.EDU [bauer@MIT.EDU] wrote:
>I think I must have the syntax wrong for using the firewall classifier
>in TCNG. Can anyone offer any suggestions for what I am doing wrong.
>Details below...
I am answering my own question here in hopes that anyone reading the
archive might benefit.
Working syntax is below:
dev eth0 {
htb (rate 128kbps, ceil 150kbps ) {
$c1 = class {
htb (rate 100kbps, ceil 120kbps ) {
class if 1 {
sfq(perturb 10secs);
}
}
};
$c2 = class {
htb (rate 50kbps, ceil 60kbps ) {
class if 1 {
sfq(perturb 10secs);
}
}
};
fw {
class $c1 on (1);
class $c2 on (2);
}
}
}
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-03-05 19:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-04 23:06 [LARTC] TCNG fw classifier question bauer
2003-03-05 19:38 ` Steven Bauer [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-104689971529776@msgid-missing \
--to=bauer@mit.edu \
--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 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.