TrueNAS is using an old IPv6 that is not defined anywhere

I recently made some changes and cleaned up my TrueNAS network.
I wanted it to look nicer and set some good looking IPv6 in the VLAN51.
2aXX:XXXX:XXXX:51::13

I disabled DHCP and SLAAC, set the gateway 2aXX:XXXX:XXXX:51::1

You can see my local TrueNAS network config here:

I was pulling my hair out, why the remote host discovery did not work.
Finally took a look at the remote firewall, turns out TrueNAS gets blocked, because it is still using (I guess) old SLAAC IPv6. See here:

Running ip -6 route get remoteIPv6
shows
remoteIPv6 from :: via 2aXX:XXXX:XXXX:51::1 dev vlan51 proto static src 2aXX:XXXX:XXXX:51:527c:6fff:fe62:39c3 metric 1024 pref medium

Why is it not using the defined ::13 IPv6?

Did you reboot the TrueNAS host? At least back in the CORE days it was generally advisable to do that after any network change.

After a reboot, the system instantly was able to instantly send an alert mail. So I assume not only the snapshot sending was broken, also the alert mails.

Although the issue is now solved, not only was this a PITA to hunt down the issue, but also a little bit worrisome (alerts).

I don’t understand why TrueNAS is using such obscure settings for something so simple. Interfaces or netplan work perfectly fine. Proxmox (although also having some networking quirks) does a good job, offering the user a webGUI for interfaces and showing a preview of what /etc/network/interfaces will be changed to.

Got an error this morning.

Even after the reboot, the snapshot replication is still trying to use the old IPv6 and fails! It was only remote key discovery that worked, not remote replication.

IMHO it is a bad user expirience, if you can’t trust the webgui.
Which still looks like this:
https://forums.truenas.com/uploads/default/original/3X/6/d/6df10c34758bd2603b92bb5fcc8e1cff7c4d8ed1.png

Can you confirm which version of software you are running?
If it is not behaving correctly, it’s not a bad experience, it’s a bug…

1 Like

Sure. The host in question is running 25.04.2.6.

I don’t want to derail the discussion, and maybe it has nothing to do with this, but I also experienced strange network behavior with a 25.10.2.1 TrueNAS Mini X+.

If you can reproduce either issue with 25.10.2.x,. its worth reporting a bug.

There is expected to be a hotfix to resolve some other issues soon, but neither seem to address this issue.

1 Like

Same problem with 25.10.2.
Opened up two bug reports.

and

1 Like

something else, why does after 13min, the bug clerk ask me to attach a debug, when I did this while creating the ticket?

Are you able to check if the debug was attached? It may not have been working properly.

I am currently not even able to log me in (with Apple) :frowning:
When did Jira become so bad? I used it at work 15y ago, and it was fine back then. Now it is always either broken or dead slow.

Edit: Incognito did the trick… I can’t find it, so my guess is it did not work.

@Captain_Morgan can you check the listed Jira tickets by @Sara and see if the debug dumps got attached?

I wonder if my random on boot ipv6 assigned to bridge member interface (which should have no IPs & has none showing in GUI) is related… Would be nice if this was a bug & got fixed in a future update - would make it worth updating.

I see png files attached to those tickets, but no debugs. This ticket (Jira) was created at about the same time, also appears to have come from the UI, and it has both a png and a debug attached, so it doesn’t look like a universal problem.

@Sara can you use the link in the bugclerk comment to manually attach a debug from the right system to the 25.10.1 ticket?

1 Like

Maybe the problem is also related to the network? I don’t know how to be honest, since even the SLAAC is allowed to reach the internet, but maybe the debug works differently than sending the ticket.

I attached the debug to both IPv6 tickets.
And also to my third “debug not working” ticket.
Ironic that I have to manually attach a debug to my “debug did not work” ticket, since attaching the debug did not work :grinning_face_with_smiling_eyes:

BTW Jira is working ok again, much better than yesterday.