> > Total : 100
> > class1   rate 20   ceil 20
> > class2   rate 40   ceil 80
> > class3   rate 40   ceil 80
> >
> > class 1 is isolated like in cbq. It can not use more then it's
> > rate/ceil and class2 and class3 will never use bandwidth from class1,
> > only from each other. Just like the definition of isolated :)
>
> What happens when there is no traffic in class 1? Will class 2 and 3
> share class 1's bandwidth then?
No traffic in class 1 means that class2 and class3 will share the same 
bandwidth, but only 80 as maximum.  So the bandwidth of class1 (20) is 
isolated like you can set with cbq.
Htb is straight forward.  Each class will get's his rate as a minimum.  The 
remaining bandwidth is devided according to the rate (and lowest priority 
gets first choice) and this with a maximum of the ceil.

> The reason I am asking these questions is because I am trying to see if
> HTB can be used in place of CBQ in Diffserv. Has anybody tried something
> like this?
I didn't tried, but I think htb will do fine (or even better).

Stef

-- 

[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to