Dual Network for VMs/Containers to access NAS?

jdelliott

Renowned Member
Dec 6, 2013
3
0
66
I hope I can explain this properly. I have a single node (for now) Proxmox server. 2 LACP 1Gb connections on my main subnet, and I have a 10G connection from the proxmox box to my NAS, an ASUS Lockerstor 10. I have a 2 TB NVME drive on the NAS that is setup for exlusive use of storing all the Proxmox data (VM/Container disks, templates, etc. All traffic goes over the 10G network, as far as I can tell, as access is much faster than it would be if it was using the 1G network

Main network is 192.168.101.x, I have assigned an address of 192.168.102.2 to the NAS on the 10G network, it also has an address of 192.168.101.100 which is using both 1G ports in an LACP bond to the switch, and 192.168.101.3 to the Proxmos node, with no gateway, because this obvuisly does not need internet access,

My question is, what do I need to do to expand that network for the VMs, so all traffic file-related goes over the 10G network, instead of the 1G, such as mounting SMB/NFS shares from the NAS? Do I need to setup another bridged network, and the in a VM when I'm trying to mount a share, point it to the 192.168.102.2 network, instead of 192.168.101.100, which is the way I do on all my other netowrk computers that I have? Is it really that simple?

Current network on the proxmox node:

2024-11-05 12_50_22-riker - Proxmox Virtual Environment.png

Current vmshared mount, for storage of all Proxmox stuf:

2024-11-05 13_14_01-riker - Proxmox Virtual Environment.png
 
Last edited:
If I'm on the right track, I'd delete the 192.168.102.3/24 IP address from the eno4 device, then create a bridge (vmbr1?), with eno4 as a member of that bridge, and assign the bridge an IP of 192.168.102.3/24, so as not have to recreate any of the mappings, etc? Then I could add a second network device to each VM/container that uses vmbr1, and assign it an IP in the range 192.168.102.x, then when I'm mapping shares (SMB/NFS) inside the VM/container, I'd use the host of 192.168.102.2, and that traffic would go through the 10G network between the NAS and the Proxmox node?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!