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 ?!