How to change the IP address on SUN Solaris?

Hi,

I need help from SOLARIS expert. Can someone please tell me how to change the IP address on SUN Solaris?

I have two NMS-SUN machines (Ultra 10) running on Solaris ver. 8 to manage our network with the following IP addresses and SM:

cwmws1: 10.10.100.2 255.255.255.0
cwmws2: 10.10.100.3 255.255.255.0

Due to our network migration, I need to change the IP address of each machine to the new assignment given below.

cwmws1: 10.10.51.100 255.255.255.0
cwmws2: 10.10.51.101 255.255.255.0

Also, I need to change the default router address from 10.10.100.1 to 10.10.51.4.

Hence, please kindly send me the step by step procedure how I can achieve this.

Thanking you in advance.

Sincerely,
gkr

use the search funktion:

Hi,

What about if I use the command below to permanently change the IP address of my SUN Solaris Machines? Please check the command syntax if it is correct?

i.e. cwmws# ifconfig hme0 inet 10.10.51.100 netmask 255.255.255.0

Thanks,
gkr

if you reboot your maschine, the config is gone! look at my first post.