General Command Structure

The ip utility has a global syntax structure that will be quite familiar to anyone that has ever configured a Cisco router using IOS. All of the commands start with ip followed by the appropriate object, such as addr or route, then followed by the arguments and information needed to perform the function. All IPv4 addresses and networks are specified using CIDR syntax, for example 127.0.0.1/8 for the loopback interface and network. All IPv6 addresses and network may be specified using collapsed notation (see Chapter 9, "IPv6" ).

This chapter presents a comprehensive description of the ip utility objects that you will be using. You will start by going through most of the ip commands in extreme detail, covering the link, ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.