ip address—Protocol Address Management

address refers to a protocol (IPv4 or IPv6) address attached to a network device. Each device must have at least one address in order to use the corresponding protocol. It is possible to have several different addresses attached to one device. These addresses are not discriminated within the protocol structure, so the term alias is not quite appropriate for such multiple addresses. I will not refer to this situation in those terms.

Abbreviations: address, addr, a

Arguments

add, delete, flush, show (list)

The ip addr command allows you to look at the addresses and their properties on an interface. You can add new addresses and delete old ones without regard to any ordering. Later in this section you will see ...

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.