Chapter 4. IPROUTE2 Utility for Linux

This chapter covers the tool used in Linux for implementing Policy Routing. Because there are few other sources of information on this utility, this chapter's primary use will be as a reference on the command syntax and usage. As I illustrate the utility I will include examples of usage as well as notations about interactions with other networking utilities within Linux.

The utility used under Linux to implement Policy Routing is named ip as in the ip command from Cisco IOS. This utility was written by Alexey N. Kuznetsov, who also wrote the IPv6 and IPv4 routing code for Linux kernels starting with the 2.1 series. The ip utility can be used to provide all of the standard IPv4 functions discussed in Chapter ...

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.