In some cases, such as system reinstallation, the duid of the client has 
changed when the client renews the lease. dnamsq will assign a new lease back 
to the client if the new lease is available. However, if the old lease of the 
client is not released or the client cannot actively release the old lease for 
some reasons, the client cannot obtain for a new lease until the old lease 
expires when dnsmasq has no free lease.
Although both duid and MAC addresses are used to identify clients, can dnsmasq 
consider providing the new switch --bind-mac-with-ipv6 for users to choose to 
forcibly remove clients marked with DUID or not. When dnsmasq starts with 
--bind-mac-with-ipv6, it will assign the lease whose mac address is same with 
the client's to the client , even if that lease has a different duid than the 
client's.
See attachment for patch.
cheers,
mingshuai

Attachment: Add-new-option-bind-mac-with-ipv6-to-rebind-the-same.patch
Description: Add-new-option-bind-mac-with-ipv6-to-rebind-the-same.patch

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to