Operating System - HP-UX
1834374 Members
2607 Online
110066 Solutions
New Discussion

Re: sending hostname with DHCP

 
SOLVED
Go to solution
chris saxey
Occasional Advisor

sending hostname with DHCP

I am trying to configure some HP-UX boxes to send their hostnames with the dhcp request. I am using versions 11.11 and 11.23. Does anyone have any idea how to do this?
Thanks.
4 REPLIES 4
VK2COT
Honored Contributor
Solution

Re: sending hostname with DHCP

Hello,

If I understand your question correctly,
then the answer is simple with standard
HP-UX:

Check dhcpclient(1m) command.

It is a client for DHCP server.

Simple example:

# dhcpclient -b lan0 -N "myhostname"

Cheers,

VK2COT
VK2COT - Dusan Baljevic
chris saxey
Occasional Advisor

Re: sending hostname with DHCP

Where is that command found? I tried that on the clients, but it was not found. If this is a server command, I am running w2k3 as the DNS server.
Thanks.
VK2COT
Honored Contributor

Re: sending hostname with DHCP

Have you looked in /usr/lbin/dhcpclient?

Cheers,

VK2COT
VK2COT - Dusan Baljevic
chris saxey
Occasional Advisor

Re: sending hostname with DHCP

The machines restarted last night after applying some patches, and they sent the hostname up automatically. I also was able to use the command to do it with others. /usr/lbin wasn't in my path.
Thanks for the help.