[RFE] Add support for configuring dnsmasq with multiple IPv6 addresses in same subnet on same port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Undecided
|
Harald Jensås |
Bug Description
To enable network boot and Ironic provisioning a patch has been proposed to dnsmasq. The patch add's the possibility to provide list's of individual addresses as well as prefixed ranges of ipv6 addresses for a dhcp-host reservation.
When dnsmasq recieve 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.
A new configuration syntax is introduces in dnsmasq in patch: http://
For example:
--dhcp-
The above will make the two addresses fd12:3456::aa02 and fd12:3456::aa04 available to the host with hardware address 52:54:00:3f:5c:c0.
This RFE is to add functionality to the dnsmasq dhcp-agent implementation to write the new configuration format in the dnsmasq hosts file.
Given a neutron port:
"ports": [
{
{
},
{
},
],
{
},
{
}
],
"id": "d80b1a3b-
},
]
}
Current behaviour
-----------------
dhcp-
dhcp-
NOTE, this configuration means dnsmasq will only ever lease fd12:3456::aa04. As it will always find that as the first valid configuration for mac fa:16:3e:58:42:ed. In other words, the _current behaviour is broken_.
New behaviour
-------------
dhcp-
This will allow dnsmasq to lase both addresses when requests from the client mac using different IAID's is recieved.
Changed in neutron: | |
assignee: | nobody → Harald Jensås (harald-jensas) |
status: | New → In Progress |
tags: | added: rfe-triaged |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
Hi Harald, just to be sure, is this kind of follow-up after https:/ /bugs.launchpad .net/neutron/ +bug/1855854 ?