Skip to contentSkip to conversation

cbq.init - Some strange behavior / small question

LARTC Christoph Petersen 1 participant 1 message Oct 11, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I've a small question about the cbq.init script. For a gateway I want to shape connections from special IP addresses to limit their bandwith.

In my test environment I've too machines. One testclient with the IP 192.168.1.19. On my "shaper" (192.168.1.251) runs cbq.init with following config file:

orthanc:/etc/sysconfig/cbq# cat cbq-4.ws-019
DEVICE=eth0,100Mbit,10Mbit
RATEKbit
WEIGHT=1Kbit
PRIO=5
LEAF=tbf
ISOLATED=yes
BOUNDED=yes
RULE2.168.1.19/32

When I have a single scp upload to the server my bandwith is limited to 10Kbit/s.
But when I have serveral uploads (I've had five in my test) I have an overall bandwith
of 20.1Kbit/s.

How can I say my class to limit the overall traffic to max 10Kbit/s?

Thanks in advance
Greets
Christoph
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/