Changing IP and hostname in Solaris 10

Changing the IP on Solaris 10 requires editing two files:

  1. /etc/hosts
  2. /etc/inet/ipnodes

If you are changing network address, you will need to change the router address in the file:

  1. /etc/defaultrouter

Changing the hostname now only requires editing these files:

  1. /etc/hosts
  2. /etc/nodename
  3. /etc/hostname.*
Share