Use multiple net

Hi all, i have a truenas scale running on multiple nico configurato and a proxmox/kubernetes node.
I want connect to two nodes with point to point net with a differenti sub net (the home net is 192.168.1.0/24).
Can i expose nas services (nfs, samba) on both subnets? If yes how i can invoke services for one net or the other? By example i want backup my proxomox on nas without to overlord normal home net.

I havent managed switchs but only 2 dumb level 2 switchs.

AIUI, nas services are running on all network interfaces by default. At least it works for me without additional configuration. I also have 2 unmanaged switches – one for lan, and one for “san”.

Well, if you just want to connect 2 nodes, you don’t need a switch. You can just directly connect the “secondary” NICs of your nodes and manually set IPs (make sure the subnet is different from your home lan). Then on the proxmox side under Datacenter → Storage add an SMB/NFS share with this “secondary” IP.

If you don’t want SMB to listen on all ports, you can change it under System → Services → SMB → Edit → Advanced Settings → Bind IP Addresses. Perhaps the same goes for NFS, but I didn’t try.

1 Like

Thanks, its exactly what i nedd to know, i will connect NAS and Promox direcly in his own subnet

1 Like