You are not logged in.

#1 2018-08-13 09:16:26

ids
Member
Registered: 2018-08-13
Posts: 1

DHCPD: lease unavailable.

Hello.
I have use dhcp 4.4.1-4. The problem is clients from out of known  group unable to get IP address.

This is part of log.
DHCPDISCOVER from xx:xx:xx:xx:xx:xx via eth0: network 192.168.0.0/24: no free leases
DHCPREQUEST for 192.168.0.184 (192.168.0.245) from xx:xx:xx:xx:xx:xx via eth0: lease 192.168.0.184 unavailable.
DHCPNAK on 192.168.0.184 to xx:xx:xx:xx:xx:xx via eth0

This is relevant part of config.

subnet 192.168.0.0 netmask 255.255.255.0 {
 default-lease-time 600;
 max-lease-time 7200;
 ddns-update-style standard;
 pool {
  allow unknown-clients;
  range 192.168.0.184 192.168.0.184;
 }

 pool {
  deny unknown-clients;
  range 192.168.0.3 192.168.0.3;
  group {
     host 3 {
      hardware ethernet yy:yy:yy:yy:yy:yy;
      fixed-address 192.168.0.3;
   }
 }
}

Offline

#2 2018-08-27 01:10:41

chr0mag
Member
From: Vancouver, Canada
Registered: 2017-02-02
Posts: 94

Re: DHCPD: lease unavailable.

range 192.168.0.184 192.168.0.184;

It makes sense that the IP is unavailable when you've told dhcpd that it is only allowed to assign that one IP. It's likely already assigned. Try expanding the range of IPs.

Offline

Board footer

Powered by FluxBB