DHCPv6 apparently ignores static leases?
-
As you can see in the screenshot I have assigned static IPv6 addresses to the client. But the first entry shows them still getting a dynamic one?
(And yes, that is the lease the machine gets if I run "dhclient -6 eth0 -v")The DHCPv6 range is set to "fd00::0001:0000" until "fd00::0001:ffff" and the Router Advertisment is on "Assisted".
Anything I am doing wrong?
-
Funny, I had recently observed the same behavior on my setup, though it turned out that somehow my client's DUID had changed. I fixed the DUID in the static config and it picked the correct IP up once again.
Though by eyeballing your config it does look to be the same DUID on both, so I'm not quite sure how that isn't matching.
Anything in the DHCP log about it?
-
Nothing that looks like it isn't supposed to be.
I attached the DHCP log anyway.
-
That's all I saw, too.
I ended up not seeing it in the GUI (though it was staring me in the face) I did a packet capture of the port 546 IPv6 traffic and looked it over in wireshark and it hit me.
You might also run a similar capture while doing a release/renew of IPv6 on the client, and seeing /var/dhcpd/etc/dhcpd6.conf might help as well.
-
After a lot of fiddling around I finally managed to fix it. The clients cached their leases and somehow preferred their own cached leases toward the lease that pfSense offered them.
(Even though I did "dhclient -v -6 eth0 -r" and then "dhclient -v -6 eth0" to release/renew). Weird.