[LARTC] Please check the follow script for diffserv

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 07 August 2003 14:42, Steffen Moser wrote:
> Here, you should specify the physical bandwidth of your underlaying
> device (eth0), i.e. 100Mbit. You can't slow down the device at this
> position.
The bandwidth parameter is used in the internal calculations of cbq and it 
must be the real NIC bandwidth.  It has nothing to do with the bandwidth you 
want to manage on your link.  So bandwidth paramter is 10 or 100 mbit.

> Altough you set a maximum rate of 500Kbit for the BE class, this class
> borrowed additional bandwidth, of course, not from your EF class (which
> is isolated), but from the parent qdisc, which offers 100Mbit (because
> the underlaying device offers that much).
Be warned, isolated can break the cbq setup.  I did some tests with cbq 
classes and as long as you don't specify the isolated parameter eveything was 
fine.

> So, I've added one more class to your script - so my resulting script is:
I have 1 remark : the weight parameter. Take weight = rate / 10.

Stef

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux