Hello,
I have 2 network adapters a 10Gbe and a 1Gbe.
Both have different subnets (the 1Gb via br2, the adapter itself has no IP).
I am connected via SMB to the IP of the 10Gbe on my Macbook.
When I move files from one TN dataset to another, it always goes via my macbook. However, I see it reads from the SMB IP/subnet on the 10Gbe but it writes it back via the br2 IP/subnet of the 1Gbe (which I am not connected to on my Mac).
To be clear, br2 only has the 1Gbe as a member. The 10Gbe is has no bridge nor any special config.
You can bind the smb service to the ip of the 10 gig interface.
Go to sytem → services ->smb, stop the smb service and on the right side click the pen icon to edit the service. Click on Advanced Settings. The last option is “Bind IP Adress”. Add the IP of you 10gig interface, save and start the smb service.
The issue has disappeared for now. I unplugged my macbook from ethernet and used it a couple of days on wifi and today when I plugged it back into the dock with the ethernet cable, everything goes over the 10Gb port. Nothing really changed, except that the macbook was rebooted once or twice last week.
I am again seeing this issue, while I connect my time machine backup to the IP of the 10Gb NIC, it seems to split read/write between the 2 NICS (10Gb and 1Gb).
The second nic has a different IP range.
like 192.168.1.0/24 and 10.10.10.0/24 for NIC1 and NIC2.
I do sometimes take the macbook with me on wifi and also return it to my desk, and then turn off wifi and use only the 10GB ethernet cable.
The mac never connects to the second NIC as those IPs are only used for Apps.
Any thoughts how that is possible?
Is the issue that I don’t use VLANS but only have the TrueNAS system use 2 subnets and my router (Fritzbox) forwards the second subnet to my TN system (for the open ports) using IPv4 Route?