Re: [LARTC] a simple setup with tbf and prio?

Linux Advanced Routing and Traffic Control

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

 



On Mon, Apr 14, 2003 at 07:31:59PM -0500, Martin A. Brown wrote:
> You have more sophisticated needs, because you wish to:
>   - shape total traffic to a specified rate AND
>   - give priority to some traffic
I hoped classless merely meant it couldn't put stuff in different
classes, but that it could still serve as a parent to a single other
qdisc. Is there any fundamental reason why it can't, apart from 'code
simplicity'?

> You are in luck, because HTB (hierarchical token bucket) is a classful
> token bucket filter.  So, have a look at HTB [2], which is a part of
> kernel 2.4.20+.
I was avoiding it because it'd involve having to get a new version of
iproute2 :)

> If you are just learning traffic control for the first time, you will find
> the tc filter commands frustrating, so consider tcng.  I have written a
> brief HOWTO article on using tcng with HTB [5].  Traffic control next
> generation provides a much less opaque syntax (for humans) to describe
> traffic control structures.

Wasn't having too much trouble with tc, apart from the slightly
confusing error messages from time to time. But I wasn't aware there
were other tools out there, and if they support HTB out of the box
even better, I'll give it a try. Thanks! 

-- 
Frank v Waveren                                      Fingerprint: 21A7 C7F3
fvw@[var.cx|stack.nl|chello.nl] ICQ#10074100            1FF3 47FF 545C CB53
Public key: hkp://wwwkeys.pgp.net/fvw@xxxxxx            7BD9 09C0 3AC1 6DF2


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