Hi everybody!
I´m using isc-dhcp-server version 4.2.2 on two servers (same version on both servers and fail-over peers)
But , I´m having problems with the address that changes before expiration time of the lease.
For example an android cell phone with the MAC Address f8:f1:b6:92:3d:e8 was with the IP 192.168.0.103 with the initial lease time 2015/03/23 and end lease time 2015/04/22.
At 2015/03/25 the IP changed to 192.168.0.105 at both servers with initial lease time 2015/03/25 and end lease time 2015/04/24.
It don´t happens everytime, but sometimes it happens and with different clients.
My /mnt/dhcp/subnet file and /mnt/dhcp/hosts are available on both servers.
What´s wrong on my configuration files?
Follow my primary server dhcpd.conf
ddns-update-style none;
interfaces="eth0";
authoritative;
log-facility local7;
failover peer "dhcp-failover" {
primary;
address 192.168.0.3;
port 647;
peer address 192.168.0.2;
peer port 648;
max-response-delay 60;
max-unacked-updates 10;
load balance max seconds 3;
mclt 3600;
split 128;
}
include "/mnt/dhcp/subnet";
include "/mnt/dhcp/hosts";
and my secondary server dhcpd.conf
ddns-update-style none;
authoritative;
log-facility local7;
failover peer "dhcp-failover" {
secondary;
address 192.168.0.2;
port 648;
peer address 192.168.0.3;
peer port 647;
max-response-delay 60;
max-unacked-updates 10;
load balance max seconds 3;
}
include "/mnt/dhcp/subnet";
include "/mnt/dhcp/hosts";
here my /mnt/dhcp/subnet file
subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name-servers 192.168.0.4, 192.168.0.254, 192.168.0.253;
option netbios-name-servers 192.168.0.4 ;
option routers 192.168.0.254;
option broadcast-address 192.168.0.255;
pool {
failover peer "dhcp-failover";
default-lease-time 3888000;
max-lease-time 3888000;
range 192.168.0.11 192.168.0.200;
}
}
here my /mnt/dhcp/hosts file
host plasma-eth {
hardware ethernet 00:e0:4b:24:e8:02;
fixed-address 192.168.0.235;
}
My best regards,
Samuel Motta.