[LARTC] Isolated Class in HTB

Stef Coene stef.coene@docum.org
Tue, 4 Jun 2002 20:12:08 +0200


On Tuesday 04 June 2002 18:50, arisantois@unsoed.ac.id wrote:
> I see.. But Can I attach more than one root class in one Device
> (Ethernet)..? I am sorry but I don`t find any case or example like this
> before..
You can only attach one qdisc to a device.  If you want to have a class t=
hat=20
will not borrow, nor lend from/to other classes, you can do this (copied =
from=20
your setup) :

root qdisc
class 1:1 rate =3D ceil =3D 426 Kbit
   class 1:40  rate =3D ceil =3D 86 Kbit
   class 1:2  rate =3D ceil =3D 340 Kbit (426 - 86)
     class 1:20 rate =3D 86, ceil =3D 340 Kbit
     class 1:30 rate =3D 86, ceil =3D 340 Kbit
     class 1:50 rate =3D 64, ceil =3D 64 Kbit
     class 1:60 rate =3D 1, ceil =3D 10Mbit (Why ???)

class 1:40 will never lend nor borrow bandwidth from the other classes.

Stef

--=20

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