Showing posts with label tc filter. Show all posts
Showing posts with label tc filter. Show all posts
Friday, October 7, 2011
Thursday, October 6, 2011
traffic shaping with linux
Examples
This is by no means comprehensive. I may add to this when I get more of a chance. There are Wonder Shaper or the ADSL Bandwidth Management HOWTO. (though I feel that they are inadequate or employ the wrong strategies).tc, qdiscs, classes, filters, oh my!
tc, the traffic control tool, is used to configure the Linux kernel to accomplish the shaping, scheduling, policing, and dropping of packets.Each interface by default has a root qdisc. By default, it uses pfifo_fast algorhythm (in our case, it will be configured to use HTB). Think of the root qdisc as the main container that everything resides. Inside the root qdisc, we can classify various types of traffic into classes and attach them to the root handle. After the classes have been defined, filters are used to match and redirect the packets into the right classes.
Subscribe to:
Posts (Atom)