Uid lease for client is duplicated



  • This is still happening in 2.2.3

    https://forum.pfsense.org/index.php?PHPSESSID=g7fvh3mm2sdajhtac714n0gtn0&topic=7078.msg40046#msg40046

    I have tried the suggestion here.
    https://forum.pfsense.org/index.php?topic=5231.msg31528#msg31528

    Editing the neccesary files only works with a reboot.


  • Rebel Alliance Developer Netgate

    Are you actually seeing a problem, or just the message in the logs?

    That can happen if you assign a client a static mapping and the leases file still has their old lease, but it should be harmless.

    We used to have code that would tidy up things like that in the leases file but the code was removed since it was causing problems with DHCP failover in HA clusters.



  • @jimp:

    Are you actually seeing a problem, or just the message in the logs?

    That can happen if you assign a client a static mapping and the leases file still has their old lease, but it should be harmless.

    We used to have code that would tidy up things like that in the leases file but the code was removed since it was causing problems with DHCP failover in HA clusters.

    I just ran into this issue, currently it is harmless, but can fluctuate a lot before getting connected at the end of story. In my case it's taken about 2 minutes to get connected, I am not sure what's logic caused that. I really don't understand why would DHCP server to override correct static IP configured in GUI and ALREADY received by PC with some old crap IP stored in /var/dhcpd/var/db/dhcpd.leases~ and /var/dhcpd/var/db/dhcpd.leases

    Jan 7 08:26:12 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:26:12 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:26:12 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:26:04 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:26:04 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:26:04 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:26:01 	dhcpd 		DHCPACK on 10.0.87.101 to e8:ab:fa:0e:83:b6 via igb1
    Jan 7 08:26:01 	dhcpd 		DHCPREQUEST for 10.0.87.101 from e8:ab:fa:0e:83:b6 via igb1
    Jan 7 08:25:57 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:57 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:57 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:55 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:55 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:55 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:53 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:53 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:53 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:51 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:51 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:51 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:49 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:49 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:49 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:47 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:47 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:47 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:46 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:46 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:46 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:44 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:44 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:44 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:42 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:42 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:42 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:42 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:42 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:42 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:36 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:36 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:36 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:33 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:33 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:33 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:32 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:32 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:32 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:31 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:31 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:31 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:27 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:27 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:27 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:26 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:26 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:26 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:24 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:24 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:24 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:22 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:22 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:22 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:18 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:18 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:18 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:17 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:17 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:17 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:16 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:16 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:16 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:15 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:15 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:15 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:11 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:11 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:11 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:08 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:08 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:08 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:05 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:05 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:05 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:05 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:05 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:05 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:25:01 	dhcpd 		DHCPACK on 10.0.87.101 to e8:ab:fa:0e:83:b6 via igb1
    Jan 7 08:25:01 	dhcpd 		DHCPREQUEST for 10.0.87.101 from e8:ab:fa:0e:83:b6 via igb1
    Jan 7 08:25:01 	dhcpd 		DHCPACK on 10.0.87.101 to e8:ab:fa:0e:83:b6 via igb1
    Jan 7 08:25:01 	dhcpd 		DHCPREQUEST for 10.0.87.101 from e8:ab:fa:0e:83:b6 via igb1
    Jan 7 08:25:01 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:01 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:25:01 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:24:59 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:59 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:59 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:24:57 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:57 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:57 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:24:40 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:40 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:40 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:24:37 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:37 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:37 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:24:34 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:34 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:34 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:24:31 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:31 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:31 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24
    Jan 7 08:24:07 	dhcpd 		DHCPACK on 10.0.87.3 to 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:07 	dhcpd 		DHCPREQUEST for 10.0.87.3 from 74:da:38:de:d3:1e via igb1
    Jan 7 08:24:07 	dhcpd 		uid lease 10.0.87.11 for client 74:da:38:de:d3:1e is duplicate on 10.0.87.0/24 
    


  • @w0w said in Uid lease for client is duplicated:

    o
    Hi

    I have cleared old IP in:
    /var/dhcpd/var/db/dhcpd.leases~ and /var/dhcpd/var/db/dhcpd.leases

    but it did not fix this issue.

    Can you provide fix or workaround on this?
    thanks



  • ok, I can see that after I have cleard old IP in those files, I can not see anymore such:
    Apr 29 16:41:58 dhcpd DHCPREQUEST for 192.168.20.9 from 40:16:7e:a1:61:48 via lagg0.4091
    Apr 29 16:41:58 dhcpd uid lease 192.168.20.11 for client 40:16:7e:a1:61:48 is duplicate on 192.168.20.0/22

    but still server interface is going down.

    Can you provice fix to this?


Log in to reply