Operating System - HP-UX
1820072 Members
2492 Online
109608 Solutions
New Discussion юеВ

DHCP doesn't reply to Bootp

 
mehul_1
Occasional Contributor

DHCP doesn't reply to Bootp

I have a system(C360 with HPUX 10.20) that doesn't reply to any bootp requests. It replies to DHCP requests. I also enabled the Bootp option from network services in SAM but no luck. Can anybody know the solution ?
Live peacefully and let others as well.
4 REPLIES 4
Bill McNAMARA_1
Honored Contributor

Re: DHCP doesn't reply to Bootp

what does your /etc/bootptab look like?

Later,
Bill
It works for me (tm)
mehul_1
Occasional Contributor

Re: DHCP doesn't reply to Bootp


This is my dhcp file. 192.168.0.8 is my second LAN card on C360. and the directory img_2.2.* is in /home/tftpdir with all the permissions to all.

#-----------------
# Clearlake
#-----------------
dhcp_pool_group: pool-name=Clearlake: addr-pool-start-address=192.168.0.80: addr-pool-last-address=192.168.0.89: allow-bootp-clients=TRUE: lease-time=120: lease-policy=accept-new-clients: call-on-assignment=/home/jd/dev/nautilus/product/nautilus/release/bin/dhcpcall: hn: bf=img_2.2.04_release/bootImage: yd=img_2.2.04_release: nt=192.168.0.8: gw=192.168.0.8: subnet-mask=255.255.255.0
#-----------------
Live peacefully and let others as well.
S.K. Chan
Honored Contributor

Re: DHCP doesn't reply to Bootp

Since no specifics were mentioned, here a checklist on troubleshooting your bootp problem.
1. Make sure that bootp services are enabled in the /etc/services file. The entries should look like this:
bootps 67/udp # Bootstrap Protocol Server
bootpc 68/udp # Bootstrap Protocol Client

2. Check that bootp service is enabled in the /etc/inetd.conf file. The entry looks like this:
bootps dgram udp wait root /etc/bootpd bootpd

If the entry is commented; uncomment it and run inetd -c to re-read the config file.

3. Test bootp's ability to respond to the test address 080009000000 (found in the default /etc/bootptab or /etc/newconfig//bootptab file. The form of the command line is:

bootpquery 080009000000 -s

where is the host name, typically the machine where bootp testing is taking place. Two responses typical responses:

bootpquery: Bootp servers not responding!

if the bootp daemon is not working (see steps 1 and 2), or

Received BOOTREPLY from x.x.x.com

followed other test data from the /etc/bootptab file.

4. Start inetd logging operations with:

inetd -l

Detailed service logging will begin in the file /usr/adm/syslog at which point the bootpquery test can be run again, or the device needing bootp services can be powered on or restarted for bootp service.

Then look at the end of the syslog file as in:

tail /usr/adm/syslog

Typical bootpquery logging might be:

machine bootpd[39]: request from hardware address 080009000000
machine bootpd[39]: sending RFC1048-style reply

(the date stamp was not shown above) which indicates bootpquery and bootp ran correctly.

5. The bootp daemon may be run manually with the command:

bootpd -s -d 3

In this case, bootpd will never exit. The -d 3 option sets the
debugging level to 3 (highest level of information). Using the
-s option causes bootpd to not terminate, thereby bypassing the
automatic scheduling of bootp by inetd. Verify that bootpd is
running with: ps -ef|grep bootpd.

6. To verify that bootpd is listening for bootp requests, type

netstat -a |grep boot

and the line:

udp 0 0 *.bootps *.*

should be shown, indicating that bootpd is responding to any
bootp network requests.
mehul_1
Occasional Contributor

Re: DHCP doesn't reply to Bootp

Hi S.K.Chan

I am running all commands from super user and after trying "bootpd -s -d 3" it says bootpd not found. I checked in /etc and it's there. Permissions on bootpd are lr-xr--r-T and link is /usr/lbin/bootpd

what else I should try ? Actually I donot want bootpserver to reply bootprequests but I want DHCP server to reply all bootp and dhcp requests. Is it possible ? and how ?

Live peacefully and let others as well.