From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Tackaberry Date: Sun, 03 Feb 2002 19:41:52 +0000 Subject: Re: [LARTC] HTB not working quite the way I'd expect? 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 Hi Martin. Thanks for your reply. On Sat, 2002-02-02 at 08:14, Martin Devera wrote: > filter design in Linux QoS but I can't do anything with it. > Simply add prio 1 to the class definition (last tc line above). > And let me know ! ;) In fact, there is no change. Here is my current configuration, with the changes you suggested: tc class add dev eth8 parent 1: classid 1:1 htb rate 250kbps tc class add dev eth8 parent 1:1 classid 1:10 htb rate 200kbps \ ceil 250kbps burst 10k prio 1 tc qdisc add dev eth8 parent 1:10 sfq perturb 5 tc filter add dev eth8 protocol ip parent 1: u32 match ip \ src 199.212.53.0/24 flowid 1:10 tc class add dev eth8 parent 1:1 classid 1:11 htb rate 50kbps \ ceil 200kbps burst 2k prio 4 tc qdisc add dev eth8 parent 1:11 sfq perturb 5 tc filter add dev eth8 protocol ip parent 1: u32 match ip \ src 199.212.55.128/25 flowid 1:11 Monitoring eth8, I see it sending out at 200k/s, all traffic generated from 199.212.55.128/25. This is what I'd expect. When I hit the webserver (on 199.212.53.0/24) hard, eth8 begins to send at 250k/s (it is a 2Mbit uplink), but the portion of that from the webserver is only about 50-90/s, not 200k/s like I'd expect based on id 1:10. Any other thoughts? Regards, Jason. -- Academic Computing Support Specialist Algoma University College Sault Ste. Marie, Ontario 705-949-2301 x330 Personal Home Page http://www.auc.ca http://sault.org _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/