Solaris: Change IP Address

When changing the IP address on a Solaris 10 box edit the hostname and IP address settings in the following files (if present):

  • /etc/hosts
  • /etc/defaultdomain
  • /etc/defaultrouter
  • /etc/hostname.[interface]
  • /etc/inet/hosts
  • /etc/inet/netmasks
  • /etc/inet/ipnodes
  • /etc/nodename

After making changes to these files restart networking with:
svcadm restart network/physical

Leave a Reply

  • (will not be published)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>