Hi,
I have a fairly straighforward dhcp3 setup with gives ip addresses
based mac assignments, dhcpd.conf file is as follows:
======================================================================
ddns-update-style none;
log-facility local7;
subnet 10.11.12.0 netmask 255.255.255.0 {
group {Quote:}
filename "pxelinux.0";
next-server 10.11.12.150;
option domain-name-servers 10.11.12.150;
option broadcast-address 10.11.12.255;
host mos1 {
hardware ethernet 00:30:48:74:4a:f3;
fixed-address 10.11.12.151;
}
host mos2 {
hardware ethernet 00:30:48:71:1f:55;
fixed-address 10.11.12.152;
}
host mos3 {
hardware ethernet 00:30:48:70:d2:d9;
fixed-address 10.11.12.153;
}
host mos4 {
hardware ethernet 00:30:48:75:02:33;
fixed-address 10.11.12.154;
}
host mos5 {
hardware ethernet 00:30:48:75:00:01;
fixed-address 10.11.12.155;
}
host mos6 {
hardware ethernet 6a:c1:03:04:87:09;
fixed-address 10.11.12.156;
}
hardware ethernet 00:30:48:73:AA:BF;
fixed-address 10.11.12.157;
}
host mos8 {
hardware ethernet 00:30:48:73:62:01;
fixed-address 10.11.12.158;
}
host mos9 {
hardware ethernet 00:30:48:85:be:f3;
fixed-address 10.11.12.159;
}
host mos10 {
hardware ethernet 00:30:48:71:1f:83;
fixed-address 10.11.12.160;
}
host mos11 {
hardware ethernet 00:30:48:58:42:5b;
fixed-address 10.11.12.161;
}
host mos12 {
hardware ethernet 00:30:48:58:42:f1;
fixed-address 10.11.12.162;
}
host mos13 {
hardware ethernet 00:30:48:58:42:95;
fixed-address 10.11.12.163;
}
host mos14 {
hardware ethernet 00:30:48:58:42:8b;
fixed-address 10.11.12.164;
}
host mos15 {
hardware ethernet 00:0c:4f:79:57:5a;
fixed-address 10.11.12.165;
}
host mos16 {
hardware ethernet 00:e0:81:20:3b:e4;
fixed-address 10.11.12.166;
}
host mos17 {
hardware ethernet 00:50:45:5c:aE:9a;
fixed-address 10.11.12.167;
}
===================================================Quote:}
The problem is that I seem to get a "no free leases" error where I
never have had one before. I have tried using the "range" command
within the subnet declaration, but that is only meant for dynamic ip
address. It works correctly, but ultimately does not solve my problem.
Additionally, my leases are not being written to the dhcpd.leases
file.
Can anyone see anything obviously wrong with my setup?
Thanks,
Cere