1833695 Members
3653 Online
110062 Solutions
New Discussion

DHCP options

 
doug wright_2
New Member

DHCP options

I am wondering if there is a way for HP-UX 11 to pass its hostname up to a DHCP server when requesting/maintaining a DHCP lease. I know that 10.2 supported this, but when the workstations were upgraded to 11 this option was lost.

I seem to remember that there was a config. file in /etc that needed to be put in place, but I can't remember what the file name was or what to put in it.

Any help would be greatly appreciated.
3 REPLIES 3
Craig Gilmore
Trusted Contributor

Re: DHCP options

Hmm... checked on a 10.20 system in my office, perhaps you are thinking of Client_ID? This is about the only way I know of for a DHCP client to pass any info up to a Lease grantor.

Perhaps you are thinking of /etc/dhcpclient.data as the file containing the config parms? Or the dhcpdb2conf utility setting this up? The dhcpclient.data file would be setup by auto_parms.

Since you're using dhcp for config info anyway, I would recommend booting the workstation again, after blanking the hostname in the config files, and allowing auto_parms to call set_parms and setup the configs again.

Regards,

CG
harry d brown jr
Honored Contributor

Re: DHCP options


Can I ask a question here?

Why would anyone in their right mind use dhcp to obtain a servers network information? Are these servers on wheels roving about the country needing to obtain dynamic networking information?? I can understand desktops, laptops, and other potentially "mobile" devices, but a server in a RACK?? To me it sounds like laziness?


live free or die
harry
Live Free or Die
doug wright_2
New Member

Re: DHCP options

I suppose I was a little vague in my post. I am wanting to configure the workstations -- not servers -- to be able to pass the hostname that they were configured to use during the installation. The reasoning behind this, is that right now the DHCP server on campus is running on a Unix platform. In this solution, the server knows wthat the hostname for each workstation should be because of a "host declaration" that ties the MAC address and the hostname together. This allows a user to move the workstation from one subnet to another and not have to worry about having to notify us to update the DNS entry.

The powers that be have decided to integrate the DHCP/DNS solution into the Active Directory implementation that they have bought into. In order for us to keep this functionality we will need to have them tell the server what their hostname is.

If you need more information, please let me know. I am familiar with dhcpclient.data and dhcpdb2conf - these are only designed to use the lease information that is obtained from the DHCP server.

The feature I am looking for is not documented (as far as man pages are concerned), but there use to be a document on HP's web site that mentioned a file in /etc that needed to be put in place that would hold the permanent name of the workstation, and pass it up to the server while doing any lease maintenance.

I know that Micro$oft and Linux clients (thanks to ISC's software) both have the ability to do this, and it works well in most cases. I am also looking in to whether Solaris clients also have this capability or not.

Again, any help would be greatly appreciated.