FW: No free leases

Marcos Iuato iuato at samurai.com.br
Fri Sep 1 18:47:16 UTC 2006


Hi Nicoson,

Sorry, but edited the dhcpd.conf so the brace didnt match becouse my 
dhcpd.conf is litle bit extense. I am sending again.

default-lease-time            600;
max-lease-time                7200;

subnet 192.168.11.0 netmask 255.255.255.0 {
         option subnet-mask            255.255.255.0;
         option broadcast-address      192.168.11.255;
         option routers                192.168.11.251;
         option domain-name-servers    192.168.11.251;
         option domain-name            "vlan2";

         filename "/pxelinux.0";

         group {
                next-server 192.168.11.253;

                # Host Terminal:vlan2:47
                     host 192.168.21.120 {
                     hardware ethernet 00:13:90:00:F2:0F;
                     fixed-address 192.168.11.120;
                }
                # Host Terminal:vlan2:48
                     host 192.168.21.121 {
                     hardware ethernet 00:13:90:01:0C:82;
                     fixed-address 192.168.11.121;
                }
                # Host Terminal:vlan2:48
                     host 192.168.21.122 {
                     hardware ethernet 00:13:90:00:F3:DA;
                     fixed-address 192.168.11.122;
                }
         }
}

Nicoson Dave escreveu:
> It looks like you're missing a right brace.  You have the ending brace
> for the host statement lined up with the beginning brace of the group.
> 
> I don't know why you wouldn't get an error message in that case.
> 
> DJN
> 
> -----Original Message-----
> From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
> Behalf Of Marcos Iuato
> Sent: Friday, September 01, 2006 2:14 PM
> To: dhcp-users at isc.org
> Subject: Re: No free leases
> 
> Hi Theo,
> 
> Unfortunatly, the host name is 192.168.21.120 becouse someone typed 
> wrong, but it's not the problem.
> 
> Cheers,
> Marcos Iuato
> 
> Theo Van Dinter escreveu:
> 
>>On 9/1/06, Marcos Iuato <iuato at samurai.com.br> wrote:
>>
>>
>>>subnet 192.168.11.0 netmask 255.255.255.0 {
>>>        group {
>>>                    host 192.168.21.120 {
>>>                    hardware ethernet 00:13:90:00:F2:0F;
>>>                    fixed-address 192.168.11.120;
>>>               }
>>>}
>>>
>>>Sep  1 11:19:28 gerenciador dhcpd: DHCPDISCOVER from 00:13:90:00:f2:0f
>>>via eth2: network 192.168.21/24: no free leases
>>>
>>>Can someone help me with this problem?
>>
>>
>>Based on the information provided, it appears that you configured the
>>host in the wrong group (192.168.11.0/24 instead of 192.168.21.0/24).
>>
> 
> 
> 



More information about the dhcp-users mailing list