Project

General

Profile

Feature #7598

Static IPv6 using IPv4 PPPoE as parent interface

Added by Martin Wasley over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Interfaces
Target version:
Start date:
05/23/2017
Due date:
% Done:

50%

Estimated time:

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?

History

#1 Updated by Greg M over 2 years ago

Pretty please :)
I have the same dpinger problem :)

#2 Updated by Martin Wasley over 2 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. :)

#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

#4 Updated by Martin Wasley over 2 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.

#5 Updated by Jim Pingle over 2 years ago

Is there a PR for that patch? I'm not seeing anything in the repo currently with that hash/id.

#6 Updated by Martin Wasley over 2 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.

#7 Updated by Martin Wasley over 2 years ago

PR issued 3761

#8 Updated by Martin Wasley about 2 years ago

Resolved

#9 Updated by Jim Pingle about 2 years ago

  • Status changed from New to Resolved
  • Target version changed from 2.4.1 to 2.4.0

Also available in: Atom PDF