mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Support prefixed ranges of ipv6 addresses in dhcp-host.
When a request matching the clid or mac address is recieved the server will iterate over all candidate addresses until it find's one that is not already leased to a different clid/iaid and advertise this address. Using multiple reservations for a single host makes it possible to maintain a static leases only configuration which support network booting systems with UEFI firmware that request a new address (a new SOLICIT with a new IA_NA option using a new IAID) for different boot modes, for instance 'PXE over IPv6', and 'HTTP-Boot over IPv6'. Open Virtual Machine Firmware (OVMF) and most UEFI firmware build on the EDK2 code base exhibit this behaviour.
This commit is contained in:
@@ -69,6 +69,14 @@ version 2.81
|
||||
different interfaces on the same IPv6 net, and we're doing
|
||||
RA/DHCP service on only one of them. Thanks to NIIBE Yutaka
|
||||
for spotting this case and making the initial patch.
|
||||
|
||||
Support prefixed ranges of ipv6 addresses in dhcp-host.
|
||||
This eases problems chain-netbooting, where each link in the
|
||||
chain requests an address using a different UID. With a single
|
||||
address, only one gets the "static" address, but with this
|
||||
fix, enough addresses can be reserved for all the stages of the
|
||||
boot. Many thanks to Harald Jensås for his work on this idea and
|
||||
earlier patches.
|
||||
|
||||
|
||||
version 2.80
|
||||
|
||||
Reference in New Issue
Block a user