You need to edit two files to change the static IP address on Solaris 10. Note that one of the files can be a link to the other, so it’s enough to edit one of them.
To change the default gateway you must also edit the following file:
To change the hostname, three files must be edited:
[interface] is the NIC driver name and the instance number of the network interface, for example hme0, bge0, ce0, qfe0
To change the DNS one must edit
- /etc/resolv.conf – just like on most other *NIX systems
If you’re configuring a static address instead of DHCP, don’t forget to disable DHCP client!