dhcp not matching subnet if not first address on interface

Steve Clark sclark at netwolves.com
Tue Sep 6 02:10:19 UTC 2011

On 09/05/2011 09:16 PM, Rick Dicaire wrote:
> On Mon, Sep 5, 2011 at 8:57 PM, Steve Clark<sclark at netwolves.com>  wrote:
>> Running OK.
> Oh wow...have you tried aliasing the second IP to eth2:0, then starting dhcpd?
Hmm... This .conf seems to work.
         ddns-update-style interim;
         shared-network DHCP{
                 subnet netmask {
                 option domain-name-servers;
                 option routers;
                 option subnet-mask;
                 option broadcast-address;
                 default-lease-time 86400;
                 max-lease-time 86400;
                 deny bootp;
         subnet netmask { }

/usr/sbin/dhcpd -4
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.

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

Listening on LPF/eth2/00:02:b6:36:d1:39/DHCP
Sending on   LPF/eth2/00:02:b6:36:d1:39/DHCP
Sending on   Socket/fallback/fallback-net

Stephen Clark
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110905/0c301328/attachment.html>

More information about the dhcp-users mailing list