From mboxrd@z Thu Jan 1 00:00:00 1970 From: raptor Date: Fri, 28 Feb 2003 13:51:50 +0000 Subject: [LARTC] [tcng] specifing interface in IF ?! Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/