Dhcpd.leases file contains duplicate record
-
Hello,
i am using pfsense 2.1.1 in our office. when i look in to dhcpd.leases file i saw records of same ip, same mac and different start and end times. But suprisingly dhcpd did not give error of them.
The file looks like
# The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-4.2.5-P1 lease 192.168.128.104 { starts 1 2015/09/28 16:11:58; ends 1 2015/09/28 18:11:58; tstp 1 2015/09/28 18:11:58; cltt 1 2015/09/28 16:11:58; binding state free; hardware ethernet 00:1c:26:95:5c:42; uid "\001\000\034&\225\\B"; } lease 192.168.128.103 { starts 2 2015/09/29 08:54:48; ends 2 2015/09/29 10:54:48; cltt 2 2015/09/29 08:54:48; binding state active; next binding state free; rewind binding state free; hardware ethernet 70:14:a6:7f:5f:18; uid "\001p\024\246\177_\030"; client-hostname "Sabris-iPhone"; } lease 10.0.0.101 { starts 2 2015/09/29 09:09:19; ends 2 2015/09/29 11:09:19; cltt 2 2015/09/29 09:09:19; binding state active; next binding state free; rewind binding state free; hardware ethernet 00:1d:7d:4f:c6:de; uid "\001\000\035}O\306\336"; client-hostname "SEKRETER-PC"; } lease 10.0.0.106 { starts 2 2015/09/29 09:43:39; ends 2 2015/09/29 11:43:39; cltt 2 2015/09/29 09:43:39; binding state active; next binding state free; rewind binding state free; hardware ethernet 84:34:97:86:7c:dc; uid "\001\2044\227\206|\334"; client-hostname "AKKOR"; } server-duid "\000\001\000\001\032\240\206\350\0000\030\255mk"; lease 192.168.128.103 { starts 2 2015/09/29 09:58:28; ends 3 2015/09/30 09:58:28; cltt 2 2015/09/29 09:58:28; binding state active; next binding state free; rewind binding state free; hardware ethernet 70:14:a6:7f:5f:18; uid "\001p\024\246\177_\030"; client-hostname "Sabris-iPhone"; } lease 10.0.0.101 { starts 2 2015/09/29 10:09:19; ends 2 2015/09/29 12:09:19; cltt 2 2015/09/29 10:09:19; binding state active; next binding state free; rewind binding state free; hardware ethernet 00:1d:7d:4f:c6:de; uid "\001\000\035}O\306\336"; client-hostname "SEKRETER-PC"; }
is this situation normal?
10.0.0.101 and 192.168.128.103 has duplicate record.
Each record begins with "{" and ends with "}" but some records have "}" char in uid definition. When i look Status->Dhcp Leases the duplicated records doesn't have machine name.
-
That's normal. Leases don't get removed for some time, renewals end up with additional entries in the leases file.