IPv6 Prefix Delegated Lease Time question

Hello,

My openwrt router been running with uptime of 6 days and IPv6 Prefix Delegated is not changed for 6days.

On the status page, I see below,

I see there is an Expires counter.
Is that something in my control? Can I set to a bigger value?
is option norelease '1' on wan interface for this purpose?

Thanks.

You are a client under the ISP DHCP server so it is your ISP that set the leasetime.

But nothing should really change every time the lease is renewed. The up time for the connection is simply a counter how long you have been connected upstream.

2 Likes

That is actually a good thing since should the ISP change the prefix that they are routing to you, a lot of things will need to be restarted.

2 Likes

So as per that Expires time in screenshot, I should expect my PD to be changed automatically?

The ISP might also opt to simply renew the same PD... I believe a DHCP client will contact the DHCP server before an address expires giving the server the chance to simply say, keep using that for the next XXX hours....

As @mk24 wrote, this gives the ISP the option to change, but also to keep the same PD whatever is simpler...

1 Like

This process should be very visible in the system log with the request and the lease answer with x number of seconds for the lease.

Since there is 15hr left there is highly probable that the lease time is 24h and as far as IPv4 concerns the client always start to ask the server at lease halftime, which would be at 12hr. As far as I know IPv6 will do the same and also start asking for renewal at about lease halftime.

1 Like

After current lease expires, I will check whats new lease time.