Weird(?) HTB3 setup

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I want to be able to specify actions for different classes of
traffic in any of these four ways, and I'd like to use only
HTB if possible:

1. No guranteed rate, No ceil
2. Guaranteed rate, No ceil
3. No guranteed rate, Ceil specified
4. Guaranteed rate, Ceil specified

For types 2, 3 and 4 there can be several classes of each, with
different rates and ceilings.

4 is ofcourse easy. 2 is also easy - just set ceil to the ceil of
the parent class. But I'm not sure whether 1 can be accomplished
with this:

> there is build-in passthru class named X:0 where X is your
> handle. Simply set "default 0" when creating htb and all
> unclassified packets will go directly thru.
> devik

Does "go directly thru" mean that unclassified packets are sent
*before* packets belonging to a class with a guarateed rate? Or
does it mean that unclassified packets get sent when there is
bandwidth to spare (which is what I want) ? And what about lending?
In what proportion does this "passthru class" lend bandwidth compared
to other classes?

And for 3 I have no idea if it's possible using only HTB? Setting
rate to 0 doesn't work.

//Marcus
-- 
---------------------------------------+--------------------------
  Marcus Sundberg <marcus@ingate.com>  | Firewalls with SIP & NAT
 Firewall Developer, Ingate Systems AB |  http://www.ingate.com/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux