SUMMARY: DHCP and Solaris 9 - hostname issue

From: <>
Date: Tue Sep 23 2003 - 10:27:21 EDT
Thanks to:

Schaper, Soeren

Hichael Morton


Pete Geenhuizen

Seems to be a well known problem (mentioned in list archive and sunsolve).
Solution: You have to modify the startup scripts because the Windows DHCP server
doesn't return the hostname to the Solaris DHCP client.

The problem is described in sunsolve (FAQ ID 3477)

Or sunsolve BUG ID 4496716 and 4721209

Pete mentioned the link




I set up a new Sun Blade 2000 as a DHCP client. DHCP server is a Windows server .
Everything works EXCEPT the hostname assignment. Parameters like IP address,
submask, DNS domain and server, default router, ... are assigned, but not the hostname.
Therefore the Blade gives itself the name "unknown".

As far as I understood you fill in the name in the files /etc/default/dhcpagent and /etc/hostname.eri0
(in the form "inet <desired_name>"). The request is sent to the DHCP server, the DHCP server
initiates a dynamic DNS update BUT does not return the requested hostname!
Therefore "/sbin/dhcpinfo Hostname" returns nothing and the scripts  /etc/rcS.d/
and /etc/rc2.d/S72inetsvc assign the hostname "unknown".

Is there a way to force the DHCP client to use a special hostname without the necessity that the
DHCP server returns the requested hostname as a DHCP option?
sunmanagers mailing list
Received on Tue Sep 23 10:27:18 2003

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:23 EST