I am setting up a bhyve system for use at work, running FreeBSD 13.1. I do not have any management permissions for the network, so IP addressing, VLANs and such are completely out of my control. I want to share files between the host system and the VMs, but not anywhere else on the network.
All the documentation I am finding on NFS shows that I can export to specific hosts or networks, but does not indicate being able to tie the server to a specific network device or devices.
I setup the VMs using vm-bhyve following the instructions from Klara Systems. Currently, I have the switch and a tap device for each VM. The VMs themselves work fine and can access normal network resources. The IP addresses are handed out by our organization's DHCP server, and while they likely will not change, this is not guaranteed. Additional information that may be relevant is that the computer only has one physical Ethernet port, and I do not have an option for adding additional ports.
How can I configure NFS (preferred) or SAMBA to share on the vm switch or the tap interfaces only, without regard to what the IP address may be? Or is there an alternative way to configure the VM networking to accomplish this?
All the documentation I am finding on NFS shows that I can export to specific hosts or networks, but does not indicate being able to tie the server to a specific network device or devices.
I setup the VMs using vm-bhyve following the instructions from Klara Systems. Currently, I have the switch and a tap device for each VM. The VMs themselves work fine and can access normal network resources. The IP addresses are handed out by our organization's DHCP server, and while they likely will not change, this is not guaranteed. Additional information that may be relevant is that the computer only has one physical Ethernet port, and I do not have an option for adding additional ports.
How can I configure NFS (preferred) or SAMBA to share on the vm switch or the tap interfaces only, without regard to what the IP address may be? Or is there an alternative way to configure the VM networking to accomplish this?