All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] cbq.init problem
@ 2002-04-24 15:32 ipana
  0 siblings, 0 replies; only message in thread
From: ipana @ 2002-04-24 15:32 UTC (permalink / raw)
  To: lartc

Hello,

I try to setup qos us lan.
I use cbq.init script and upload limit work nicely, but download shaping
don't work.

I have read lot of manuals and howtos (advanced routing, etc...), and i
think that is some
simple routing problem.

I hope some one can help me.



os: debian woody 2.4.17

network topology:

internet ===> eth0  [linux + cbq]  eth1 ===> lan + dmz


sample cbq.init config (2 Mbit/s in and out, one source ip):

in to out
------------------------------------
DEVICE=eth0,100Mbit,10Mbit
RATE=2Mbit
WEIGHT=0.2Mbit
PRIO=5
LEAF=sfq
RULE!3.28.220.196,
------------------------------------

out to in
------------------------------------
DEVICE=eth1,100Mbit,10Mbit
RATE=2Mbit
WEIGHT=0.2Mbit
PRIO=5
BOUNDED=yes
LEAF=sfq
RULE!3.28.220.196
------------------------------------


ip route:
----------------------------------------------------------------------------
213.28.220.192/26 dev eth0  proto kernel  scope link  src 213.28.220.194
213.28.220.192/26 dev eth1  proto kernel  scope link  src 213.28.220.195
default via 213.28.220.193 dev eth0
----------------------------------------------------------------------------
-

cbq.ini stats:
----------------------------------------------------------------------------
-----
### eth0: queueing disciplines

qdisc sfq 128: quantum 1514b
 Sent 268924 bytes 3338 pkts (dropped 0, overlimits 0)

qdisc cbq 1: rate 100Mbit (bounded,isolated) prio no-transmit
 Sent 387265 bytes 4574 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 62 undertime 0


### eth0: traffic classes

class cbq 1: root rate 100Mbit (bounded,isolated) prio no-transmit
 Sent 2405565 bytes 6092 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 60 undertime 0
class cbq 1:128 parent 1: leaf 128: rate 2Mbit (bounded) prio 5
 Sent 2276144 bytes 4791 pkts (dropped 0, overlimits 2798)
 backlog 7p
  borrowed 0 overactions 728 avgidle -890 undertime 4378

### 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:128
  match d51cd5c3/ffffffff at 12

### eth1: queueing disciplines

qdisc sfq 28: quantum 1514b
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)

qdisc cbq 1: rate 100Mbit (bounded,isolated) prio no-transmit
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 62 undertime 0


### eth1: traffic classes

class cbq 1: root rate 100Mbit (bounded,isolated) prio no-transmit
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 62 undertime 0
class cbq 1:28 parent 1: leaf 28: rate 2Mbit (bounded) prio 5
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
  borrowed 0 overactions 0 avgidle 175620 undertime 0

### 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:28
  match d51cd5c3/ffffffff at 16
----------------------------------------------------------------------------
---------------------

Thanks!


Regards,
Usko Kyykka





_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-24 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-24 15:32 [LARTC] cbq.init problem ipana

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.