From mboxrd@z Thu Jan 1 00:00:00 1970 From: Walter Haidinger Date: Thu, 17 Oct 2002 06:47:51 +0000 Subject: Re: [LARTC] htb limiting trouble: no overlimit or dropped packets Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thu, 17 Oct 2002, Nickola Kolev wrote: > On Thu, 17 Oct 2002 00:33:05 +0200 (CEST) > Walter Haidinger wrote: > > [ cut ] > > tc qdisc add dev eth1 root handle 1: htb default 20 > > tc class add dev eth1 parent 1: classid 1:1 htb rate 64kbit ceil 64kbit burst 5k > > tc class add dev eth1 parent 1:1 classid 1:10 htb rate 64kbit ceil 64kbit burst 5k > > tc class add dev eth1 parent 1:1 classid 1:20 htb rate 57kbit ceil 64kbit burst 5k > > tc class add dev eth1 parent 1:1 classid 1:30 htb rate 51kbit ceil 64kbit burst 5k > > tc class add dev eth1 parent 1:1 classid 1:40 htb rate 6kbit burst 0 > > tc qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 10 > > tc qdisc add dev eth1 parent 1:20 handle 20: sfq perturb 10 > > tc qdisc add dev eth1 parent 1:30 handle 30: sfq perturb 10 > > tc qdisc add dev eth1 parent 1:40 handle 40: sfq perturb 10 > > > [ cut ] > > Can you give us the exact commands you issued? F.e. what are the filters? Above are all commands issued. I have no filters attached because bandwidth limiting does not even work for the default class, i.e. unclassified traffic. I had filters assigned to the root class 1: like the one below in an attempt to catch all packets. tc filter add dev eth1 parent 1: protocol ip \ prio 20 u32 match ip dst 0.0.0.0/0 flowid 1:20 Didn't make any difference, though. Walter _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/