Static IPv6 using IPv4 PPPoE as parent interface
A strange requirement has come up. When selecting to use Static IPV6 it's not possible to specify using the PPPoE interface. There are manual methods of adding routes and adding addresses to interfaces and although this works, dpinger will not pick up the correct interface.
I have now got this working by adding an option in interfaces.php when selecting a static IPv6 to select to use the IPv4 connectivity link ( PPPoE ); an little code in interfaces.inc then correctly sets the interface and dpinger then works fine; I just need to add a new function to update the gateway in case that changes and it's done and dusted.
Would this be a useful addition to 2.4 or is it a hold off until a later version or of no use to anyone else but users of my ISP?
#3 Updated by Martin Wasley over 2 years ago
OK, here's a patch to try. The patch is against today's snapshot.
You'll have a new option when selecting a v6 static to use the v4 link, so set your static and set use the link. You'll need to create a gateway and for that you'll need to know what the link local address is of the gateway, you should see that in the Status/Interfaces info.
It's working for two of us who are using it so let me know how you get on.
Patch ID = b2396660d7dafa27ebbca165ff4079118f06d52c