Traffic Control using tcng and HTB HOWTO

Version 1.0.1

Martin A. Brown
Network Administration

© 2006, Martin A. Brown

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no invariant sections, with no Front-Cover Texts, with no Back-Cover Text. A copy of the license is located at

April 2006

Revision History
Revision 1.0.12006-10-28MAB
Updating contact information
Revision 1.02003-04-16tab
Initial Release, reviewed by LDP
Revision 0.52002-04-01MAB
submit to tldp, rename/retitle with HOWTO
Revision 0.42002-03-31MAB
new example, bucket crash course
Revision 0.32002-03-16MAB
corrections and notes from Jacob Teplitsky, raptor and Joshua Heling
Revision 0.22002-03-15MAB
links, cleanup, publish
Revision 0.12002-03-14MAB
initial revision

Table of Contents

1. Introduction
1.1. What is traffic control and how does it work?
1.2. What is htb?
1.3. What is tcng?
2. Requirements
2.1. kernel requirements
2.2. tc requirements
2.3. tcng requirements
3. Configuration examples
3.1. Using tcng to shape download only
3.2. Using a two-rate three-color meter
4. Miscellaneous Notes
5. Links and Further documentation