Re: Split bandwidth equally per IP

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux