HP-UX?

Richard Allen ra at ra.is
Tue Dec 4 18:43:28 UTC 2012


Hello all. 

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 unconfigured link aggrigates).

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


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

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

subnet 10.11.8.0 netmask 255.255.248.0 {
        authoritative;
        ddns-domainname "somedomain.is";
        option domain-name "somedomain.is other.somedomain.is";
        option domain-name-servers 10.11.9.100, 10.11.8.6;
        option routers 10.11.15.254;
        option subnet-mask 255.255.248.0;
        option broadcast-address 10.11.15.255;
        option netbios-name-servers 10.1.1.25, 10.1.1.29;
        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;
        range 10.11.9.0 10.11.13.255;
}
[snip]

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 https://www.isc.org/software/dhcp/
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 ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server at isc.org
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.

exiting.



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 :)


--
Rikki



More information about the dhcp-users mailing list