Sysadmin > SolarIs > ChangeHostnameOrIP

Change Hostname or IP

For changing hostname edit following files:

/etc/hosts

/etc/nodename

/etc/hostname.

and rename directory under /var/crash.

To change a static IP change:

/etc/hosts

/etc/inet/ipnodes

/etc/inet/netmasks

Reboot to have no old configs in the name cache.

And rename directory under /var/crash

# cd /var/crash
# mv oldname newname