fixed-address problem
Patrick Trapp
ptrapp at nex-tech.com
Tue Jan 26 21:24:20 UTC 2016
I don't see a problem with the subnet. OP just isn't using the entire pool, right?
I'm not sure what the effect of the "group" declaration is. I believe on my configurations where I'm assigning a static address, I'm just using a "host" declaration. I don't declare these hosts within the subnet declaration, either. I would be inclined to try the host declaration outside the subnet first.
________________________________
From: dhcp-users-bounces at lists.isc.org [dhcp-users-bounces at lists.isc.org] on behalf of Sherman Lilly [Sherman.Lilly at knoxcounty.org]
Sent: Tuesday, January 26, 2016 1:35 PM
To: Users of ISC DHCP
Subject: RE: fixed-address problem
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/b5dba121/attachment.html>
More information about the dhcp-users
mailing list