Hello Everyone :),
i''m using cbq.init version 7.1 for traffic shaper,
the rule did work well with flat rule (without parent/child)..here the condition
of my network :
- have a DMZ (and i not want the traffic to DMZ be
bounded)
- i made the CBQ engine also a bridge and i put it
before NAT server (so if
anything goes wrong i just shut down the engine
and move the cable :p)
my current configuration :
#cbq-99.DMZINT
DEVICE=eth1,100Mbit,10Mbit
RATE=100Mbit
WEIGHT=10Mbit
PRIO=5
RULE=10.200.200.0/24,10.0.0.0/8
#cbq-101.A
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
RULE=10.21.0.0/24
#cbq-102.S/W
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
RULE=10.22.0.0/16
RULE=10.20.0.0/16
#cbq-103.H/W
DEVICE=eth1
RATE=150Kbit
WEIGHT=15Kbit
PRIO=5
RULE=10.21.4.0/24
#cbq-104.WC
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
RULE=10.21.77.0/24
RULE=10.21.78.0/24
This rule running well :)
The problem is...every time i try to make a hierarchical class (with parent), it
is always failed
configuration that i tried :
#cbq-99.DMZINT
DEVICE=eth1,100Mbit,10Mbit
RATE=100Mbit
WEIGHT=10Mbit
PRIO=5
RULE=10.200.200.0/24,10.0.0.0/8
#cbq-50.parent
DEVICE=eth1
RATE=100Mbit
WEIGHT=10Mbit
PRIO=5
RULE=10.0.0.0/8
#cbq-101.A
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
PARENT=50
LEAF=none (is this right conf ?)
BOUNDED=none (is this ? )
RULE=10.21.0.0/24
#cbq-102.S/W
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
PARENT=50
LEAF=none (is this right conf ?)
BOUNDED=none (is this ? )
RULE=10.22.0.0/16
RULE=10.20.0.0/16
#cbq-103.H/W
DEVICE=eth1
RATE=150Kbit
WEIGHT=15Kbit
PRIO=5
PARENT=50
LEAF=none (is this right conf ?)
BOUNDED=none (is this ? )
RULE=10.21.4.0/24
#cbq-104.WC
DEVICE=eth1
RATE=200Kbit
WEIGHT=20Kbit
PRIO=5
PARENT=50
LEAF=none (is this right conf ?)
BOUNDED=none (is this ? )
RULE=10.21.77.0/24
RULE=10.21.78.0/24
.. and after i looked the stats..well no packet pass the childs class :( ... ?
anything wrong with my configuration ?? i''ve tried to look everywhere
for the parent-child rule example..but i find nothing :( ....huaa...hu
hu.....please help me
Thanx very much
Vcunz
ps : sorry if OOT