[svlug] DHCPD error

Jeff Frost jeff at frostconsultingllc.com
Mon Jan 29 17:07:42 PST 2007


I think the problem is likely that you are specifying 192.168.1.0 as a 
separate subnet in the conf file with an incorrect netmask.  Note that up 
higher you have a netmask of: 255.255.254.0, but in the subnet definition, you 
likst it as 255.255.255.0.  I suspect this means that dhcpd doesn't recognize 
incoming dhcp requests because there's no matching interface for this subnet.

Change it to subnet 192.168.0.0 255.255.254.0 and then just specify the range 
the same and see if that does the trick.

On Mon, 29 Jan 2007, ericv wrote:

>
> 192.168.0.0 is static.
> 192.168.1.0 is dynamic.
>
> Without the minimal 192.168.0.0 def, dhcpd won't start.
>
> On Mon, 29 Jan 2007 16:49:07 -0800, Bill Teeple wrote
>> could just be me....
>>
>> subnet 192.168.0.0 netmask 255.255.255.0 {
>> option subnet-mask 255.255.255.0;
>> option routers 192.168.0.1;
>> }
>>
>> You have no settings for your 192.168.0.0 network?  Is this by design?
>>
>> Or do you have 3 networks operating on the same SWITCH?
>>
>> Why put 192.168.0.0/24 in the DHCP Conf file, if there are no leases
>> to give on it?
>>
>> Bill
>>
>> ericv wrote:
>>> I have a /23 network, 192.168.0.0/24 and 192.168.1.0/24.
>>>
>>> My dhcpd.conf is:
>>>
>>> =====
>>> server-name "server.domain";
>>> ddns-updates on;
>>> ddns-update-style interim;
>>> ddns-domainname "dyn.domain.";
>>> ddns-rev-domainname "1.168.192.in-addr.arpa.";
>>> option subnet-mask 255.255.254.0;
>>> option routers 192.168.0.1;
>>> send fqdn.fqdn "domain.";
>>> send fqdn.encoded on;
>>> send fqdn.server-update off;
>>>
>>> subnet 192.168.1.0 netmask 255.255.255.0 {
>>> ddns-rev-domainname "1.168.192.in-addr.arpa";
>>> ddns-updates on;
>>> ddns-update-style interim;
>>> authoritative;
>>> allow unknown-clients;
>>> allow client-updates;
>>> option domain-name-servers server.domain;
>>> option domain-name "domain";
>>> option broadcast-address 192.168.1.255;
>>> option subnet-mask 255.255.255.0;
>>> option routers 192.168.0.1;
>>> ddns-domainname "dyn.domain";
>>> max-lease-time 259200;
>>> default-lease-time 259200;
>>> ddns-updates on;
>>> range 192.168.1.1 192.168.1.253;
>>> key tsig-key {
>>>         algorithm hmac-md5;
>>>         secret "secretgoeshere";
>>>         }
>>> zone dyn.domain {
>>>         primary 192.168.0.10;
>>>         key tsig-key;
>>>         }
>>>
>>> zone 1.168.192.in-addr.arpa {
>>>         primary 192.168.0.10;
>>>         key tsig-key;
>>>         }
>>> }
>>> subnet 192.168.0.0 netmask 255.255.255.0 {
>>> option subnet-mask 255.255.255.0;
>>> option routers 192.168.0.1;
>>> }
>>> =====
>>>
>>> dhcpd starts, but gives no leases.  Syslog reveals:
>>>
>>> =====
>>> dhcpd: DHCPDISCOVER from 00:80:77:37:a8:02 via eth0: network 192.168.0.0/24:
>>> no free leases
>>> =====
>>>
>>> Any ideas?
>>>
>>> --
>>> Eric N. Valor
>>> http://www.alsa.org
>>> (sent from my web client)
>>>
>>>
>>> _______________________________________________
>>> svlug mailing list
>>> svlug at lists.svlug.org
>>> http://lists.svlug.org/lists/listinfo/svlug
>>>
>
>
> --
> Eric N. Valor
> http://www.alsa.org
> (sent from my web client)
>
>
> _______________________________________________
> svlug mailing list
> svlug at lists.svlug.org
> http://lists.svlug.org/lists/listinfo/svlug
>
>

-- 
Jeff Frost, Owner 	<jeff at frostconsultingllc.com>
Frost Consulting, LLC 	http://www.frostconsultingllc.com/
Phone: 650-780-7908	FAX: 650-649-1954




More information about the svlug mailing list