Physical Switch VLAN to OPNsense VM Sub-interfaces..

Started by tryllz, March 20, 2021, 07:37:24 AM

Previous topic - Next topic
Hi,

I'm planning to purchase a TP-Link T2500G-10TS (TL-SG3210) switch for home lab. I already have a dell server with quad-port NIC which I will connect to the switch and I'll make VLANs.

The server connects to the switch, the switch connects to my laptop which will run OPNsense VM.

My question is can I use an OPNsense VM (runningin VMware Workstation) to have a Router-on-a-stick configuration with a physical switch, or is this only possible with a physical firewall/router ?

I'm unwilling to purchase a physical firewall/router to save money if Router-on-a-stick is possible with a physical switch to firewall/router VM.

Thank You


If VMware Workstation supports VLANs: Sure, it would work. You typically don't configure VLANs in OPNsense itself when using virtual NICs. You create a virtual NIC for each VLAN instead.

(Works fine with Hyper-V, don't know about VMware Workstation.)
OPNsense virtual machine images
OPNsense aarch64 firmware repository

Commercial support & engineering available. PM for details (en / de).