does anyone know how can I make class-path based on interface from which the packet 
comes ?!


dev eth0 {
        class(<$c1>) if interface-eth0;

        egress {
                htb() {
                        $c1 = class(rate 1mbps) {
                                class(rate 100kbps, ceil 150kbps) if ip_dst == x.x.x.x;
                                class(rate 50kbps, ceil 100kbps) if ip_dst == y.y.y.y;
                        }
                }
        }
}


any idea ?!
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to