From: "vanitha" <vaniarun7@yahoo.com>
To: lartc@vger.kernel.org
Subject: [LARTC] cbq-fw classifier
Date: Thu, 01 Nov 2001 03:34:09 +0000 [thread overview]
Message-ID: <marc-lartc-100458564909131@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
Hi All,
I was using CBQ to control the bandwidth rate , while i use the qdisc cbq with u32 filter and route filter it is
working fine ,but when i use fw classifier it seems that the bandwidth rate 100kbit is not picked.
i have used the following commands
/sbin/iptables -I PREROUTING -t mangle -p tcp -d 172.16.1.81 -j MARK --set-mark 1
/sbin/tc qdisc add dev eth0 root handle 1: cbq bandwidth 10Mbit cell 8 avpkt 1000 mpu 64
/sbin/tc class add dev eth0 parent 1:0 classid 1:1 cbq bandwidth 10Mbit rate 10Mbit allot 1514 cell 8 weight 1Mbit prio 8 maxburst 20 avpkt 1000
/sbin/tc class add dev eth0 parent 1:1 classid 1:2 cbq bandwidth 10Mbit rate 100Kbit allot 1514 cell 8 weight 10Kbit prio 3 maxburst 20 avpkt 1000
/sbin/tc filter add dev eth0 protocol ip parent 1:0 prio 1 handle 1 fw classid 1:2
is that anything i have missed out ?
i have tested these commands using Linux-2.4.10.
Advance Thanks
Vanitha
[-- Attachment #2: Type: text/html, Size: 2055 bytes --]
next reply other threads:[~2001-11-01 3:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-01 3:34 vanitha [this message]
2001-11-01 5:02 ` [LARTC] cbq-fw classifier john peng
2001-11-01 7:13 ` vanitha
2001-11-01 7:29 ` john peng
2001-11-02 11:11 ` vanitha
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-100458564909131@msgid-missing \
--to=vaniarun7@yahoo.com \
--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