opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.36k stars 754 forks source link

GIF0 interface doesn't display IPv6 address in console #4457

Closed ElectronicEconomy317 closed 3 years ago

ElectronicEconomy317 commented 4 years ago

I have a tunnel broker account with Hurricane Electric. The connectivity portion works perfectly. No issues there.

On the console, the IPv6 address is not displayed. Not sure why?

gif0 - console

Also, the DDNS (OPT2/GIF0 - Cloudflare) the interface doesn't get updated b/c the DDNS client doesn't have an IP address to read and update. Here's a couple of screenshots to make it alittle clearer...

DDNS - Dashboard

If you look at the Interfaces attachment, you can see that OPT2 has an IP address...but for some reason the address it not displayed in the console...and the DDNS client doesn't pick it up...

Interfaces - Dashboard

I would expect the IP address to be listed, so, the DDNS can pickup the address and update the DDNS provider (Cloudflare in this case), if the IPv6 address changes.

I am running OPNsense 20.7.4-amd64

If there's something else that I can provide, please let me know.

Thanks.

ElectronicEconomy317 commented 4 years ago

I posted this first in the forums... No response.

https://forum.opnsense.org/index.php?topic=19955.0

I don't think it's a support issue... But it definitely could be... Can you help?

AdSchellevis commented 4 years ago

Can you post thee output of the following command?

ifconfig gif0

At a first glance I would expect you have an issue in your gif interface configuration, parsing the address shouldn't be different than using any other interface as far as I can remember.

fichtner commented 4 years ago

Hmm, gif is the tunnel, the real IPv6 is attached to LAN as far as I can tell?

AdSchellevis commented 4 years ago

depending on the connectivity type if I'm not mistaken, on my end a test gif interface has a ipv4 address for example:

 OPT8 (gif0)     -> v4: 10.233.1.2/32

but it's still early, not enough coffee yet :)

fichtner commented 4 years ago

Certainly, having DDNS pick up the IP of the tunnel endpoint is irrelevant because DDNS can pick up the working LAN IPv6. I wouldn't try to glue everything together on the assumption that "it should" work this way because that's a lot of assumptions from a missing IPv6 in the console.

ElectronicEconomy317 commented 4 years ago

Thanks Guys for jumping on this one. Here's the output of the ipconfig gif0:

image

I redacted a portion of the IP addresses...

ElectronicEconomy317 commented 4 years ago

If I change the Cloudflare DDNS v6 to the LAN interface... I get a crash report...

PHP Warning: Invalid argument supplied for foreach() in /usr/local/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc on line 838

And the DDNS still shows N/A for the address

Not sure if the crash is expected...I am doubtful...

I guess it SHOULD pickup the ipv6 LAN address and report that to CLOUDFLARE v6...

ElectronicEconomy317 commented 4 years ago

Any update on this one?

OPNsense-bot commented 3 years ago

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.