Alfred's New Ramblings

Network configuration for Solaris

In Windows, you can change IP address, all in one place. For Solaris, it is slightly different.

IP Address
There are 3 files to configure a hosts IP address. The following is self-explanatory.

/etc/hosts
/etc/netmasks
/etc/defaultrouter

For Solaris 9 and above,

/etc/inet/ipnodes

You can change the ipaddress temporarily by using the ifconfig command

ifconfig hme0 netmask 255.255.255.0

Hostname
You will need to change quite a few files. The first two is the most important

/etc/hosts

/etc/hostname.*

/etc/nodename

/etc/net/ticlts/hosts

/etc/net/ticots/hosts

/etc/net/ticotsord/hosts

/etc/inet/ipnodes

Reference link link




Leave a Reply

Your email address will not be published. Required fields are marked *