1838661 Members
10612 Online
110128 Solutions
New Discussion

Re: DHCP client problem

 

DHCP client problem

Hello,

first of all let me state that i'm new to HPUX, though i'm experienced in SUN Solaris and LINUX. HPUX seems a bit different to me....

I've got a HP C3600 machine with HPUX 11.0 initially installed without DHCP client functionality. Now i tried to change the behaviour of the system to get it's IP adress from a DHCP server (which by the way is a Windows 2000 system).

This is what i tried:

- edit /etc/rc.config.d/netconf and set the value
DHCP_ENABLE[0]=1
After a reboot this value changes back to 0 by some ghosts i don't know (may be auto_parms?) and there are no entrys in auto_parms.log which make sense to me. And the system did not have the new IP.

- started 'sam', double-clicked [Networking and Communications]. Double-clicked
[Network Interface Cards] and klicked on the button 'ENABLE DHCP'. Then left 'sam' and checked that the appropriate value has changed in /etc//etc/rc.config.d/netconf.

After reboot the system didn't have a new IP and DHCP_ENABLE[0] is back to zero again.

I read the very copmrehensive posting from Ron Kinner at

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x756342308663d611abdb0090277a778c,00.html

but it didn't help me so far. I got stuck. Even a network sniffer which i wanted to capture the communication between the HP station and the DHCP server didn't show anything, it seems to me the HP station doesen't even try to contact a DCHP server...

Any ideas? Thanks in advance

Greetings
Thorsten
everyone starts as a beginner...
7 REPLIES 7
Peter Kloetgen
Esteemed Contributor

Re: DHCP client problem

Hi Thorsten,

did you allready try the following command:

set_parms initial ?

You will get a GUI in which you can do the needed settings, like new IP- adress, enable DHCP and so on.

Allways stay on the bright side of life!

Peter
I'm learning here as well as helping
Ravi_8
Honored Contributor

Re: DHCP client problem

Hi,

#set_parms initial

This process ask you for DHCP enable , say yes, then your machine will pickup the IP from ur DHCP server. ofcourse you need to reboot.
never give up
Hartmut Lang
Trusted Contributor

Re: DHCP client problem

Also you should look at this thread (and the link mentioned in there).

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x75f6c6af36b7d5118ff10090279cd0f9,00.html

Hartmut
U.SivaKumar_2
Honored Contributor

Re: DHCP client problem

Hi,
If your LAN card is lan0 then do this edit /etc/rc.config.d/netconf and change the line DHCP_ENABLE[0]=0 to DHCP_ENABLE[0]=1
If you have a another card lan1 and so it will be DHCP_ENABLE[1]=1 and so on.
#touch /etc/dhcpclient.data
#shutdown -r

regards,
U.SivaKumar
Innovations are made when conventions are broken
U.SivaKumar_2
Honored Contributor

Re: DHCP client problem

Hi,
before doing the things i have mentioned in my
previous post pl do this,
#rm /etc/dhcp*


regards,
U.SivaKumar
Innovations are made when conventions are broken

Re: DHCP client problem

Hello

and thank you all for your kind support. I've just figured out that the problem wasn't the DHCP communication but an old DNS entry. DNS service runs on the same machine as the DHCP service and therefore answered with an old IP.

Now that DHCP seems to be working fine the NFS makes problems while booting the HP workstation.

NFS server not responding, still trying...

Eeeerrr......who told it to look for an NFS server?

Thanks again, best regards



everyone starts as a beginner...

Re: DHCP client problem

Me again,

sorry for waisting your time, but as i allready mentioned....

U.SivaKumar, one question to your answer: why do i have to create an empty /etc/dhcpclient.data to get a new lease from my DHCP server?? Whenever i do this, it works....i know the lease is still valid, but should'nt that be thrown away on a new reboot?

The problem with NFS remained until i told the system neither to be a NFS client nor a server...

How do i achieve the /etc/hosts file to be upated with the IP address for my system which it has gotten from the DHCP server? Doesen't the DHCP client functionality this do automatically?

So many questions, and only such a short time to live.... :-)

Regards,

Thorsten
everyone starts as a beginner...