Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] Maximum bandwidth question
@ 2001-06-04 16:36 Andy Pyles
  0 siblings, 0 replies; only message in thread
From: Andy Pyles @ 2001-06-04 16:36 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-04 16:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-04 16:36 [LARTC] Maximum bandwidth question Andy Pyles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox