From: Fabian Gervan <fabian1@inter-k.com.ar>
To: lartc@vger.kernel.org
Subject: [LARTC] bounded doesn't work
Date: Thu, 04 Oct 2001 09:17:48 +0000 [thread overview]
Message-ID: <marc-lartc-100220102913449@msgid-missing> (raw)
Hello i have this setup, and the class of 80kbit
(bounded) doesn't work:
tc class add dev eth0 parent 10:1 classid 10:100 cbq bandwidth 100Mbit rate 80kbit allot 1514 weight 8Kbit prio 5 maxburst 12 avpkt 1000 bounded
tc class add dev eth0 parent 10:100 classid 10:101 cbq bandwidth 100Mbit \
rate 40kbit allot 1514 weight 4Kbit prio 4 maxburst 6 avpkt 1000 borrow bounded
tc class add dev eth0 parent 10:100 classid 10:102 cbq bandwidth 100Mbit \
rate 40kbit allot 1514 weight 4Kbit prio 5 maxburst 6 avpkt 1000 borrow bounded
tc class add dev eth0 parent 10:100 classid 10:103 cbq bandwidth 100Mbit \
rate 40kbit allot 1514 weight 4Kbit prio 5 maxburst 6 avpkt 1000 borrow bounded
tc qdisc add dev eth0 parent 10:100 sfq quantum 1514b perturb 15
tc qdisc add dev eth0 parent 10:101 sfq quantum 1514b perturb 15
tc qdisc add dev eth0 parent 10:102 sfq quantum 1514b perturb 15
tc qdisc add dev eth0 parent 10:103 sfq quantum 1514b perturb 15
tc filter add dev eth0 parent 10:0 protocol ip prio 25 u32 match ip dst 192.168.1.2/32 flowid 10:101
tc filter add dev eth0 parent 10:0 protocol ip prio 25 u32 match ip dst 192.168.1.3/32 flowid 10:102
tc filter add dev eth0 parent 10:0 protocol ip prio 25 u32 match ip dst 192.168.1.4/32 flowid 10:103
what is the problem?
I want to limit the class 10:100 to only 80kbit but when all curstomers (3) download
at the same time (40 kbit) it the 10:100 class exceed 80kbit.
In this example i put only 3 customer but i think to put 10, each customer bounded
at 40 kbit.
Regards
Fabian
--
Saludos,
Fabian Gervan
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
reply other threads:[~2001-10-04 9:17 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-100220102913449@msgid-missing \
--to=fabian1@inter-k.com.ar \
--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