Second Device Unique ID (duid) on DHCP6-Server
I would like to reserve an IPv6 address in a multi-boot system for both the first DUID (Linux) and the second DUID (Windows).
Is it possible to specify a second DUID in one IPv6 reservation? So as in the following example:
{ "command": "reservation-add", "service": [ "dhcp6" ], "arguments": { "reservation": { "subnet-id": 123, "hostname": "xyz", "ip-addresses": ["1999:123:56a:1800::123"], "duid": "11:11:11:11:11:11", "duid2": "22:22:22:22:22:22" } } }
When searching for the IPv6 reservation, both the duid and duid2 should be possible inputs:
{ "command": "reservation-get", "service": [ "dhcp6" ], "arguments": { "subnet-id": 123, "identifier-type": "duid", "identifier": "11:11:11:11:11:11" } }
or
{ "command": "reservation-get", "service": [ "dhcp6" ], "arguments": { "subnet-id": 123, "identifier-type": "duid2", "identifier": "22:22:22:22:22:22" } }
For differentiation, the IPv6 reservations should adhere to the following uniqueness criteria:
- unique("ip-address","subnet-id","duid")
- unique("ip-address","subnet-id","duid2")