Linux Advanced Routing & Traffic Control

Linux has very advanced routing, filtering and traffic shaping options. This site pulls together information about the Linux ip and tc commands that are part of the iproute2 package that provide this power and flexibility.

Read the HOWTO section for the gory details of networking. You can also read the manpages section to learn about individual tc and ip commands. The information on this site is current for networking in Linux 2.2 and 2.4. The pages of this site are also contained in a git repository so that others can contribute to the site. See the Participate section for more details.


Looking for the ADSL/Cable Wondershaper?
Read the latest.


The HOWTO is a large, multi-chapter document that covers all of Linux networking in the 2.2 and 2.4 kernels. It is available in several formats:

Note: There have been many relevant developments — especially in networking — in Linux up through the current 3.14 kernel that have not yet been incorporated into this document.


The French version made available by Laurent Foucher and Philippe Latu from the Technology Institute of the University of Toulouse plus Thierry Mallard and Yannick Quenec'hdu from Idealx. Terrific work!

Participate in the project

This HOWTO is intended to be very much a Bazaar style development. If it were to be any more open, bits would fall out.

A GIT tree of the original site is available here: The re-organized and reformatted version is at: To get a copy, use a GUI client, or use these commands:

$ git clone git://
or (if you're behind a firewall which only allows HTTP)
$ git clone
Enter the checked out directory:
$ cd lartc.git
If you want to update your local copy, run
$ git pull

If you made changes and want to contribute them, run 'git diff', and mail the output to, we can then integrate it easily. Thanks! Please make sure that you edit the .db file, by the way, the other files are generated from that one. The idea is that this HOWTO will be a cooperative effort, much like the Linux kernel itself.

Jobs list

Like the Linux kernel, we have a list of tasks for fixing this site. If you have any expertise in any of these areas, please pitch in.

About this site

Note: This site has been slightly re-organized, and reformatted to use Bootstrap3 CSS. It contains the lion's share of the contents from the original LARTC site ( It may still have some broken links. We'll fix them as we go.

W3C Validation