[LARTC] Some shaping questions....

2002-04-05 Thread David H
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello mailing list. I am sitting here at the office and after reading the Advanced routing howto, some iptables documents and Howto, I am not quite sure how to do this. I have the following setup and while I explain it, I would like to ask everyone

Re: [LARTC] htb ceiling

2002-04-05 Thread Martin Devera
you have error in conf. As you can see class 1:40 and 1:50 are added to the root not as 1:2 children. The output of htb.init is wrong - you can see that it uses 1:2 class before it demands its create ... I don't know htb.init - you will have to contact maintainer with bugrerport probably ;) devik

Re: [LARTC] htb ceiling

2002-04-05 Thread Stef Coene
No Stef, the rate is really measured - it is used as source for DRR weight (here it is used relative to other classes) and to see whether we need to borrow from parent - here absolute value matters. So that the example above should work and give 512k. So each class gets it's rate if it can

Re: [LARTC] htb ceiling

2002-04-05 Thread Stef Coene
On Friday 05 April 2002 14:10, Martin Devera wrote: you have error in conf. As you can see class 1:40 and 1:50 are added to the root not as 1:2 children. The output of htb.init is wrong - you can see that it uses 1:2 class before it demands its create ... I don't know htb.init - you will

Re: [LARTC] htb ceiling

2002-04-05 Thread Gavin
Ah, sweet. I just ran htb.init compile and moved the last line (tc class add dev eth1 parent 1: classid 1:2 htb rate 5Mbit burst 15k) to the third line, then ran it, and all was well. Thanks Martin and Stef, Gavin - Original Message - From: Martin Devera [EMAIL PROTECTED] To: Gavin

Re: [LARTC] htb ceiling

2002-04-05 Thread Martin Devera
the rate is really measured - it is used as source for DRR weight (here it is used relative to other classes) and to see whether we need to borrow from parent - here absolute value matters. So that the example above should work and give 512k. So each class gets it's rate if it can by

Re: [LARTC] How to share limited link ...

2002-04-05 Thread Stef Coene
On Friday 05 April 2002 16:42, Diego Almeida wrote: Hello , i have one 128kbit link , and i need share this link with 2 clients , client 1 is 10.100.100.2 and client 2 is 10.100.100.3 , i want limit client 1 with 64k and client 2 too. But if client 1 is noting using your 64k , forward your

Re: [LARTC] htb ceiling

2002-04-05 Thread Stef Coene
You can view it as system where all of these hold: 1. each class first uses all of its (absolute) rate 2. if there is no such class then each class can use part of parents rate if ceil allows for it and 3. the parts of the same parent are balanced according to relative values of