Feature #7598
closedStatic IPv6 using IPv4 PPPoE as parent interface
50%
Description
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?
Updated by Greg M over 7 years ago
Pretty please :)
I have the same dpinger problem :)
Updated by Martin Wasley over 7 years ago
I'll post here when I have patches to test. Next week sometime, I have to do some real work for a few days. :)
Updated by Martin Wasley over 7 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
Updated by Martin Wasley over 7 years ago
Appears it will never work for Greg as his ISP requires he must send a dhcp6 request.
For those of us who can use static or dhcp6 via pppoe, this patch is working fine.
Updated by Jim Pingle over 7 years ago
Is there a PR for that patch? I'm not seeing anything in the repo currently with that hash/id.
Updated by Martin Wasley over 7 years ago
No it's a patch in my repo. I wanted it tested before sending it on to the main repo. If you think it will be a useful patch I'll send it on.
Updated by Jim Pingle over 7 years ago
- Status changed from New to Resolved
- Target version changed from 2.4.1 to 2.4.0