1834909 Members
2448 Online
110071 Solutions
New Discussion

DHCP not functional

 
E. Wong
Frequent Advisor

DHCP not functional

In order to properly setup DHCP on HPUX 10.20, I had installed PHNE_15196 patch and edited /etc/dhcptab file.

At one point I was able to get it working, but now it just doesn't.

Any ideas, suggestions are welcome.

E
compute, therefore you are
4 REPLIES 4
sven verhaegen
Respected Contributor

Re: DHCP not functional

hi , could you elaborate ?? do you get any errors for instance in syslog , when you use dhcptools (it allows you to trace requests etc..) do you get any lease requests ??? this tool could tell you wether or not we are seeing leases and if anything at all is returned ... further is there anything unusual in dhcpdb , it is known that if your clients are PC's there could be situations in which a lease isn't awarded correctly , a client can Decline the IP , then a special decline message is sent , a tag is set on these adresses in the dhcpdb database ,and they are put away not used again , if you have used most IP's and heve non left because some are declined you could end up with some new stations not being awarded any adresses because non are available

clearing that lines from the DB will alow you to re-use the addresses..this are just some ideas I thing tracing with dhcptools will reveil the most info
...knowing one ignores a greath many things is the first step to wisdom...
S.K. Chan
Honored Contributor

Re: DHCP not functional

Quite a good resource. Click on "DHCP & DDNS" and see of you can find your answer there.

http://www.stokely.com/unix.sysadm.resources/faqs.a-m.html#faq.link.dhcp
E. Wong
Frequent Advisor

Re: DHCP not functional

To give you my syslog.log lines:

Jan 28 09:25:02 hp14 inetd[589]: bootps/udp: bind: Address already in use
Jan 28 09:25:02 hp14 inetd[589]: bootps/udp: Service enabled
Jan 28 09:35:03 hp14 inetd[589]: bootps/udp: bind: Address already in use
Jan 28 09:35:03 hp14 inetd[589]: bootps/udp: Service enabled
Jan 28 09:35:37 hp14 tftpd[23260]: Timeout (no requests in 10 minutes)
Jan 28 09:45:05 hp14 inetd[589]: bootps/udp: bind: Address already in use
Jan 28 09:45:05 hp14 inetd[589]: bootps/udp: Service enabled
Jan 28 09:46:03 hp14 bootpd[1019]: client 0.0.0.0 requested unknown/unservable
option.tag = 3f Jan 28 09:46:03 hp14 bootpd[1019]: client 0.0.0.0 requested unknown/unservable
option.tag = 3f
Jan 28 09:46:03 hp14 bootpd[1019]: client 0.0.0.0 requested unknown/unservable
option.tag = 4e

Jan 28 09:46:03 hp14 bootpd[1019]: client 0.0.0.0 requested unknown/unservable
option.tag = 4f

Jan 28 09:46:03 hp14 bootpd[1019]: client 0.0.0.0 requested unknown/unservable
option.tag = 55

Jan 28 09:46:03 hp14 bootpd[1019]: client 0.0.0.0 requested unknown/unservable
option.tag = 56

Jan 28 09:46:03 hp14 bootpd[1019]: client 0.0.0.0 requested unknown/unservable
option.tag = 57
compute, therefore you are
S.K. Chan
Honored Contributor

Re: DHCP not functional

Check if you got more that one inetd running. Either way, try to restart inetd.

# ps -ef|grep inetd
# /usr/sbin/inetd -k
# /usr/sbin/inetd -l
==> if you want to enable logging