DESCRIPTION
The
ipadm command is a stable replacement for the
ifconfig(1M) and
ndd(1M) commands. It is used to create IP interfaces and to configure IP addresses on those interfaces. It is also used to get, set or reset properties on interfaces, addresses and protocols.
For subcommands that take an
addrobj, the
addrobj specifies a unique address on the system. It is made up of two parts, delimited by a ‘/’. The first part is the name of the interface and the second part is a string up to 32 characters long. For example, “lo0/v4” is a loopback interface
addrobj name.
For subcommands that take a
protocol, this can be one of the following values:
ip,
ipv4,
ipv6,
icmp,
tcp,
sctp or
udp.