Before You Begin
Ensure that your role has the appropriate rights profile to perform this procedure. See Using Rights Profiles to Perform Network Configuration.
For example, to create the net0 IP interface, you would type:
$ ipadm create-ip net0
Use one of the following commands depending on the type of address:
To create temporary addresses for the host's interface, see Using Temporary Addresses for an IPv6 Interface. For details about the /etc/inet/ndpd.conf file, see the ndpd.conf(5) man page.
$ ipadm show-addr
The following example shows how to enable IPv6 on the net0 interface.
$ ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 net0/v4 static ok 203.0.113.74/24 $ ipadm create-addr -T addrconf net0 $ ipadm create-addr -a 2001:db8:3c4d:15::203/32 net0 $ ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 net0/v4 static ok 172.16.27.74/24 net0/v6 addrconf ok 2001:db8:203:baff:fe13:14e1/32 lo0/v6 static ok ::1/128 net0/v6a static ok 2001:db8:3c4d:15::203/32