Adam,
I have recently been championing tcng. I''d recommend using tcng on
account of the simplicity of the syntax of the language for describing
traffic flows. The tcng configuration is read and parsed by tcc which
generates tc output. This output is run through a shell which applies the
traffic control configuration.
I find the tcng language much more intuitive for describing traffic
control than the tc command syntax which (though logical) seems very
repetitive.
There is a slightly increased complexity in initial configuration (your
kernel and tc should probably support dsmark), but the ease with which you
can write and test new and different configurations outweighs this cost.
: Maybe I could get a couple of replies with scripts you''re using for
: your situation with a brief description of the problem that this script
: solves?
I have written an article/HOWTO about the use of tcng and htb, which
currently includes two simple annotated examples.
http://linux-ip.net/articles/Traffic-Control-tcng-HTB-HOWTO.html
I welcome comments and criticism. I welcome also other tcng examples!
: Reading documentation is good but I find that the best way to
: learn is to see examples to better understand where certain things come
: into play.
This is my first major step in this project. I envision the HOWTO growing
as I find time to add examples of other tcng building blocks. I, too,
believe in the illustrative value of examples.
I would strongly recommend studying the LARTC HOWTO [1] and Stef
Coene''s
site [2] because implementing traffic control does require an
understanding of the entire system--tcng allows you to take advantage of
this system.
-Martin
[1] http://lartc.org/howto/
[2] http://www.docum.org/
: Is there anywhere I could find example scenarios and then example
: scripts as a solution for that scenario? I''m looking for examples
that
: cover the common needs. Ie: "I need to let downloaders download while
: giving priority to web browsing traffic", "I would like to split my
: xkps line into 2 giving this person half the line and this person the
: other half, but when person 1 isnt using anything then person 2 can
: have it all, and the other way around". Any links to examples like this
: would be helpful. I''m still reading over the gaming script that was
: posted yesterday trying to understand how it works :).
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/