Static addresses with dhcpd6

I have this in my dhcpd6.conf

host webserver {
        hardware ethernet 00:16:3e:38:a0:1e;
        fixed-address6 2a03:e00:ff00:200::100;
        fixed-prefix6 2a03:e00:ff00:200::/64;
        option dhcp6.name-servers 2a03:e00:ff00:200::1;
}

host postfix {
        hardware ethernet 00:16:3e:d1:eb:39;
        fixed-address6 2a03:e00:ff00:200::101;
        fixed-prefix6 2a03:e00:ff00:200::/64;
        option dhcp6.name-servers 2a03:e00:ff00:200::1;
}

subnet6 2a03:e00:ff00:200::/64 {
        range6 2a03:e00:ff00:200::1000 2a03:e00:ff00:200::2000;
        range6 2a03:e00:ff00:200:: temporary;
        #prefix6 2a03:e00:ff00:200:: /64;
        option dhcp6.name-servers 2a03:e00:ff00:200::1;
}

Strange thing is that webserver gets 2a03:e00:ff00:200::100 as expected, but postfix gets 2a03:e00:ff00:200::2000. Any idea what’s wrong there?

DHCPv6 associates address lease not with client MAC, but with client DUID, so the actual question is, why the first host gets reserved address. You may look at packet capture from both clients and compare information they send.

So it works even with MAC, but it’s necessary to delete first /var/lib/wicked/lease-eth0-dhcp-ipv6.xml

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.