I have set up a TrueNAS SCALE with 2 NICs on it. I would like to segregate clients SMB access between the 2 NICs.
Here is the BIND record of the IPs belongs to the machine:
truenas.lan.home. IN A 10.77.0.91
truenas2.lan.home. IN A 10.77.0.92
And the SMB share settings:
- NetBIOS Name: truenas
- NetBIOS Alias:
- Workgroup: WORKGROUP
- Description: TrueNAS Server
However, I discovered the clients always connect to the 10.77.0.91 despite the file
/etc/fstab
listed truenas2.lan.home
or 10.77.0.92
as the host such as following:
//truenas2.lan.home/foo /mnt/truenas/foo cifs rw,vers=3.0,auto,credentials=/root/.truenas_credentials,uid=1097,gid=1097,file_mode=0664,dir_mode=0775,noserverino 0 0
//10.77.0.92/bar /mnt/truenas/bar cifs rw,vers=3.0,auto,credentials=/root/.truenas_credentials,uid=1097,gid=1097,file_mode=0664,dir_mode=0775,noserverino 0 0
TrueNAS version: TrueNAS-SCALE-23.10.2
How to make clients connect to 10.77.0.92?
Thank in advance!