Child pages
  • Change IP address on Solaris 11
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.35/24
net0/v6 addrconf ok – fe80::8:20ff:fed6: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:fed6:118c/10

root@named1:~# ipadm create-addr -T static -a 192.168.10.25/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.25/24
net0/v6 addrconf ok – fe80::8:20ff:fed6:118c/10

  • No labels