Hello, I am running IPv6 in Stateless Mode (ra_managment=0 in odhcpd). I also set most of my permanent always-on servers to static leases "leasetime=infinite". For some reason, even after I set ra_managment=0 in LuCI, and restart my router, and restart all my clients... the router will still assign some clients ipv6leases, even though the ipv6 mode is set to STATELESS.
If I ipconfig /release6 on those clients it will remove the lease, but restarting the client, the router will assign the same static lease to restarted client. The SLAAC stuff is working just fine, the issue is just with 4 clients receiving 2 global ipv6 addresses (as if the ipv6 mode was set to Stateful+Stateless).
The bug is that in STATELESS, the odhcpd should not be sending ipv6leases to any clients, even if they are static clients or infinite lease time.
More of an issue is I can't stop it from issuing these leases after it starts. I've tried switching back to "Stateful+Stateless" changing leasetime to 5m, releasing all ipv6 ips, reverting back to "Stateless", and setting my static ips. And it'll start giving static ipv6 ip's as well.
ubus call dhcp ipv6leases
Shows all the ipv6 leases and such, but also has the "valid=-1" in all of them, but odhcpd doesn't seem to be honouring that.
Does show all the current ipv6 leases (same as what LuCI is showing in the UI). But nothing I do stops the router from issuing the ipv6 static lease after I restart the client?
Anyone have any ideas on what I can do to fix this? Only 4 clients on my network have this issue. It used to be 3, until i switched modes back and forth, then the 4th started getting stuck. I'm unsure if it's cuz it assigned the DUID now, or because I am using infinite leases, and after 1 ipv6 infinite lease is set then it does it for life. I'm stumped.
Nonetheless, after the IPv6 Mode is set to Stateless, all the ipv6leases static leases should be ignored.