How to change IP address

If your solaris system has a static address assigned to it and you wish to change it, simply update the files corresponding to your version of Solaris as explained below.

Solaris 9 and below change the IP in following file

/etc/hosts

Solaris 10 till update 3

/etc/hosts

/etc/inet/ipnodes

Solaris 10 update 4 and later

/etc/hosts

In case you also want to change your gateway, change the router address in…

/etc/defaultrouter

Also ensure that you have the correct netmask mentioned in the file…

/etc/netmasks

Create the netmasks file if it does not exist.

Advertisements

One Response to How to change IP address

  1. ip changer says:

    I tried to change my ip address, it is little hard.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: