[pve-devel] [PATCH dnsmasq 0/1] purge previous ip/mac lease of dhcp reply

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Fri Nov 17 10:19:44 CET 2023


#What command did you use?

dhcp_release <bridge> <maclease> <iplease>

or

dhcp_release <vmtap> <maclease> <iplease>



>>If all you need is the `lease_prune()` call from your C patch,
>>dnsmasq
>>also does this on a SIGALRM so you could try to see if sending that
>>helps.
>>
>>(dnsmasq also has a dbus api to add/remove leases for the worst
>>case...)

ah ok ! didn't known that, I'll try the SIGALRM && dbus to see. Thanks
!



>>Otherwise, at first glance the C patch seems to potentially break
>>some
>>other cases, but I don't know the code at all.

Yes, this will break dynamic leases as it's always flush leases at any
request.




More information about the pve-devel mailing list