Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: matt on May 25, 2002, 09:29:23 PM
-
hi everyone. i would just like to ask if theres anyway (software, configuration) on how to control the bandwidth of my other computers in LAN for the internet connection?
ex. my workstation1 i would like to only give 33.6 kbps and my workstatiion2 only 56kbps and so forth.
thanks.
matt
-
you can use script cbq.init, and you can found it in: /sbin/cbq
second make your configuration files in /etc/sysconfig/cbq
finally, add
/sbin/cbq start
in the file
/etc/rc.d/rc.local
the help is located in the script
sorry mi english. I speak spanish.
-
te puedo hacer un par de consultas en castellano ?
-
Check out this link:
http://www.tldp.org/HOWTO/Bandwidth-Limiting-HOWTO/
-
por supuesto
-
Ok, gracias:
No puedo hacer que varios usuarios, cada uno con su clave y su nombre de usuario, accedan al mismo directorio via FTP
como hago ?
Te comento que tengo instalada la version 4.1 y que estoy por upgradear a al 5.1.2
uso el server detras de un Router ADSL (USRobotics #8000)
En modo Server Only.
Intente usar el control de ancho de banda que comentaban en este tema en el foro pero no funciona en 4.1 O yo no pude instalarlo correctamente, esa es la otra razon para hacer el upgrade !
gracias por tu ayuda y si queres podes contestarme via mail, asi no usamos un ambito que comunmente se maneja en otro lenguaje.
mlpz@bigfoot.com
gracias
-
jesus wrote:
>
> you can use script cbq.init, and you can found it in:
> /sbin/cbq
>
> second make your configuration files in /etc/sysconfig/cbq
>
> finally, add
> /sbin/cbq start
> in the file
> /etc/rc.d/rc.local
>
> the help is located in the script
>
> sorry mi english. I speak spanish.
This is what my cbq-0000.example looks!! in etc/sysconfig/cbq (is the only file)
DEVICE=eth0,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.168.1.0/24
what do they mean:
device: is the card i wanna control???
rate: is the download, upload (or both) speed that I wanna establish???
weight: does this mean files biger than 10K to control the bandwith??
rule: is this the IP I wanna control?? could I set up x.x.x.1, x.x.x.2, x.x.x.10???
or has anyone use delay pools on SQUID??
thanks!!
-
jesus wrote:
>
> you can use script cbq.init, and you can found it in:
> /sbin/cbq
>
> second make your configuration files in /etc/sysconfig/cbq
>
> finally, add
> /sbin/cbq start
> in the file
> /etc/rc.d/rc.local
>
> the help is located in the script
>
> sorry mi english. I speak spanish.
This is what my cbq-0000.example looks!! in etc/sysconfig/cbq (is the only file)
DEVICE=eth0,10Mbit,1Mbit
RATE=128Kbit
WEIGHT=10Kbit
PRIO=5
RULE=192.168.1.0/24
what do they mean:
device: is the card i wanna control???
rate: is the download, upload (or both) speed that I wanna establish???
weight: does this mean files biger than 10K to control the bandwith??
rule: is this the IP I wanna control?? could I set up x.x.x.1, x.x.x.2, x.x.x.10???
or has anyone use delay pools on SQUID??
thanks!!
-
from cbq.init:
# The configuration file may contain the following parameters:
#
### Device parameters
#
# DEVICE=,[,] mandatory
# DEVICE=eth0,10Mbit,1Mbit
#
# is the name of the interface you want to control
# traffic on, e.g. eth0
# is the physical bandwidth of the device, e.g. for
# ethernet 10Mbit or 100Mbit, for arcnet 2Mbit
# is tuning parameter that should be proportional to
# . As a rule of thumb: = / 10
#
# When you have more classes on one interface, it is enough to specify
# [and ] only once, therefore in other files you only
# need to set DEVICE=.
#
### Class parameters
#
# RATE= mandatory
# RATE=5Mbit
#
# Bandwidth allocated to class. Traffic going through the class is
# shaped to conform to the given rate. You can use Kbit, Mbit or
# bps, Kbps and Mbps as suffices.miting speed of the shaper.
# You can use Kbit, Mbit or bps, Kbps, Mbps as suffixes.
#
# WEIGHT= mandatory
# WEIGHT=500Kbit
#
# Tuning parameter that should be proportional to RATE. As a rule
# of thumb, use WEIGHT ~= RATE / 10.
#
# PRIO=<1-8> optional, default 5
# PRIO=5
#
# Priority of class traffic. The higher the number, the lesser
# the priority. Priority of 5 is just fine.
#
# PARENT= optional, default not set
# PARENT=1280
#
# Specifies ID of the parent class to which you want this class be
# attached. You might want to use LEAF=none for the parent class as
# mentioned below. By using this parameter and carefully ordering the
# configuration files, it is possible to create simple hierarchical
# structures of CBQ classes. The ordering is important so that parent
# classes are constructed prior to their children.
#
# Sample configuration file: cbq-1280.My_first_shaper
#
# --------------------------------------------------------------------------
# DEVICE=eth0,10Mbit,1Mbit
# RATE=128Kbit
# WEIGHT=10Kbit
# PRIO=5
# RULE=192.128.1.0/24
# --------------------------------------------------------------------------
#
# The configuration says that we will control traffic on 10Mbit ethernet
# device eth0 and the traffic going to network 192.168.1.0 will be
# processed with priority 5 and shaped to rate of 128Kbit.
#