Change the IP address of a Solaris 11 box permanently
root@named1:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
lo0 loopback ok – –
lo0/v4 static ok – 127.0.0.1/8
lo0/v6 static ok – ::1/128
net0 ip ok – –
net0/v4 static ok – 192.168.10.XX/24
net0/v6 addrconf ok – fe80::8:20ff:xxx:118c/10
root@named1:~# ipadm delete-addr net0/v4
root@named1:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
lo0 loopback ok – –
lo0/v4 static ok – 127.0.0.1/8
lo0/v6 static ok – ::1/128
net0 ip ok – –
net0/v6 addrconf ok – fe80::8:20ff:xxx:118c/10
root@named1:~# ipadm create-addr -T static -a 192.168.10.XX/24 net0/v4
root@named1:~# ipadm
NAME CLASS/TYPE STATE UNDER ADDR
lo0 loopback ok – –
lo0/v4 static ok – 127.0.0.1/8
lo0/v6 static ok – ::1/128
net0 ip ok – –
net0/v4 static ok – 192.168.10.XX/24
net0/v6 addrconf ok – fe80::8:20ff:xxx:118c/10