New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tayga won't start (interface nat64 does not exist) #2094
Comments
Maybe this happened with 20.7 update. Had in mind that FreeBSD 12 already has something native aboard. |
Problem possibly found. Refering to: https://docs.opnsense.org/manual/how-tos/tayga.html When using 64:ff9b::/96 as IPv6 Prefix, IPv6 Address is NOT optional, not specifying results in: As per the HowTo or the helptext the IPv6 Address should be automatically set: Manually setting the IPv6 Address to the one mentioned in the HowTo (64:ff9b::c0a8:ff01) unveils why the address won't be set: Setting the IPv6 Address to some other IPv6 Address (like a GUA of my prefix) brings the interface and service up. I am not sure if Tayga would work with that configuration, I will try to test that later. Setting 64:ff9b::c0a8:ff01 as the IPv6 NAT64 Interface Address instead of the IPv6 Address works as well in bringing the interface and service up. But that shouldn't be used: |
@pabe-github, you're right, the IPv6 Address example in the how-to is wrong. Not sure what I was thinking there, especially since I did add a warning that Tayga will refuse to handle addresses composed of the well-known prefix and an RFC1918 address. That applies to Tayga's own IPv6 address, too. So, the IPv6 Address auto generation only works if you change the IPv6 Prefix to a GUA or the IPv4 Address to a non-RFC1918. Otherwise, you have to specify the IPv6 Address (can be a GUA or ULA). I'll fix this in the how-to (and maybe UI). As you noticed, setting the IPv6 Address and the IPv6 NAT64 Interface Address to the same address will break things. The solution you came up with (using two unused addresses from your site's GUA prefix) is correct. The only side effect of the IPv6 Address being outside the IPv6 Prefix is that you probably can't ping it (since we only add a route for the prefix). Not a big deal, but if you can confirm this we might want to add a fix. @mimugmail, sorry for showing up late. I don't frequently browse the issues here. |
Please close this one :) |
[x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[x] I have searched the existing issues and I'm convinced that mine is new.
[x] The title contains the plugin to which this issue belongs
Describe the bug
Tayga Plugin seems broken as it won't create the required nat64 interface.
Maybe some script isn't calling tayga_interfaces()? (https://github.com/opnsense/plugins/blob/master/net/tayga/src/etc/inc/plugins.inc.d/tayga.inc)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tayga starts :-)
Relevant log files
Specifying the tayga_v6address on the GUI (for example to 64:ff9b::c0a8:ff01) adds it to the rc.conf.d/ file, but doesn't change the fact that the interface is missing.
Environment
OPNsense 20.7.4 (amd64, OpenSSL).
192.168.255.0/24 and 192.168.254.0/24 is not used anywhere in my LAN
The text was updated successfully, but these errors were encountered: