Hi again, Ruslan,

No problem at all--that's what mailing lists are for....

 : Can you tell me how to make so that i will have three htb classes
 : ('local' - 60Mbit, 'internet' - 512Kbit, 'outgoing inet' - 128Kbit)
 : under root qdisc,

If you trawl back through the archive some, you'll find plenty of
examples.

I'd recommend looking at the wondershaper, too....but here's the brief
answer:

  classes

   cap (100Mbit?)
   1:1 -----+----------- 1:2  (sfq qdisc)  rate = ceil = 60Mbit
            |
            +----------- 1:3  (sfq qdisc)  rate = ceil = 128kbit
            |
            +----------- 1:4  (sfq qdisc)  rate = ceil = 512kbit

You might consider making 1:2 the default class.

 : so that they won't borrow each other?

HTB classes never borrow from each other.  They only (optionally) borrow
up to ceil from their parent.

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED]

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to