After setting up PPPoE to get IPv6 from ISP, I try to execute the following command:
set interfaces pppoe pppoe0 ipv6 enable set interfaces pppoe pppoe0 ipv6 address autoconf commit run disconnect interface pppoe0 run connect interface pppoe0
After that, not only can we get the IPv4, but also the PPPoE link is automatically interrupted almost every N seconds, so we need to restart the system to recover.
What's more, even if I don't turn on IPv6, there are still errors when I execute the following commands directly in operation mode:
disconnect interface pppoe0 connect interface pppoe0
I once mentioned this bug in task list T2335. In T2335, I thought I found a bug that could not allocate IPv6 from ISP. After the community members reminded me, I wrote a command less:
set interfaces pppoe pppoe0 ipv6 address autoconf
But in the comments later, I found a more serious bug. Now this bug has happened, which leads to the decline of PPPoE function stability, and there is a pit that has to be fixed. I hope community developers can take the community task to fix this bug!