[SOLVED] HE.NET GIF tunnel never comes up.

Started by 5SpeedFun, February 02, 2022, 05:01:01 AM

Previous topic - Next topic
Result:
root@edge01:~ # grep rainterface /conf/config.xml
      <rainterface>static</rainterface>

Aha! "static" no longer exists:

https://github.com/opnsense/changelog/blob/33adbc10d98db0f9c4412696bc58c3614ea6d6fa/community/22.1/22.1#L104

When you clear the "source address" selection (set "automatic") you can get it working again...

As mentioned in the source change https://github.com/opnsense/core/commit/a94c63b2b763ff you can emulate "static" mode by adding two advanced options to router advertisements on the same page:

AdvDeprecatePrefix off
AdvRemoveRoute off

(or adjust as required)


Cheers,
Franco

Hey Franco, that seems to have fixed it.

When I looked at source address seelection the only option was automatic, so I just re-saved the RA -> [LAN] interface.

I then added "Off" to both of those options and it promptly broke :)

opnsense-log showed a syntax error at line 12 in radvd.conf, and it appears I needed to put off not Off.

Once I did that, ipv6 is working again!

Also:  Does this look as expected?

root@edge01:~ # grep rainterface /conf/config.xml
root@edge01:~ #


Thanks for all your help!  I'm going to run on 22.1.4 and see if I find any more issues.

Looks good from here... we did it. \o/


Cheers,
Franco

Thanks so much Franco!

One question:  Can you explain when those 2 Advanced options are needed for an interface?  Are they needed any time there is both a static v4 & v6 address?  Some other criteria?

The legacy static mode would prevent addresses and routes from begin revoked when the router restarts/radvd itself is restarted for reconfiguration. That's done to prevent intermittent connectivity issues on clients if you have a static setup anyway.

After a longer discussion on GitHub it was concluded to break up the static mode into its individual pieces so we removed the setting and added the two configuration flags instead for those who wish to use it still.

For CARP mode these two configuration flags turned to off are still the standard.


Cheers,
Franco