1834288 Members
2337 Online
110066 Solutions
New Discussion

Re: DHCP problems

 
Hadzon
Occasional Contributor

DHCP problems

I installed hpux 11.0. While installing, I configure system properties (hostname,IP, mask, network services, etc) to ask at first boot. when it boots first time, does not ask hostname and try to get it from DHCP server(new-host). Is there any way to disable DHCP client to get all information except hostname, so that I can set it.

Second problem is also about dhcp. When HP-UX machine gets information form dhcp at first time, it permanently adds ip, hostname and subnet mask to the /etc/hosts and /etc/rc.config.d/netconf files. Because of this system always take over the same IP, subnet mask, etc which he got at the first time.
When i look the dhcp client table, dhcp issues an IP address with the hostname new-host and start issuing/expiring IPs with the name new-host-2 till the range ends.

Any help!
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: DHCP problems

Shalom,

1) set_parms
As root this will let you re(set) the hostname.

2) Sounds like a possible dhcp server problem. Maybe set the lease time longer.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hadzon
Occasional Contributor

Re: DHCP problems

Thanks stenven!

but set_parms only allow me to reset when i disable dhcp on the machine. dhcp client should run but i want to specify hostname sepreatly. (same like linux)

Increasing the lease time didn't work. I have another machine with linux, it works fine with the same dhcp server.