Operating System - HP-UX
1833552 Members
3912 Online
110061 Solutions
New Discussion

Re: Server boots with DHCP

 
SOLVED
Go to solution
Mukesh Jayawant
Occasional Advisor

Server boots with DHCP

my server is setup with static IP Address, but when i did a reboot of the server, DHCP services were started.....
i do not know how...
does anybody know how to disable the dhcp during the boot-up process??

7 REPLIES 7
Mukesh Jayawant
Occasional Advisor

Re: Server boots with DHCP

sorry i forgot to tell u that its a hp ia64 server with hp-ux 11.23
Rick Garland
Honored Contributor
Solution

Re: Server boots with DHCP

In the /etc/rc.config.d/netconf file, do you have DHCP_ENABLE=1?

Jeff_Traigle
Honored Contributor

Re: Server boots with DHCP

Not entirely clear what you mean so I'll cover both bases...

Check /etc/rc.config.d/dhcpd and be sure RUN_DHCPD=0. This will keep the DHCP daemon from running at boot time.

or

Check /etc/inetd.conf and be sure bootps is commented. If it isn't, comment it and run "inetd -c" to reread the config.

That covers you if you meant your server is trying to be a DHCP server. If you meant, it's trying to get an address from a DHCP server at boot, check that all DHCP_ENABLE variables in /etc/rc.config.d/netconf are set to 0.

BTW, as best as I can recall, some message about DHCP always appears during boot. As long as your netconf is configured not to enable it for the interfaces, the system is not trying to get an address from DHCP.
--
Jeff Traigle
Mukesh Jayawant
Occasional Advisor

Re: Server boots with DHCP

iam not sure what exactly is happening...but it seems that /etc/rc.config.d/netconf and /etc/rc.config.d/netdaemons were modified during boot and now netconf contains DHCP_ENABLE[0]=1

Mukesh Jayawant
Occasional Advisor

Re: Server boots with DHCP

bootps is commented in inetd.conf
Mukesh Jayawant
Occasional Advisor

Re: Server boots with DHCP

the problem is solved...

i changed the netconf file and booted the system once again. this time it came with out ny hiccups...

thanks for ur valuable inputs
Mukesh Jayawant
Occasional Advisor

Re: Server boots with DHCP

changed the netconf file