Conflict in designing HTB tree...
I have 1024 Mbit link to Internet.
This link is shared by 3 LANs on my linux box.
And now - I have to design that these 3 LANs
gets some fragment of bandwidth. For example, rates are: 128/384/512. Ceil is always at link speed. I keep rule from FAQ on www.docum.org, which learn
us: sum of childs rates <= ceil of parent.
But if I define 3 classes based of customer conception (paying for desired bandwidth), where is place for creating some interactive classes for traffic like ICMP, ACK responses and so on ? If I define next class, give it highest priority, rate of 512 kbit, this exceeds rule from FAQ, because 128+384+512+512 is not 1024 at all ;-) So, how to resolve this kind of problem ? Or better I have to change conception, and assume that I must create all kind of classes (interactive, for big traffic and others) WITHIN parent customer classes, on 'per customer' basis ? This is not clear explained in manuals...
Signature · 8 lines
Leszek A. [The chance of a lifetime is passing you by.] Szczepanowski [ Use it or lose it in the wink of an eye. ] [email protected] [ Turn around, giving more than you take. ] gg:275696 [ Lost and found in the past. ] _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · Leszek A. Szczepanowski
I have 1024 Mbit link to Internet.
This link is shared by 3 LANs on my linux box. And now - I have to design that these 3 LANs gets some fragment of bandwidth. For example, rates are: 128/384/512. Ceil is always at link speed.
Quoted 8 lines
I keep rule from FAQ on www.docum.org, which learn
us: sum of childs rates <= ceil of parent.
But if I define 3 classes based of customer conception (paying for desired bandwidth), where is place for creating some interactive classes for traffic like ICMP, ACK responses and so on ? If I define next class, give it highest priority, rate of 512 kbit, this exceeds rule from FAQ, because 128+384+512+512 is not 1024 at all ;-)
You can do this. But then it's possible that you are sending more data then your link can handle. This is not problem, but it's possible that use some control over the bandwidth and that your latency goes up (modem queue will be filled).
Quoted 4 lines
So, how to resolve this kind of problem ? Or better I have to change conception, and assume that I must create all kind of classes (interactive, for big traffic and others) WITHIN parent customer classes, on 'per customer' basis ?
Indeed. You can create extra classes within the the customer class so you can give some packets a higher priority.
Stef
Signature · 8 lines
[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/