When an OCI instance starts, an IPv6 entry is added to dnsmasq.leases but once the expiry time is reached, it is not reinstated. IPv4 works but this isn’t helpful as that is using NAT and other servers on my network can’t connect to the containers anymore.
How can I persist the IPv6 entry in dnsmasq.leases?
Might be worth doing some tcpdump-ing on the bridge to see what’s going on.
Incus spawns a DHCP client for OCI containers which handles both DHCPv4 and DHCPv6. This handles lease renewal which should be sufficient to keep dnsmasq happy.
Are you running in full stateful DHCPv6 mode (ipv6.dhcp.stateful=true) or in the default stateless DHCPv6 mode?