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.
#dhcpd.conf
         ddns-update-style interim;
         shared-network DHCP{
                 subnet 10.0.1.0 netmask 255.255.255.0 {
                 range 10.0.1.1 10.0.1.253;
                 option domain-name-servers 10.0.1.254;
                 option routers 10.0.1.254;
                 option subnet-mask 255.255.255.0;
                 option broadcast-address 10.0.1.255;
                 default-lease-time 86400;
                 max-lease-time 86400;
                 deny bootp;
         }
         subnet 172.16.3.0 netmask 255.255.255.0 { }
}

/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 (10.0.129.4).
** 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
*NetWolves*
Sr. Software Engineer III
Phone: 813-579-3200
Fax: 813-882-0209
Email: steve.clark at netwolves.com
http://www.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