In 7.20+ there is a new option added to the ppp profiles: DHCPv6 Lease Time
So far, so good, but it does not apply to RADIUS-provided prefixes via Delegated-IPv6-Prefix (to pppoe clients, for example)
Is it a bug or it is made on purpose, by design?
If it is by design, is there any other method to specify the valid/preferred lifetime for radius-provided prefixes? I do not see any changes in the mikrotik’s vendor dictionary so there seems to be no way to set the lifetime via raduis attributes. It stays on it’s default of 1 day no matter what.
My particular problem is that the clients do not renew their assignments and once the binding reaches its expire time, it gets removed by the dhcpv6 server and IPv6 stops working.
I see the following in the 7.20.1 changelog:
*) ipv6,ra - fixed prefix unlinking from interface on configuration change and stop deprecating prefixes when the validity lifetime expires;
however it is related to RA and not to DHCPv6, but I will test if the prefixes provided by the radius to the dynamic dhcpv6 server will still be deprecated.
So, does anybody know how to:
-
increase the lifetime of the prefixes provided by the dynamic dhcpv6 server, created by the ppp / pppoe server when the delegated prefix is provided by radius and not by a pool (for dynamic allocations the newly introduced option works fine)
-
or better - not to expire at all, as those assignments are not expected to be changed for the duration of the ppp session anyway (it’s how radius works - it provides parameters for the session’s entire lifetime, no matter how long it is)