Probable bug found on HP-UX

Richard Allen ra at
Thu Dec 6 02:08:37 UTC 2012

I'm setting up a dynamic DNS/DHCP server on HP-UX 11iV3 (11.31).   I have bind 9.7.3 up and running without issue.
However I'm having issues with dhcp.  This is version 4.2.4-P2

[root at kinnauga ~]# lanscan  
Hardware Station        Crd Hdw   Net-Interface  NM  MAC       HP-DLPI DLPI
Path     Address        In# State NamePPA        ID  Type      Support Mjr#
0/0/1/0  0xFA25FD778248 0   UP    lan0 snap0     1   ETHER     Yes     119
LinkAgg0 0x000000000000 900 DOWN  lan900 snap900 3   ETHER     Yes     119
LinkAgg1 0x000000000000 901 DOWN  lan901 snap901 4   ETHER     Yes     119
LinkAgg2 0x000000000000 902 DOWN  lan902 snap902 5   ETHER     Yes     119
LinkAgg3 0x000000000000 903 DOWN  lan903 snap903 6   ETHER     Yes     119
LinkAgg4 0x000000000000 904 DOWN  lan904 snap904 7   ETHER     Yes     119

This machine only has one NIC called lan0 (the others are just un-configured link aggregates).

[root at kinnauga ~]# ifconfig lan0
lan0: flags=2000000000001843<UP,BROADCAST,RUNNING,MULTICAST,CKO,TSO>
        inet netmask fffff800 broadcast

[root at kinnauga ~]# netstat -nr | grep default
default            UG    0    lan0       1500

[root at kinnauga ~]# cat /etc/dhcpd.conf 
ddns-update-style interim;
ddns-updates on;
deny client-updates;
update-optimization false;
option netbios-node-type 8;
option netbios-name-servers;

subnet netmask {
        ddns-domainname "";
        option domain-name "";
        option domain-name-servers,;
        option routers;
        option subnet-mask;
        option broadcast-address;
        option netbios-name-servers,;
        option netbios-node-type 8;
        option time-offset 0;
        one-lease-per-client on;
        option ip-forwarding off;
        default-lease-time 43200;
        max-lease-time 43200;

When I start the server I get:

[root at kinnauga ~]# /opt/dhcp/sbin/dhcpd lan0 
Internet Systems Consortium DHCP Server 4.2.4-P2
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit
Wrote 0 leases to leases file.

No subnet declaration for lan0 (no IPv4 addresses).
** Ignoring requests on lan0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface lan0 is attached. **

Not configured to listen on any interfaces!

If you did not get this software from, please
get the latest from and install that before
requesting help.

If you did get this software from and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server at
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.


Now to my eyes, the dhcpd is indeed configured with a subnet declaration for the subnet it is on so I cant understand why this is happening.   I'm starting to think that the "(no IPv4 addresses)" part of the error message seems to indicate that the dhcp server is unable to determine the IP address on the NIC?

Any help is appreciated :)


More information about the dhcp-workers mailing list