- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: DHCP Client doesn't work on HP-UX 11i
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 06:08 AM - last edited on тАО04-20-2014 03:32 PM by Lisa198503
тАО03-12-2010 06:08 AM - last edited on тАО04-20-2014 03:32 PM by Lisa198503
Hi everybody,
I can't configure my HPUX system as a DHCP client. I tried everything...
In my /etc/rc.config.d/netconf , i have DHCP_ENABLE[0]=1 and auto_parms tells me :
checking network for DHCP server (see /etc/auto_parms.log)
In my /etc/auto_parms.log, i have :
dhcpclient returned general error on: lan0
I tried to do this command :
/usr/lbin/dhcpclient -b lan0 -p -l 8
and i have :
...
...
031210/150236 dhcpclient_17508 D/040: get_ppa_info: Found lan0 in ppa info list
031210/150236 dhcpclient_17508 D/040: extract_ppa: PPA is 0
031210/150236 dhcpclient_17508 D/040: dlpi_close: close(4) OK
031210/150236 dhcpclient_17508 D/002: lan0 interface is up, won't get new IP for it.
031210/150236 dhcpclient_17508 E/002: dhcpclient exiting with status of 4
What means "lan0 interface is up, won't get new IP for it." ?
Any help would be appreciated.
Regards,
P.S. This thread has been moved from HP-UX>System Administration to HP-UX > networking. -HP Forum Moderator
Solved! Go to Solution.
- Tags:
- DHCP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 06:16 AM
тАО03-12-2010 06:16 AM
Re: DHCP Client doesn't work on HP-UX 11i
A very common cause of this problem is the lack of a DHCP server to hand out an IP address.
With the exception of workstations, most HP-UX systems are servers and really would benefit from fixed IP address anyway.
Is there a DHCP server on the same subnet as the HP-UX system?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 06:18 AM
тАО03-12-2010 06:18 AM
Re: DHCP Client doesn't work on HP-UX 11i
I would guess that it means that lan0 has already been enabled and configured, therefore DHCP can't re-configure it. Check your netconf for lan0 entries.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 06:42 AM
тАО03-12-2010 06:42 AM
Re: DHCP Client doesn't work on HP-UX 11i
Yes i have a DHCP Server (Linux) on the same subnet and I'm sure that it works (no problem with Windows and Linux Servers)
I check and recheck /etc/rc.config.d/netconf
Anyways, this file is used by auto_parms only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 06:57 AM
тАО03-12-2010 06:57 AM
SolutionWell what did you find in it?
As Pete said if there are IP/subnet/gateway settings for lan0 they will be used to initialize lan0 and the dhcp client will fail as the error indicates.
> Anyways, this file is used by auto_parms only
Not quite! auto_parms (or set_parms) will *write* to this file but this file is *used* by the /sbin/init.d/net script to initialize the network when the server boots up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 07:27 AM
тАО03-12-2010 07:27 AM
Re: DHCP Client doesn't work on HP-UX 11i
If Pete is right and I suspect he is, the lan interface has an ip address and you are going to have to bring networking down and take care of this issue.
Again, if this is not a workstation, I question the need to do DHCP. Servers need fixed ip addresses so they can be found, if necessary by IP address.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 07:47 AM
тАО03-12-2010 07:47 AM
Re: DHCP Client doesn't work on HP-UX 11i
Here is my /etc/hosts :
127.0.0.1 localhost
Here is my /etc/rc.config/d/netconf :
HOSTNAME=sircct3
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=
SUBNET_MASK[0]=
BROADCAST_ADDRESS[0]=
INTERFACE_STATE[0]=
DHCP_ENABLE[0]=1
GATED=0
GATED_ARGS=""
RDPD=0
RARPD=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 08:09 AM
тАО03-12-2010 08:09 AM
Re: DHCP Client doesn't work on HP-UX 11i
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 08:12 AM
тАО03-12-2010 08:12 AM
Re: DHCP Client doesn't work on HP-UX 11i
ifconfig: no such interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 08:16 AM
тАО03-12-2010 08:16 AM
Re: DHCP Client doesn't work on HP-UX 11i
OK - how about posting these outputs:
lanscan
ioscan -kfnClan
Pete
Pete