From: "Juergen" <lchou@staff.pccu.edu.tw>
To: lartc@vger.kernel.org
Subject: [LARTC] why the bandwidth is not follow my config??????
Date: Fri, 04 May 2001 03:27:02 +0000 [thread overview]
Message-ID: <marc-lartc-98894700319874@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
I try to use iproute to control my bandwidth less than 3MB, but something happen.
list below is my config
--------------------------------------------------------------------------------
tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit rate \
1Mbit allot 1514 weight 100Kbit prio 8 maxburst 20 avpkt 1000 bounded
tc class add dev eth1 parent 20:1 classid 20:2 cbq bandwidth 10Mbit rate \
3Mbit allot 1514 weight 200Kbit prio 5 maxburst 20 avpkt 1000 bounded
tc filter add dev eth1 parent 20:0 protocol ip prio 100 u32 match ip src \
192.168.0.1 flowid 20:1
tc filter add dev eth1 parent 20:0 protocol ip prio 25 u32 match ip src \
192.168.0.2 flowid 20:2
--------------------------------------------------------------------------------
I use download file to test this function.
But the really situation about the bandwidth is ...
1MB(20:1) is 1.5Mbit
3MB(20:2)is 4.6Mbit
Have anyone met this kind of problem before?????
And how to solve this problem?????
[-- Attachment #2: Type: text/html, Size: 1769 bytes --]
next reply other threads:[~2001-05-04 3:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-04 3:27 Juergen [this message]
2001-05-04 6:31 ` [LARTC] why the bandwidth is not follow my config?????? Stef Coene
2001-05-04 17:43 ` Guy Van Den Bergh
2001-05-07 5:52 ` Stef Coene
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-98894700319874@msgid-missing \
--to=lchou@staff.pccu.edu.tw \
--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 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.