house of sysadmin
login::signup
we::blog

CBQ

first download cbq init from this link 
cd /etc/sysconfig/cbq and edit the cbq-0128.bone-client as below 
DEVICE=eth0,10Mbit,1Mbit 
RATE=100Kbit 
WEIGHT=10Kbit 
PEAK=100Kbit 
PRIO=1 
RULE=192.168.2.66 
RULE=192.168.2.30 
RULE=192.168.2.14 
 
then cd /etc/sysconfig/cbq and edit the cbq-0128.client-bone as below 
 
DEVICE=eth1,10Mbit,1Mbit 
RATE=100Kbit 
WEIGHT=10Kbit 
PEAK=100Kbit 
PRIO=1 
RULE=0.0.0.0/0,192.168.2.66 
RULE=0.0.0.0/0,192.168.2.30 
RULE=0.0.0.0/0,192.168.2.14 
 
then run cbq with command 
# cbq start 
above are for linux RH 7.0 
the other b/w shapping 
shorewall 
pyshappery

last modified Sep 6, 2004 at 18:59



[ add a comment ]