IPv6 lease time.

  • Thread starter Thread starter sloj
  • Start date Start date
  • Replies Replies 17
  • Views Views 265
piofolder is meant to stay in persistent storage so that when router reboots it has memory of what prefix it was assigned in previous boot.

because router's flash stroage cannot handle so much writes thats why OpenWrt defaults to writing this in /tmp, but they recommend if you can afford then you should put it in persistent storage.

piofolder in /tmp will work whenever pppoe or dhcp reboots but in case router reboots then piofolder will cause issues and send a ra with preferred lifetime 0 which will cause ipv6 to fail on client devices.

if your solution works then fine.
 
Let me say it again. tmp is RAM. RAM is volatile. When router shutdown or reboots, anything in tmp is gone. Everything will be new past reboot.
 
This thread was already done until you unnecessarily commented like you did in another thread (some things I just observe and remember). Please refrain from commenting just to increase your comment count.

Now, the comment where you referenced the openwrt page, it is mentioned RFC9096 relies on piofolder which wears out flash storage. Flash storage is non-volatile storage. By default, piofolder option is set to tmp which is volatile and so there is no issue.

piofolder isn't meant to stay in persistent storage. That sign on the openwrt page means caution, which is there to warn you what might happen if you set piofolder to non-volatile storage like the internal storage of a router (imagine any commercial router here). What that caution recommends is the opposite of what you said.

I suggest you read you own comments.
piofolder in /tmp will work whenever pppoe or dhcp reboots but in case router reboots then piofolder will cause issues and send a ra with preferred lifetime 0 which will cause ipv6 to fail on client devices.
 
sorry bro 😭 next time i will ask you before commenting and increase my comment count.
dont worry i wont match yours.
sorry🙏😭.

on arguing over rfc9096 i have lost enough brain cells and have come to the conclusion that you have some extra ordinary english reading skills that are beyond my smol brain's understanding.

happy gatekeeping 🥳.
 
Yes, don't admit misunderstanding something and go on a tangent. My solution worked because the issue was on my PC rather than router which I found out while doing nslookup. Where does RFC9096 and your router comment even come based on my issue? What will router having memory of previous prefix help when a new prefix gets assigned on a new session after reboot?
 
Where does RFC9096 and your router comment even come based on my issue?
you only asked -
Can anyone check and inform what lease time are they getting on IPv6? I recently noticed the lease time is one and half hours and it doesn't renew automatically and I have to manually disconnect and reconnect my PC on the network. Didn't check other devices yet.
because 90 mins of lease time was set due to the rfc and you asked about it so i replied, i didnt reply to your windows problem but suggest standard practice acc. to rfc.
then you started arguing over piofolder which i still stand by my statement because i have rtfm.

What will router having memory of previous prefix help when a new prefix gets assigned on a new session after reboot?
RTFM.

yay i increased my comment count by 5(edit:6) today 🥳.
thanks.
 
Then quote the part which you want to reply to like you did above. Coming out of nowhere on a thread that was done and starting with "it's because..." doesn't help. Context is important.

I didn't talk about changing any default setting. I talked about piofolder because you started it. Normally, if power is lost router reboots and the network reboots too and device get new lease. Only in scenario where things are separated such as router and switch and the switch stays on during router reboot will create an issue. This has a less of a chance of happening as a regular user wouldn't go around rebooting their router for no reason.

Good for you for reading the manual. Still wouldn't have helped as ICMPv6 was blocked by firewall on Windows.
 
Back