Today I just wanted to document here the quickest and easiest way of setting your Solaris box as a DHCP client.
1. Create the /etc/hostname. file
solaris# touch /etc/hostname.skge0
2. Create the /etc/dhcp. file
It can be an empty file, but you can also use it to specify how long ifconfig should be waiting for a DHCP-server reply before giving up and continuing with Solaris boot.
solaris# cat /etc/dhcp.skge0 wait 60
3. Specify your system name
It has to be specified in /etc/nodename. This name is going to be used as your hostname in case your DHCP-server does not return your hostname in reply to your DHCP-request.
THat’s all. Reboot your system, and it all should work! Enjoy! 🙂