[EMAIL PROTECTED] [EMAIL PROTECTED] 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 / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to