Project

General

Profile

Actions

Feature #7598

closed

Static IPv6 using IPv4 PPPoE as parent interface

Added by Martin Wasley almost 7 years ago. Updated over 6 years ago.

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

50%

Estimated time:
Plus Target Version:
Release Notes:

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?

Actions #1

Updated by Greg M almost 7 years ago

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

Actions #2

Updated by Martin Wasley almost 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. :)

Actions #3

Updated by Martin Wasley almost 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

Actions #4

Updated by Martin Wasley almost 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.

Actions #5

Updated by Jim Pingle almost 7 years ago

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

Actions #6

Updated by Martin Wasley almost 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.

Actions #7

Updated by Martin Wasley almost 7 years ago

PR issued 3761

Actions #8

Updated by Martin Wasley over 6 years ago

Resolved

Actions #9

Updated by Jim Pingle over 6 years ago

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

Also available in: Atom PDF