From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Andy Pyles" Date: Mon, 04 Jun 2001 16:36:45 +0000 Subject: [LARTC] Maximum bandwidth question Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/