From: "Andy Pyles" <apyles@telverse.com>
To: lartc@vger.kernel.org
Subject: [LARTC] Maximum bandwidth question
Date: Mon, 04 Jun 2001 16:36:45 +0000 [thread overview]
Message-ID: <marc-lartc-99167295721978@msgid-missing> (raw)
Hi,
How would I force the maximum bandwidth to be less than
the speed of the NIC? for example I have 2 10Mbit NIC's eth0 and eth1,
and I want to force the total thoroughput down to 200Kbit/s
Is the following legitmate:
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 200Kbit avpkt 1000
tc qdisc add dev eth1 root handle 2:0 cbq bandwidth 200Kbit avpkt 1000
OR is it more appropriate to specify it as follows ( Thanks Rodrigo for
the suggestion )
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 10Mbit rate 200Kbit
bounded
tc qdisc add dev eth0 root handle 1:0 cbq bandwidth 10Mbit rate 200Kbit
bounded
I'm a little confused on the best way to go here.
Thanks,
Andy
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
reply other threads:[~2001-06-04 16:36 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-99167295721978@msgid-missing \
--to=apyles@telverse.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