I think requesting lease renewal in Vyatta-based router OSes (like VyOS and EdgeRouter) really just means restarting the DHCP client daemon, which will usually release the lease and then DHCPDISCOVER, etc. Since Sonic currently completely forgets your lease details when you release the lease, that means you'll get a new prefix.
The fix for me is to add this configuration command:
This tells the DHCP client not to send the DHCPRELEASE request to the DHCP server as it shuts down. My fingers are crossed that there won't ever be an outage longer than 6 hours (the prefix valid lifetime), or I might lose the prefix.
I'm not sure what the equivalent EdgeRouter incantation would be.
The fix for me is to add this configuration command:
Code:
set interfaces ethernet ethN dhcpv6-options no-release
I'm not sure what the equivalent EdgeRouter incantation would be.
Statistics: Posted by gadams — Tue Feb 04, 2025 2:58 pm