Operating System - HP-UX
1833777 Members
2677 Online
110063 Solutions
New Discussion

Define HP-UX workstation as DHCP-client

 
Schwerdtfeger
Occasional Contributor

Define HP-UX workstation as DHCP-client

Hi,

I tried to configure a HP-UX workstation as DHCP-client.
Setting in netconf:
DHCP_ENABLE=1,
IP_ADDRESS[0]=""
SUBNET_MASK[0]=""
ROUTE_GATEWAY[0]=""

Then I rebooted the machine, but DHCP is not working.

Message in auto_parms.log:
Lease valid but not updated for lan0

What's wrong?

Thanks for any help
Frank
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: Define HP-UX workstation as DHCP-client



# set_parms
Usage: set_parms
Where can be:
hostname
timezone
date_time
root_passwd
ip_address
addl_netwrk
or initial (for entire initial boot-time dialog sequence)

Hope it helps,

Robert-Jan.
Steven E. Protter
Exalted Contributor

Re: Define HP-UX workstation as DHCP-client

You need to make sure you can communicate with your DHCP server. Is it on the same subnet?

Are you getting a link light on the hub or switch?

This thread runs through the procedure, it should help solve the problem.

http://search.hp.com/redirect.html?url=http%3A//forums.itrc.hp.com/cm/QuestionAnswer/1,,0x44a979bffde7d4118fef0090279cd0f9,00.html&qt=Lease+%2Bvalid+%2Bbut+%2Bnot+%2Bupdated+%2Bfor+%2Blan0&hit=1

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
Ron Kinner
Honored Contributor

Re: Define HP-UX workstation as DHCP-client

Shouldn't it be:


LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=1

Ron
Shannon Petry
Honored Contributor

Re: Define HP-UX workstation as DHCP-client

You may have a hard time with this if your using a windblows dhcp server. As with everything else, MS makes it work with only their stuff, and everything else is a pain.

Normally, I reserve the IP's out of DHCP for my Unix systems.

You can try to follow those instructions, but all I have to say is good luck. I run Sun servers for DHCP now where I need to run it, and it works every time ;)

Regards,
Shannon
Microsoft. When do you want a virus today?