On Saturday 02 November 2002 01:24, Kenneth Porter wrote: > --On Friday, November 01, 2002 09:51:28 PM +0100 Stef Coene > > <stef.coene@docum.org> wrote: > > Bandwidth is the maximum bandwidth of the device where the queue is > > attached. This can be a NIC or a class from another qdisc. For a > > root-qdisc, the bandwidth has to be the same as the bandwidth of the > > device where it's attached to and not the link bandwidth. All > > QOS-elements with the same major number, has to have the same bandwidth. > > I was a little confused by this. I have a 100 Mbps NIC, but it's connected > to a switch that throttles my allocation down to 4 Mbps. So which number do > I use for the root CBQ bandwidth? 100Mbit. After that, add a bounded class of 4mbit to the root qdisc. Add all other class to this bounded class. > I'm using the WonderShaper, and it looks like it uses the NIC's speed, not > the upstream cap. Is that correct, or a bug in the script? It's correct. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/