From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] sample scripts
Date: Fri, 04 Apr 2003 15:33:54 +0000 [thread overview]
Message-ID: <marc-lartc-104947059413239@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104945409527503@msgid-missing>
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/
prev parent reply other threads:[~2003-04-04 15:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-04 11:00 [LARTC] sample scripts Adam Schrader
2003-04-04 15:33 ` Martin A. Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-104947059413239@msgid-missing \
--to=mabrown-lartc@securepipe.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.