From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 04 Dec 2003 19:44:28 +0000 Subject: Re: [LARTC] Split bandwidth equally per IP 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 04 December 2003 19:52, Mihai Vlad wrote: > It's me again, with the same problem. > > I want to be able to split the bandwidth per IP, as I have 10 clients in my > LAN and I want to be sure they get the same rate when downloading. > > I followed all the steps from the HTB manual, but the script can be > "beaten" when one uses more connection for downloading ("FlashGet" or > "Download Accelerator"). > > I have the same rates for all the 10 IP-s in my LAN. > > Stef Coene told me to decrease the burst. (Indeed, 80k was a huge burst) I > did that, but it seams nothing's changed. The burst parameter is not made for hugh bursts. If you don't specify a burst, htb will calculate the smallest one suitable for that class. > Jon Zeeff said that sfq generally creates a queue per connection. (And that > is the reason why clients with more connections get more bandwidth) Yes and no. Sfq creates 1 queue for a connection, but htb should distribute the bandwidth eaqual between the classes even if 1 class has more connections in it. > So I need to change this "per connection" into "per IP". > > Everything is clear, but I do not know what to change into my script to do > this. Can you post the output of tc -s -d class show dev eth0 Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/