The default 30d / 7d are > of default 3d on server side (not MikroTik problem, are default RFC values...)
So for internal network the IPv6 expires 4 day later of what is already expired...
`
Sorry, but unless I'm missing something, this theory makes no sense.
Even if what you said is true that the ISP is handing out 3d leases which is 4 days shorter than the MikroTik default Preferred Lifetime value in the router advertisements, the fact is that the DHCPv6 client on the MT should be automatically renewing the lease at the halfway point (1.5d), just like DHCP works on IPv4.
If the ISP's DHCPv6 server does not honor or respond to lease renewal, and expires the lease prematurely and/or offers a different prefix (dynamic), this also should be no problem, since MikroTik
finally added
RFC9096 support to RouterOS
in 7.9:
`
*) ipv6 - send out RA packet with "preferred-lifetime" set to "0" when IPv6 address is deactivated;
`
So old SLAAC prefix advertisement will be properly deprecated on the user's LAN, and new RA with new prefix will take its place. This means that RA Preferred Lifetime does not have to exactly match DHCP server lease time. The two times can be out of sync & the RA lifetime longer than the DHCP lease time, and yet things should still work properly.
Also, as has already been pointed out, OP stated nothing else changes. When he manually triggers lease renewal, the ISP is NOT offering some other different prefix. The IP address does not change. Traffic just starts flowing again.
Finally, your theory that the ISP is using a 3d lease time is contradicted by the original post itself, which CLEARLY shows "6d4h58m20s" remained on the lease at the moment the problem happened to him in that particular instance.
Based on this, I can only conclude that in this case, absent possible additional detail that we are still missing, the problem is actually on the ISP side. It sounds like the ISP stops routing the DHCPv6-PD customer prefix before the lease has expired. I would guess that manually renewing the lease causes this issue to clear up on the ISP side, presumably because the DHCP server triggers some kind of re-propagation of the prefix/route on their end.
If the
original poster can narrow down that this problem seems to almost always happen exactly after X time has passed, he could work around the problem by adding a scheduled task on the router that manually renews the DHCP lease, say, every 6 hours (or whatever).
(I suppose one thing that would be interesting for OP to check would be to see if maybe the ::/0 default route is disappearing out of his MikroTik's IPv6 route table, and is maybe coming back whenever manual lease renewal is triggered? THAT could certainly also explain the described symptoms, and also might just be an actual ROS bug, though it's one I haven't seen happen myself so more testing will be needed to determine exact conditions necessary to trigger it...)