Operating System - HP-UX
1836752 Members
2630 Online
110109 Solutions
New Discussion

Setting up DHCP Client on Model 712/60 HP/UX 10.10

 
Virendra Agarwal
New Member

Setting up DHCP Client on Model 712/60 HP/UX 10.10

Need complete instructions for DHCP setup.
I am using cable modem and DSL/Cable Firewall/Router from Linksys to setup HP machine as DHCP Client.

I have looked through SAM (networking->set DHCP for remote server) and also tried setting
DHCP_ENABLE[0]=1 in '/etc/rc.config.d/netconf file.
Also, looked at commands 'dhcptools','bootpd','bootps' and entry for 'bootps' in '/etc/inetd.conf'.
Thanks for any help !!
1 REPLY 1
Berlene Herren
Honored Contributor

Re: Setting up DHCP Client on Model 712/60 HP/UX 10.10

Here are some troubleshooting steps that may assist you.

. Reconfigure inetd with -d 8 on bootps; restart inetd with "inetd -c",
then tail syslog:
tail -f /var/adm/syslog/syslog.log | grep bootp

The usual things to look for:
- Is the client request reaching the server at all?
- Does the server make a reply to the client?
- Is the reply appropriate for the client?

2. Next trace the DHCP packets flowing in and out:
/usr/sbin/dhcptools -t ct=100

This turns on tracing and writes the full contents of 100 packets in a file named "/tmp/dhcptrace". Be aware that you must always use the "ct=NN" option, because the default number of packets to trace is zero.

The maximum number of packets to trace is 100, which is plenty.

3. Next dump the internal state of the daemon.
/usr/sbin/dhcptools -d

This dumps :
- dynamic info into "/tmp/dhcp.dump.other"
- lease info into "/tmp/dhcp.dump.dhcptab" (a more verbose version of "/etc/dhcpdb")
- other info into "/tmp/dhcp.dump.bootptab"

More information can be found in the "getting started" chapter of Installing and Administering Internet Services, located at

http://www.docs.hp.com/hpux/onlinedocs/B2355-90147/B2355-90147.html

Regards,
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm