Operating System - HP-UX
1833757 Members
3252 Online
110063 Solutions
New Discussion

Configure dhcp client on hp-ux 11.00

 
SOLVED
Go to solution
Silvia_11
Occasional Contributor

Configure dhcp client on hp-ux 11.00


I have got a DHCP server in a windows2000.
I would like to know the steps for configuring
dhcp client in workstations hp-ux 11.00
Thank you.
8 REPLIES 8
T G Manikandan
Honored Contributor
Solution

Re: Configure dhcp client on hp-ux 11.00

change the entry to 1 in the /etc/rc.config.d/netconf file
DHCP_ENABLE[0]=1


Now it should look something like

INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]=""
SUBNET_MASK[0]="xx.xx.xx.xx"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=1

Also make sure to reboot the workstation after this

REvert
Norman_21
Honored Contributor

Re: Configure dhcp client on hp-ux 11.00

Hello,

Add to your notes, /sbin/auto_parms in hp-ux, is like ipconfig/renew in Windows..I believe..

Good luck!
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Silvia_11
Occasional Contributor

Re: Configure dhcp client on hp-ux 11.00

Hi,

I have changed the file netconf as follow:

INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=192.168.5.255
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=1

But there is a problem, I reboot the machine
and when the startup hp-ux is running when
arrive to Lan interface is failed and the
machine not responding..

I think the machine can´t find dhcp server..
I have the DHCP/BOOTP enable, is that correct?
Thanks agai
T G Manikandan
Honored Contributor

Re: Configure dhcp client on hp-ux 11.00

you can try using sam for this

sam--Networking & comm--->network interface cards--->select the card-->modify

There you can enable it as a dhcp client.


check it and revert
Elmar P. Kolkman
Honored Contributor

Re: Configure dhcp client on hp-ux 11.00

I think you need to empty the netmask and broadcast fields to make it work...
Every problem has at least one solution. Only some solutions are harder to find.
Silvia_11
Occasional Contributor

Re: Configure dhcp client on hp-ux 11.00

I have enabled DHCP client through SAM and
I have seen the changes in netconf file. Is
like that:
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=192.168.5.149 (It´s my ip before DHCP client so it leaves the same).
SUBNET_MASK[0]=255.255.255.0
BROADCAST_ADDRESS[0]=192.168.5.255
INTERFACE_STATE[0]=up
DHCP_ENABLE[0]=1

I rebooted the machine.
In this case the machine started ok but when
I see the netconf file I go on having the
same ip 192.168.5.149 and the variable
DHCP_ENABLE[0]=0
Ohh, why??
Bye
Norman_21
Honored Contributor

Re: Configure dhcp client on hp-ux 11.00

My friend Silvia,

Please make sure you do not have any renamed netconf files under the same directory /etc/rc.config.d
if there is, then move them to /tmp.
I have seen some strange stuff like that when you rename the original and keep it in the same directory.
Also, please consider assigning points to people investing their time to help you out!

Take care
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Silvia_11
Occasional Contributor

Re: Configure dhcp client on hp-ux 11.00

Thanks for everybody,

I left empty all the entries, included
ROUTE_GATEWAY and also /etc/hosts, only with
localhost and it worked.

Thanks again.