Obtaining and Compiling IPROUTE2

The ip utility is just one of the utilities in the IPROUTE2 utility package from Alexey Kuznetsov. The primary FTP site is located in Russia at ftp://ftp.inr.ac.ru/ip-routing/, and mirrors exist all over the world. You will need to obtain the latest package, usually called iproute2-current.tar.gz, symlinked to the latest dated version. The version covered here is the 2000-10-07 version of IPROUTE2. Note that unless you have a custom compiled kernel with all of the advanced routing elements selected, most of the here examples here and in the rest of the book will not work. See Appendix B, "Source Code Listings and Locations," for the options you will need in your kernel.

Once you have the utility, you need to unpack ...

Get Policy Routing Using Linux® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.