Skip to contentSkip to conversation

cbq down stream

LARTC vanitha 1 participant 1 message Nov 20, 2001

lore
Share & tools
lore

vanitha

author
#0 lore raw

Hello

Iam using RH 7.1 and want to control the down stream bandwidth the set up is
---------------------------
eth2 | Linux | eth0
Internet -----------------------| box | ---------------------------- LAN

                     172.16.1.185   | -------------------------  |  172.16.1.180

In LAN for the particular machine say 172.16.1.38 i have to allow only 100Kbit Iam using cbq.init-v.6.0 for bandwidth management.

the scripts i use is

DEVICE=eth0,10Mbit,1Mbit
RATE=100Kbit
WEIGHT=10Kbit
PRIO=5
BOUNDED=yes
RULE=172.16.1.38

this allows 100 kbit to 172.16.1.38 if i download any of the files from my linux box
but if i download a file from internet by setting the gate way of 172.16.1.38 as 172.16.1.180 it allows nearly 10Mbit

i have tried the same using tc command

where is the mistake ?

Advance Thanks
Vanitha