How to specific network interface for NFS?

CycloneB

Member
Jan 26, 2020
21
3
23
43
I have a pve7.4 host that has a built-in NIC (192.168.111.140/24) + a two-port 10gbe NIC (192.168.112.140/24). I have a NAS with an NFS share sitting at 192.168.53.15/24.

How do I set up pve to connect to that NFS share using the 10gbe NIC? When I add the NFS share normally through the GUI, pfSense is seeing the packets come from 111.140 instead of 112.140.
 
if you have direct access to the nfs storage network (I don't think you want to be routed by our pfsense for the nfs right ?), simply put an ip in 192.168.53.0/24 on your 10gb card
Sometimes you miss one thing being too focused on the other. I definitely want to have it use the 10gb card and totally blanked out on using a simple solution. On one of my other nodes (the one running pfSense), it has an Intel i340-T4 passed through, leaving only the onboard nic. Since 112 is my migration network, I have a second bridge using the same physical interface on the 112 vlan. It totally escaped me to do the same on the new node but with the 53 vlan (each of my subnets is also its own vlan).

Wouldn’t this expose the underlying mgmt interface to other devices of 53.* though?
 
Last edited: