Feature #10392
closedGRE: Tunnels cannot have IPv6 and IPv4 addresses at the same time
100%
Description
For some unknown reason, pfSense does not ask in the GUI for local/remote IPv6 addresses when a user wants to use it to carry both, this is defined in [[https://tools.ietf.org/html/rfc7676]].
This should be addressed.
Updated by Skyler Mäntysaari over 4 years ago
Skyler Mäntysaari wrote:
For some unknown reason, pfSense does not ask in the GUI for local/remote IPv6 addresses when a user wants to use it to carry both, this is defined in https://tools.ietf.org/html/rfc7676.
This should be addressed.
Updated by Jim Pingle over 4 years ago
- Category set to Interfaces
It may be in the RFC but have you confirmed that it actually works on FreeBSD?
Updated by Sebas tian over 4 years ago
I manually executed
/sbin/ifconfig gre0 inet6 <localV6> <remoteV6> prefixlen 128
(as etc/inc/interfaces.inc would do it) and I can (at least) ping the tunnel remote now, so it seems to works? Although pfSense seems to remove the v6 address shortly after manually setting it …Updated by Jim Pingle over 4 years ago
In that case it should be fairly easy to add that to the GUI by splitting it into separate IPv4 and IPv6 options. It will need some upgrade code to separate out the existing IPv4 and IPv6 config into the new fields but that should be simple.
The same should be done to GIF as well
Updated by Sebas tian over 4 years ago
I have implemented the necessary changes for GRE interfaces (and tested them with my setup – seems to be working). I have no way of testing it for GIF and therefore hesitate to add my changes there, too. Should I still do it nevertheless or should I just create a PR for the GRE part? (PRs on Github are the correct way to submit the changes, right?)
Updated by Sebas tian over 4 years ago
Pull request for GRE part: https://github.com/pfsense/pfsense/pull/4308
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 4 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Viktor Gurov over 4 years ago
- Status changed from Feedback to Resolved
tested on two 2.5.0.a.20200916.1850
works as expected:
gre0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1476 description: GRE options=80000<LINKSTATE> tunnel inet 192.168.88.41 --> 192.168.88.42 inet 10.88.88.41 --> 10.88.88.42 netmask 0xffffff00 inet6 fe80::2ce7:6345:e2a8:cd6c%gre0 prefixlen 64 scopeid 0xa inet6 fc00:88::41 --> fc00:88::42 prefixlen 128 groups: gre nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Resolved