From: "ipana" <ipana@werkkowelhot.net>
To: lartc@vger.kernel.org
Subject: [LARTC] cbq.init problem
Date: Wed, 24 Apr 2002 15:32:26 +0000 [thread overview]
Message-ID: <marc-lartc-101966248008049@msgid-missing> (raw)
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/
reply other threads:[~2002-04-24 15:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-101966248008049@msgid-missing \
--to=ipana@werkkowelhot.net \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox