fixed-address problem

Sherman Lilly Sherman.Lilly at knoxcounty.org
Tue Jan 26 19:35:11 UTC 2016


Your subnet is wrong

Sherman Lilly
(865) 215-3536
Senior Systems Administrator
Knox County
________________________________
From: dhcp-users-bounces at lists.isc.org [dhcp-users-bounces at lists.isc.org] on behalf of Bernard Fay [bernard.fay at gmail.com]
Sent: Tuesday, January 26, 2016 2:30 PM
To: dhcp-users at lists.isc.org
Subject: fixed-address problem

Hello everyonw,

I am unable to assign fixed IP addresses to host.

I have the following configuration:

option domain-name "cts.org<http://cts.org>";
option domain-name-servers ns1.cts.org<http://ns1.cts.org>;

default-lease-time 300;
max-lease-time 1500;


subnet 192.168.99.0 netmask 255.255.255.0 {

#  range 192.168.99.201 192.168.99.250;
    option broadcast-address 192.168.99.255;
    option routers 192.168.99.1;
    option domain-name "cts.org<http://cts.org>";

  group {
    host vault {
      option host-name "vault.cts.org<http://vault.cts.org>";
      hardware ethernet 52:af:12:cf:87:c5;
      fixed-address 192.168.98.101;
    }
  }
}


With "range 192.168.99.201 192.168.99.250;"  the host is assigned the first available IP address. If I disable "range" like in the shown configuration, the log says: "dhcpd: DHCPDISCOVER from 52:af:12:cf:87:c5 via eth1: network 192.168.99.0/24<http://192.168.99.0/24>: no free leases".

This ISC DHCP 4.2.5.

What am I doing wrong?

Thanks,
Bernard

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20160126/1e8ec07d/attachment.html>


More information about the dhcp-users mailing list