[LARTC] (no subject)

Linux Advanced Routing and Traffic Control

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

 



Dear folks,
I want to manage fair bandwidth to all of my clients with total of 512Kbit
from linux gateway. I am using HTB.
Here goes my network:

INTERNET -----------------
                          |
          -----------------------------------
         |               HUB                 |
          -----------------------------------
                 |                         |
                 |                         |
  ------------ eth0 ----------------       |
 |   LINUX-BOX ip= 64.1.1.1         |      |
 |             alias = 192.168.1.10 |      |
  ----------------------------------       |
                                           |
                                  ----------------------------
                                   PRIVATE LAN 192.168.1.0/24 (4 clients)

I ve setup under /etc/sysconfig/htb :
sh-2.05a# cat eth0
DEFAULT=30

sh-2.05a# cat eth0-2.all
RATE=512Kbit
BURST=15k

sh-2.05a# cat  eth0-2:11.host01
RATE=128Kbit
CEIL=512Kbit
BURST=15k
LEAF=sfq
RULE=192.168.1.1

sh-2.05a# cat eth0-2:12.host02
RATE=128Kbit
CEIL=512Kbit
BURST=15k
LEAF=sfq
RULE=192.168.1.2

sh-2.05a# cat eth0-2:13.host03
RATE=128Kbit
CEIL=512Kbit
BURST=15k
LEAF=sfq
RULE=192.168.1.3

sh-2.05a# cat eth0-2:14.host04
RATE=128Kbit
CEIL=512Kbit
BURST=15k
LEAF=sfq
RULE=192.168.1.4

sh-2.05a#

All traffic from Private LAN NATed to linux gateway. When only 1 host
active   and download something from the internet using DAP (download
software) he reached 512Kbit maximum. When host 2 or 3 or 4 up, the
bandwidth didnt share fairly among those host. It should be 128Kbit each.
But why host 2..4 only got at least 10 - 20 Kbit?

Please, i need help on this.

Thank you.
Regards,
Rio Martin.


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .




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