1834251 Members
2497 Online
110066 Solutions
New Discussion

HPUX 10.20 DHCP Problem

 
François Chantry_1
Occasional Contributor

HPUX 10.20 DHCP Problem

I want to change my station from static IP to DHCP.

I changed the configuration in /etc/rc.config.d/netconf setting DHCP_ENABLE to 1

But when i reboot the station, it didn't get any adress and in the auto_parms.log i get 'DHCP is disabled for: lan0'.

With my laptop on the same connection, i get a DHCP adress without any problem.

What's wrong?
3 REPLIES 3
Kofi ARTHIABAH
Honored Contributor

Re: HPUX 10.20 DHCP Problem

You might want to check:

grep DHCP_ENABLE /etc/rc.config.d/* ( there might be a rogue netconf file in the directory)

Also try removing any IP address entries that you may have setup previously. If all fails, unconfigure the lan card from SAM and set it up for DHCP.

Good luck

Kofi
nothing wrong with me that a few lines of code cannot fix!
IT_2007
Honored Contributor

Re: HPUX 10.20 DHCP Problem

Please post netconf

cat /etc/rc.config.d/netconf |grep -v ^#

which will show only uncommented lines.
François Chantry_1
Occasional Contributor

Re: HPUX 10.20 DHCP Problem

Hello,

Here is my netconf file:

HOSTNAME="ouragan"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1



DHCP_ENABLE[0]=1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=195.16.10.53
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=195.16.10.255
LANCONFIG_ARGS[0]="ether"


ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=195.16.10.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""


GATED=0
GATED_ARGS=""


RDPD=0


RARPD=0


But when i reboot the machine the parameter DHCP_ENABLE[0] is set back to 0.

I have already tried to remove any adress from the netconf file. But i caught the same result.

regards