Tuesday, August 5, 2008

Change IP address in Solaris

If you are changing subnets modify these:

  • /etc/inet/netmasks
  • /etc/defaultrouter
  • /etc/resolv.conf

For Solaris 10, edit:

  • /etc/inet/hosts
  • /etc/hostname.*

For Solaris 8,9 and 10:

  • /etc/inet/ipnodes

For Solaris versions prior to 10, edit these too:

  • /etc/net/ticlts/hosts
  • /etc/net/ticots/hosts
  • /etc/net/ticotsord/hosts

No comments: