From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denis Kot Date: Wed, 02 Feb 2005 08:37:04 +0000 Subject: [LARTC] Fwd: why there is any traffic in default class? Message-Id: <3cfad9ca050202003741ff9ed9@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org no one know? ---------- Forwarded message ---------- From: Denis Kot Date: Mon, 31 Jan 2005 11:43:36 +0200 Subject: why there is any traffic in default class? To: lartc@mailman.ds9a.nl I have: tc qdisc add dev imq0 root handle 1: htb default 30 tc class add dev imq0 parent 1: classid 1:1 htb rate 512kbit ceil 512kbit tc class add dev imq0 parent 1:1 classid 1:30 htb rate 64kbit ceil 512kbit then: iptables -t mangle -A PREROUTING -i ppp0 -s 192.168.2.2 -j IMQ --todev 0 tc class add dev imq0 parent 1:1 classid 1:22 htb rate 64kbit ceil 128kbit tc filter add dev imq0 protocol ip parent 1:0 prio 1 u32 match ip src 192.168.2.2 flowid 1:22 so, as I understand any traffic from source 192.168.2.2 AND from interface ppp0 must be going directly in to class 1:22, and default class 30 must not have any traffic. isn=B4t it? --=20 Denis Kot denis?jabber.org.by ICQ: 13680126 Mobil: +375 29 6-1234-78 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/