iproute2 is a software package that provides various tools for advanced routing, tunnels, and traffic control.
iproute2 was originally designed by Alexey Kuznetsov, and is well known for implementing QoS in Linux kernels and is now maintained by Stephen Hemminger. The primary site for iproute2 is http://linux-net.osdl.org/index.php/Iproute2 and its main documentation site is http://www.lartc.org.
The most important tools that iproute2 provides are ip
and tc
.
The ip
tool provides most of the networking configuration a Linux box needs. You can configure interfaces, ARP, policy routing, tunnels, etc.
Now, with IPv4 and IPv6, ip
can do pretty much anything (including a lot that we don't need in our particular situations). The syntax of ip
is not difficult, and there is a lot of documentation on this subject. However, the most important thing is knowing what we need and when we need it.
First of all, ip
is the main tool we need for...