Using DHCPv6 in ipv6 you don't assign setting per MAC but per DUID.
On many linux flavours you will find the DUID in the firtst line of /var/lib/dhcp/dhclient6.XXXX.leases
as default-duid
where XXXX
is the name of the interface.
e.g. default-duid "\000\001\000\001'\305H\356\016\265<\373[\372";
a string with octal escaped bytes if it is not a printable ACSI charakter.
Almost all DHCPv6 servers expect the DUID in hex notation. Following python3 script will convert it:
duid = "\000\001\000\001'\305H\356\016\265<\373[\372"
print(":".join("{:02x}".format(ord(x)) for x in duid ))
if you have cloned your VM or Container is it likely that all of them have the same DUID, which is bad.
To reset the DUID it is not enough to delete the dhclient6.XXXX.leases
lease file, but also the one for ipv4 in the same directory dhclient.XXXX.leases
otherwise it get copied over from there.
You may also need to ensure /etc/machine-id
is unique in your environment.
a simple ansible module to get the DUID from a debian system