From: "john peng" <john@deansoft.com.tw>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] cbq-fw classifier
Date: Thu, 01 Nov 2001 05:02:14 +0000 [thread overview]
Message-ID: <marc-lartc-100459092920039@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100458564909131@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1388 bytes --]
please use
tc -s qdisc show dev eth1
tc -s class show dev eth1
tc -s filter show dev eth1
to see where the packet goes ,
or how much it borrows .....
It seems your script can't regular the classid 1:2
cheers
john
----- Original Message -----
From: vanitha
To: lartc@mailman.ds9a.nl
Sent: Thursday, November 01, 2001 5:04 PM
Subject: [LARTC] cbq-fw classifier
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: 3897 bytes --]
next prev parent reply other threads:[~2001-11-01 5:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-01 3:34 [LARTC] cbq-fw classifier vanitha
2001-11-01 5:02 ` john peng [this message]
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-100459092920039@msgid-missing \
--to=john@deansoft.com.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.