Simple shaping, but not working at all. Neither incoming
nor outgoing traffic.
+---------+ 10.0.1.74
BACKBONE -----eth1-| linux |-eth0------*-[client]
+---------+
Rules:
cbq-0016.dragan
# dragan
DEVICE=eth0,10Mbit,1Mbit
RATE=115Kbit
WEIGHT=10Kbit
PRIO=5
RULE=10.0.1.74
cbq-0019.dragan-out
# dragan
DEVICE=eth1,10Mbit,1Mbit
RATE=30Kbit
WEIGHT=3Kbit
PRIO=5
RULE=10.0.1.74,
Output of cbq.init stats:
### eth0: queueing disciplines
qdisc cbq 1: rate 10Mbit (bounded,isolated) prio
no-transmit
Sent 56020 bytes 136 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 762 undertime 0
qdisc tbf 16: rate 115Kbit burst 10Kb lat 347.8ms
Sent 24109 bytes 29 pkts (dropped 0, overlimits 0)
### eth0: traffic classes
class cbq 1: root rate 10Mbit (bounded,isolated) prio
no-transmit
Sent 56020 bytes 136 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 762 undertime 0
class cbq 1:16 parent 1: leaf 16: rate 115Kbit (bounded)
prio 5
Sent 24109 bytes 29 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 1.83925e+06
undertime 0
class tbf 16:1 parent 16:
### eth0: filtering rules
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order
2048 key ht 800 bkt 0 flowid 1:16
match 0a00014a/ffffffff at 16
### eth1: queueing disciplines
qdisc cbq 1: rate 10Mbit (bounded,isolated) prio
no-transmit
Sent 56472 bytes 185 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 762 undertime 0
qdisc tbf 19: rate 30Kbit burst 10Kb lat 1.3s
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
### eth1: traffic classes
class cbq 1: root rate 10Mbit (bounded,isolated) prio
no-transmit
Sent 56472 bytes 185 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 762 undertime 0
class cbq 1:19 parent 1: leaf 19: rate 30Kbit (bounded)
prio 5
Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
borrowed 0 overactions 0 avgidle 7.36979e+06
undertime 0
class tbf 19:1 parent 19:
### eth1: filtering rules
filter parent 1: protocol ip pref 100 u32
filter parent 1: protocol ip pref 100 u32 fh 800: ht divisor 1
filter parent 1: protocol ip pref 100 u32 fh 800::800 order
2048 key ht 800 bkt 0 flowid 1:19
match 0a00014a/ffffffff at 12
Logged In: YES
user_id=2063
Originator: NO
Same kind of thing here on a 2.6.22
I set it up, used a very simple test case taken from the examples, no bandwidth shaping at all