[9.100][NOTABUG] Duplicated DHCP Leases

I have created static objects for most of the hosts on my network. The only remaining ones are random wireless devices including phones. I noticed that there were duplicated entries showing up so I made one of them static. I'm still getting duplicates. When this occurs, there are two entries that are identical, except one has a hostname and the other has an unknown hostname. I tried removing them from dhcpd.leases, but they reappear. It seems that deleting them from the file doesn't delete them from utm. There should be a way to remove one or all dhcp entries and force new leases to be recreated.
Parents
  • I think utm must have been "remembering" the entries despite them being deleted from dhcpd.leases, but after rebooting utm a couple of times, the duplicates seem to have disappeared.
     
    I will grant that this isn't a serious bug, but it's flakey. If utm had a proper mechanism for deleting a lease, maybe there would not have been duplicates. 

    Maybe I've misunderstood this thread, but here's no "rule" that says a MAC address can't have more than one associated IP.  A DHCP server shouldn't delete a lease just because it assigns a new IP to a MAC address - how would it know there weren't multiple processes on that PC?  I think the issue is with the client.

    Cheers - Bob
Reply
  • I think utm must have been "remembering" the entries despite them being deleted from dhcpd.leases, but after rebooting utm a couple of times, the duplicates seem to have disappeared.
     
    I will grant that this isn't a serious bug, but it's flakey. If utm had a proper mechanism for deleting a lease, maybe there would not have been duplicates. 

    Maybe I've misunderstood this thread, but here's no "rule" that says a MAC address can't have more than one associated IP.  A DHCP server shouldn't delete a lease just because it assigns a new IP to a MAC address - how would it know there weren't multiple processes on that PC?  I think the issue is with the client.

    Cheers - Bob
Children
No Data