Operating System - HP-UX
1833742 Members
2756 Online
110063 Solutions
New Discussion

How to configure DHCP on HP-UX 11.00 ?

 
Tal Drigov
Advisor

How to configure DHCP on HP-UX 11.00 ?

Hi,

I have access to the net only via DHCP, gateways, ip's, DNS server, the works.
How do I configure DHCP to work on HP-UX ?
16 REPLIES 16
T G Manikandan
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

change your /etc/rc.config.d/netconf file like

DHCP_ENABLE[0]=1



THanks
Ravi_8
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

Hi,

set the flag DHCP_ENABLE[0] to 1 in /etc/rc.config.d/netconf file and reboot
never give up
Tal Drigov
Advisor

Re: How to configure DHCP on HP-UX 11.00 ?

and besides that ?
T G Manikandan
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

That should be enough.

Tal Drigov
Advisor

Re: How to configure DHCP on HP-UX 11.00 ?

Well, probably not.
I've enabled the DHCP in the /etc/rc.config.d/netconf and removed any IP's, Subnet Masks etc... the dhcp doesn't work.

Is there any cookbook for the procedure ?
T G Manikandan
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

Ravi_8
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

Hi.

Once i had this problem. after setting the DHCP_ENABLE flag to 1, machine was not coming up using DHCP. then this solution given by Alex glennie worked for me.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x44a979bffde7d4118fef0090279cd0f9,00.html
never give up
Tal Drigov
Advisor

Re: How to configure DHCP on HP-UX 11.00 ?

Well, the next parameters were entered into netconf:

NTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]=""
SUBNET_MASK[0]="255.255.255.255"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=1


after reboot, still no change.

Can't obtain DHCP address nor nothing.

T G Manikandan
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

Any messages on the screen
Ravi_8
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

Hi,

remove the entry in /etc/hosts if exists.
check the network cable/port
never give up
Tal Drigov
Advisor

Re: How to configure DHCP on HP-UX 11.00 ?

I blanked out every parameter in netconf and DHCP_ENABLE[0]=1

rebooted the system and still nothing.

The system boots up fine without any errors....:-(
T G Manikandan
Honored Contributor

Re: How to configure DHCP on HP-UX 11.00 ?

Is the dhcp server on a different network?
When you boot your machine does the set_parms script execute and ask for to enter the ip,hostname,etc./.
Tal Drigov
Advisor

Re: How to configure DHCP on HP-UX 11.00 ?

when I try to run set_parms initial, I got a question 'if i'd like to connect this computer to the network" - I answer yes. then I got a question offering me to connect to DHCP server. I click yes, while at the hpterm there's an error that says:

ch_rc: no file(s) specified for add operation.

HELP! AAAAAAAARRRRRRGGGGGGHHHHHH
Larry Reinhart
Advisor

Re: How to configure DHCP on HP-UX 11.00 ?

Hi Tal,

You say you blanked all the fields in your netconf file. Did you also blank out the ROUTE variables also? I don't think you should. The route should be static.

What do you have for entries in your nsswitch.conf and resolv.conf files?

Also check the /usr/lib/dhcpdb2conf program and appropriate man pages.

Have a great HP day!
Larry
Tal Drigov
Advisor

Re: How to configure DHCP on HP-UX 11.00 ?

nsswitch.conf has all the parameters has "files".
resolv.conf is marked out.

I'm thinking more in the direction of the DHCP server itself. is there any problems or restrictions for the DHCP server to be Windows (Microsoft) based while the client is HP-UX ?