[SOLVED] GIF tunnel setup appears to want IPv4, not IPv6, addresses

Started by bexc, March 26, 2019, 02:53:23 AM

Previous topic - Next topic
I have an IPv6 tunnel from Hurricane Electric, and went to configure it in "Interfaces: Other Types: GIF". However, the documentation says the "GIF tunnel remote address" should be configured as /64, but the drop-down only goes from 1 to 32.

Also, when I enter the information per the documentation, the UI complains about the IP addresses not being valid.

Is it the same bug as reported in https://forum.opnsense.org/index.php?topic=8733.0 ?

There, they say:

"There appears to be a bug in the UI code.
  That is, I can manually put a /64 after the tunnel-local-addr, like this:
      <tunnel-local-addr>2001:XX:XX:XX::2/64</tunnel-local-addr>
  in /conf/config.xml

And if I immediately restart, and go to Interfaces->other-GIF0 and click edit,
2001:XX:XX:XX::2/64 appears in the "GIF Tunnel Local Address" web field.

If I click "Save", I get the red banner of input error:

The following input errors were detected:
    The tunnel local and tunnel remote fields must have valid IP addresses."

Hi,

Are you talking about https://docs.opnsense.org/manual/how-tos/ipv6_tunnelbroker.html where what you says no longer exists?

Are you talking about the bug fixed in the docs 5 months ago?

https://github.com/opnsense/docs/commit/4d18ffae9b3

How are you running into this issue?


Cheers,
Franco

PS: Forgive my confusion if you talk about remote address and then edit tunnel-local-addr in the config.


Try a different browser. The select box is expanded to IPv6 subnet values on IPv6 input in the main address field.


Cheers,
Franco