SUMMARY: DHCP and Solaris 9 - hostname issue

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

Schaper, Soeren

Hichael Morton

Michael.J.Watson

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)
http://de.sunsolve.sun.com/private-cgi/retrieve.pl?doc=faqs%2F3477&zone_32=DHCP

Or sunsolve BUG ID 4496716 and 4721209
http://de.sunsolve.sun.com/private-cgi/retrieve.pl?doc=bug%2Fnetwork%2Fdhcp_client%2F4496716&zone_32=DHCP

Pete mentioned the link http://www.rite-group.com/consulting/solaris_dhcp.html

Regards,

Patrik



ORIGINAL POST:

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/S30network.sh
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
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
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