From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Bauer Date: Wed, 05 Mar 2003 19:38:01 +0000 Subject: Re: [LARTC] TCNG fw classifier question Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/