Problem : IPv6 address not getting IP from pool after reboot or power loss and flag is invalid (Random times not all the times)
Solution : Disable the PPPoE DHCP client under IPv6 and re-enable IPv6 DHCP Client
Script assistance needed.
Check for invalid address under /ipv6/address
if found and true with value “invalid” : Disable the IPv6 DHCP client under /ipv6/dhcp-client/, wait 5 seconds and enable IPv6 DHCP client again
I am no script expert and tried the following with a fail but might provide information on what we looking to accomplish.
I successfully developed a functional script solution and proceeded as follows:
I included a comment on the IPv6 address to be monitored, ensuring that the correct value is checked against the appropriate address.
Example comment used on the IPv6 address “IPv6”
I implemented a script designed to monitor the IPv6 address, confirming its operational status. If the IPv6 address is found to be invalid, the script will then disable the IPv6 DHCP client on the PPPoE interface and subsequently re-enable it after a delay.