[Dnsmasq-discuss] [patch] Add new option --bind-mac-with-ipv6 to rebind the same ipv6 address when the duid of the client changed
renmingshuai
renmingshuai at huawei.com
Mon Mar 21 07:55:47 UTC 2022
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220321/0e1346f4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Add-new-option-bind-mac-with-ipv6-to-rebind-the-same.patch
Type: application/octet-stream
Size: 7113 bytes
Desc: Add-new-option-bind-mac-with-ipv6-to-rebind-the-same.patch
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220321/0e1346f4/attachment.obj>
More information about the Dnsmasq-discuss
mailing list