From: "Beng Santosa" Date: Wed, 09 Oct 2002 08:31:12 +0000 Subject: [LARTC] parent and hierarchy problems with cbq.init MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0010_01C26FA8.E5F2F910" Message-Id: List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0010_01C26FA8.E5F2F910 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Everyone :),=20 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 :=20 - 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 =20 anything goes wrong i just shut down the = engine and move the cable :p) =20 my current configuration :=20 #cbq-99.DMZINT DEVICE=3Deth1,100Mbit,10Mbit RATE=3D100Mbit WEIGHT=3D10Mbit PRIO=3D5 RULE=3D10.200.200.0/24,10.0.0.0/8 #cbq-101.A DEVICE=3Deth1 RATE=3D200Kbit WEIGHT=3D20Kbit PRIO=3D5 RULE=3D10.21.0.0/24 #cbq-102.S/W DEVICE=3Deth1 RATE=3D200Kbit WEIGHT=3D20Kbit PRIO=3D5 RULE=3D10.22.0.0/16 RULE=3D10.20.0.0/16 #cbq-103.H/W DEVICE=3Deth1 RATE=3D150Kbit WEIGHT=3D15Kbit PRIO=3D5 RULE=3D10.21.4.0/24 #cbq-104.WC DEVICE=3Deth1 RATE=3D200Kbit WEIGHT=3D20Kbit PRIO=3D5 RULE=3D10.21.77.0/24 RULE=3D10.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=3Deth1,100Mbit,10Mbit RATE=3D100Mbit WEIGHT=3D10Mbit PRIO=3D5 RULE=3D10.200.200.0/24,10.0.0.0/8 #cbq-50.parent DEVICE=3Deth1 RATE=3D100Mbit WEIGHT=3D10Mbit PRIO=3D5 RULE=3D10.0.0.0/8 #cbq-101.A DEVICE=3Deth1 RATE=3D200Kbit WEIGHT=3D20Kbit PRIO=3D5 PARENT=3D50 LEAF=3Dnone (is this right conf ?) BOUNDED=3Dnone (is this ? ) RULE=3D10.21.0.0/24 #cbq-102.S/W DEVICE=3Deth1 RATE=3D200Kbit WEIGHT=3D20Kbit PRIO=3D5 PARENT=3D50 LEAF=3Dnone (is this right conf ?) BOUNDED=3Dnone (is this ? ) RULE=3D10.22.0.0/16 RULE=3D10.20.0.0/16 #cbq-103.H/W DEVICE=3Deth1 RATE=3D150Kbit WEIGHT=3D15Kbit PRIO=3D5 PARENT=3D50 LEAF=3Dnone (is this right conf ?) BOUNDED=3Dnone (is this ? ) RULE=3D10.21.4.0/24 #cbq-104.WC DEVICE=3Deth1 RATE=3D200Kbit WEIGHT=3D20Kbit PRIO=3D5 PARENT=3D50 LEAF=3Dnone (is this right conf ?)=20 BOUNDED=3Dnone (is this ? )=20 RULE=3D10.21.77.0/24 RULE=3D10.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 ------=_NextPart_000_0010_01C26FA8.E5F2F910 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
    Hello Everyone :), =
 
        =20         i'm using cbq.init version = 7.1  for=20 traffic shaper, the rule did work well with flat rule (without=20 parent/child)..here the condition of my network :
       =20             =    =20     - have a DMZ (and i not want = the traffic to=20 DMZ be bounded)
       =20             =    =20     - i made the CBQ engine also a bridge and i put = it=20 before NAT server (so if  
          &nbs= p;            = ;      =20 anything goes wrong i just shut down the engine and move the cable=20 :p)
          &nbs= p;            = ;    =20
my current configuration : =
 
 #cbq-99.DMZINT
DEVICE=3Deth1,100Mbit,10Mbit
RATE=3D100Mbit=
WEIGHT=3D10Mbit
PRIO=3D5
RULE=3D10.200.200.0/24,10.0.0.0/8

#cbq-101.A
DEVICE=3Deth1
RATE=3D200Kbit
WEIGHT=3D20= Kbit
PRIO=3D5
RULE=3D10.21.0.0/24
 
#cbq-102.S/W
DEVICE=3Deth1
RATE=3D200Kbit
WEIGHT=3D20KbitPRIO=3D5
RULE=3D10.22.0.0/16
RULE=3D10.20.0.0/16
 
#cbq-103.H/W
DEVICE=3Deth1
RATE=3D150Kbit
WEIGHT=3D15KbitPRIO=3D5
RULE=3D10.21.4.0/24
 
#cbq-104.WC
DEVICE=3Deth1
RATE=3D200Kbit
WEIGHT=3D20KbitPRIO=3D5
RULE=3D10.21.77.0/24
RULE=3D10.21.78.0/24
This rule running well :)

The problem is...every time i try to make a hierarchical class = (with=20 parent), it is always failed
 
configuration that i tried :
 #cbq-99.DMZINT
DEVICE=3Deth1,100Mbit,10Mbit
RATE=3D100Mbit=
WEIGHT=3D10Mbit
PRIO=3D5
RULE=3D10.200.200.0/24,10.0.0.0/8
 
#cbq-50.parent
DEVICE=3Deth1
RATE=3D100Mbit
WEIGHT=3D10Mbit
PRIO=3D5
RU= LE=3D10.0.0.0/8
#cbq-101.A
DEVICE=3Deth1
RATE=3D200Kbit
WEIGHT=3D20Kbit
= PRIO=3D5
PARENT=3D50
LEAF=3Dnone         &nb= sp; =20 (is this right conf ?)
BOUNDED=3Dnone    (is this ? = )
RULE=3D10.21.0.0/24
 
#cbq-102.S/W
DEVICE=3Deth1
RATE=3D200Kbit
WEIGHT=3D20KbitPRIO=3D5
PARENT=3D50
LEAF=3Dnone         &nb= sp; =20 (is this right conf ?)
BOUNDED=3Dnone    (is this ?=20 )
RULE=3D10.22.0.0/16
RULE=3D10.20.0.0/16
 
#cbq-103.H/W
DEVICE=3Deth1
RATE=3D150Kbit
WEIGHT=3D15KbitPRIO=3D5
PARENT=3D50
LEAF=3Dnone         &nb= sp; =20 (is this right conf ?)
BOUNDED=3Dnone    (is this ?=20 )
RULE=3D10.21.4.0/24
 
#cbq-104.WC
DEVICE=3Deth1
RATE=3D200Kbit
WEIGHT=3D20KbitPRIO=3D5
PARENT=3D50
LEAF=3Dnone         &nb= sp; =20 (is this right conf ?)
BOUNDED=3Dnone    (is this ? )
RULE=3D10.21.77.0/24
RULE=3D10.21.78.0/24
.. and after i looked the stats..well no packet pass the=20 childs class :( ... ? anything wrong with my = configuration=20 ?? i've tried to look everywhere for the parent-child rule = example..but i=20 find nothing :(    ....huaa...hu hu.....please = help=20 me
 
 
Thanx very much
 
Vcunz
ps : sorry if OOT
------=_NextPart_000_0010_01C26FA8.E5F2F910-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/