fixed-address problem

Bernard Fay bernard.fay at gmail.com
Tue Jan 26 19:30:57 UTC 2016


Hello everyonw,

I am unable to assign fixed IP addresses to host.

I have the following configuration:

option domain-name "cts.org";
option domain-name-servers 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";

  group {
    host vault {
      option host-name "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: 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/e19bc847/attachment.html>


More information about the dhcp-users mailing list