From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 05 Jun 2003 07:41:36 +0000 Subject: Re: [LARTC] cbq bounded problem 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 Thursday 05 June 2003 06:35, Zealous wrote: > Dear all, > > I have 1 mbps line to internet. > > Our linux server is connected to router of 1mb > > Linux server gets 1mb bandwidth. > > I have done SOURCE MASQUERADING on linux. > > I have attached a cbq bandwidth script. I want to allow the traffic to > restrict to 200Kbps. it should not exceed beyond 200. > > I have made a configuration and i kept on the server but the traffic goes > beyond 200 .....it even goes to 350 and 400. how can i restrict the traffic > on 200. ???? > plz check the attached script . > plz open in word. > any help is great for me. Some tips : - Adding the sfq qdisc to class 10:200 is useless. It's removed as soon as you add a subclass. - Are you sure your packes are queued in the class you want? Check it out with tc -s -d class show dev eth4. - prio 100 is too much. The maximum is 7. - avpkt 800 should reflect your average packet size. Are you sure it's only 800 bytes? - Is your NIC configured at 10Mbit? (bandwidth parameter) Take weight = rate / 10. - Use htb and visit www.docum.org :) Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/