I would like to configure freeNAS as an NFS server. I have 2 isolated networks we can call Production and DEV.
Production is on vlan 15
DEV is on vlan 304
FreeNAS is installed as a VM guest on esxi. Each vNIC in the VM guest configuration is configure to a port group that passes all vlan IDs, all 4095
So I've created a vlan interface in freeNAS:
em0 is parent to vlan interface vlan15 (tagged 15 traffic)
em1 is parent to vlan interface vlan304 (tagged 304 traffic)
The network in both vlans are 10.15.0.0/16, gateway 10.15.0.1
see where I'm heading? I have a server, let's say 10.15.2.2 that's in both Production and in DEV. But I want to create an single nfs mount on freeNAS where the server in production and dev (same ip address but different vlans) can share. FreeNAS would be assigned the IP address of 10.15.2.41 on both the production and DEV vlan.
Is this possible or is there another approach? Technically freenas doesn't have to be configured with the same ip in both production and test,
I've assigned the interface vlan15 with the ip address 10.15.2.41 255.255.0.0 just to see if I can ping freenas from the production vlan side and it is not working. I'm pretty sure it has to do with not having a gateway or static route and this is where I'm not sure how to configure correctly.
Any help would be appreciated!
Here's the ifconfig output. Sorry it had to be images as i can't cut and paste from the esxi console.
Production is on vlan 15
DEV is on vlan 304
FreeNAS is installed as a VM guest on esxi. Each vNIC in the VM guest configuration is configure to a port group that passes all vlan IDs, all 4095
So I've created a vlan interface in freeNAS:
em0 is parent to vlan interface vlan15 (tagged 15 traffic)
em1 is parent to vlan interface vlan304 (tagged 304 traffic)
The network in both vlans are 10.15.0.0/16, gateway 10.15.0.1
see where I'm heading? I have a server, let's say 10.15.2.2 that's in both Production and in DEV. But I want to create an single nfs mount on freeNAS where the server in production and dev (same ip address but different vlans) can share. FreeNAS would be assigned the IP address of 10.15.2.41 on both the production and DEV vlan.
Is this possible or is there another approach? Technically freenas doesn't have to be configured with the same ip in both production and test,
I've assigned the interface vlan15 with the ip address 10.15.2.41 255.255.0.0 just to see if I can ping freenas from the production vlan side and it is not working. I'm pretty sure it has to do with not having a gateway or static route and this is where I'm not sure how to configure correctly.
Any help would be appreciated!
Here's the ifconfig output. Sorry it had to be images as i can't cut and paste from the esxi console.

