I have been using Proxmox for a while now and is very pleased with all it’s functionality. I have set up a virtual OPNSense router which I would like a few devices, both VM:s and devices to connect to. It works great but I feel that I have done it all wrong when I run that virtual network on my homelab subnet.

As for now, my homelab subnet is 10.1.11.0/24 and the virtual network on my virtual OPNSense router is 192.168.21.0/24. I have configured my TP-link managed switches to run untagged traffic on ports which my homelab devices are connected to and all devices and vms on the 192-subnet can connect to eachother on my 10.1.11.0-subnet. (Hope you understand what I mean)

However, I would like to keep my virtual router and connect a few devices(vms, wired and wireless devices) through this virtual router. What is the best practice to do this? Because I feel that my current solution isn’t right.

My home network consists of a OPNSense router, connected to TP-Link managed switches. Should I create a separate VLAN and put my virtual router on that VLAN and connect my devices over that one instead or is there and even more correct way of deploying this?

I however I end up doing this, I will be making my proxmox server VLAN aware and create subnets so I can segregate vms in case I need it. This will probably be most necessary anyway.