OPNsense Forum

English Forums => Documentation and Translation => Topic started by: hilfubsi on May 21, 2018, 02:07:26 am

Title: Step 1 for "Configure IPv6 Tunnel Broker" fails
Post by: hilfubsi on May 21, 2018, 02:07:26 am
Here: https://wiki.opnsense.org/manual/how-tos/ipv6_tunnelbroker.html

In the screenshot, it shows that GIF tunnel local address should have /64 after the address.

If you try to save with that setting, the UI complains that this isn't a valid address. The only way to save the settings is to remove the /64.

I don't know if this is a bug in the form validation or if it is an error in the wiki. Either way, it's confusing and blocks the process.

Thoughts?
Title: Re: Step 1 for "Configure IPv6 Tunnel Broker" fails
Post by: The_Pod on June 02, 2018, 11:53:00 am
I have this same issue, I removed the /64, and continued through following the rest of the guide. I simply can not get the tunnel to work. Doing an ifconfig shows gif0 with a /128, and not the /64. Any input on this would be great.
Title: Re: Step 1 for "Configure IPv6 Tunnel Broker" fails
Post by: bitman on June 02, 2018, 12:44:47 pm
these are my settings to HE;

 Parent interface [WAN]

 GIF remote address [IPv4 address]

 GIF tunnel local address [IPv6 address]

 GIF tunnel remote address [IPv6 address] [/64]

 Description [What ever description]


good luck


Title: Re: Step 1 for "Configure IPv6 Tunnel Broker" fails
Post by: samcn2 on August 02, 2018, 11:43:34 pm
I am having the same issue.

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.

So, I leave it as I manually input into config.xml (i.e. don't save)
And I still get a prefixlen of 128:

AND That's OK, when I look back at the tunnelbroker documentation for FreeBSD.
So It's just the UI issue.  And a manual edit of config.xml is a workaround.

#ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
   options=80000<LINKSTATE>
   tunnel inet 207.XXX.XXX.21 --> 216.66.22.2
   inet6 2001:XXX:XXX:XXX::2 --> 2001:XXX:XXX:XXX1e::1  prefixlen 128
   inet6 fe80::20c:xxxx:xxxx:xxxx%gif0 prefixlen 64 scopeid 0xa
   nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
   groups: gif


Cheers!
-sam
Title: Re: Step 1 for "Configure IPv6 Tunnel Broker" fails
Post by: samcn2 on August 02, 2018, 11:44:44 pm
And I am running 18.7