Page 1 of 1

Solaris 10 DHCP client setup

Posted: Tue Dec 23, 2008 1:18 pm
by cah
1) Create the /etc/hostname.<interface> file

Code: Select all

For instance:
# touch /etc/hostname.vfe0
2) Create the /etc/dhcp.<interface> 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.

Code: Select all

# cat /etc/dhcp.vfe0
wait 60
3) 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.