Solaris 10 DHCP client setup

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Solaris 10 DHCP client setup

Post 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.
CAH, The Great
Post Reply