From: Stef Coene <stafke@iname.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] CBQ question
Date: Mon, 14 May 2001 07:33:41 +0000 [thread overview]
Message-ID: <marc-lartc-99442778302972@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98373940416985@msgid-missing>
> ----------------------------------------------------------------------------
> --------------------
> BANDWIDTH="bandwidth 10Mbit"
> RATE="rate 2Mbit"
> DEV="dev eth1"
> AVP="avpkt 1000"
>
> tc qdisc add $DEV root handle 10: cbq $BANDWIDTH $AVP
>
> tc class add $DEV parent 10:0 classid 10:1 cbq $BANDWIDTH $RATE \
> allot 1514 weight 200Kbit prio 5 maxburst 20 $AVP \
> bounded
>
> tc qdisc add $DEV parent 10:1 handle 20: cbq bandwidth 2Mbit $AVP
>
> tc class add $DEV parent 20:0 classid 20:1 cbq bandwidth 2Mbit $RATE \
> allot 1514 weight 200Kbit prio 5 maxburst 20 $AVP \
> bounded
>
> tc filter add $DEV parent 20:0 protocol ip prio 100 u32 match ip src \
> $IP flowid 20:1
> ----------------------------------------------------------------------------
> --------------------
> but it's not active....the bandwidth is still 10Mbit....
> Is my config's error?????
You miss a filter
tc filter add $DEV parent 10:0 protocol ip prio 100 u32 match ip src $IP
flowid 10:1
Stef
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
prev parent reply other threads:[~2001-05-14 7:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-06 22:22 [LARTC] cbq question Forstner
2001-05-10 10:50 ` [LARTC] CBQ question Gery Kahn
2001-05-11 0:19 ` Juergen
2001-05-11 6:20 ` Stef Coene
2001-05-11 6:20 ` Stef Coene
2001-05-13 15:54 ` Gery Kahn
2001-05-14 2:02 ` Juergen
2001-05-14 5:45 ` Gery Kahn
2001-05-14 5:57 ` Juergen
2001-05-14 7:33 ` Stef Coene
2001-05-14 7:33 ` Stef Coene [this message]
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-99442778302972@msgid-missing \
--to=stafke@iname.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 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.