Help with VLANS / Opnsense / Mikrotik

croak3569

New Member
Jul 7, 2024
4
0
1
Hi; I'm a newbie and am looking for some guidance

I have OPNSense virtualized on Proxmox. Furthermore, I have 3 physical NICs on my PC; and have created 1:1 bridges for each NIC. 1 for Wan and 1 for Lan (all good here).

I have created 4 VLANs (10, 20, 30, 40) on OPNSense, and using this last nic / bridge (which is "not" marked vlan aware in Proxmox), connected / trunked it to a Mikrotik Hex (5 ports). I'm using the 4 available ports for VLAN 10, 20, 30, 40 to separate physical devices. This replicates a more traditional network (in my opinion) of router on a stick.

Now this is what I want to do;

I wish to create a few CTs/VMs in Proxmox, and assign these into VLANs 60, 70, 80. No physical devices involved here, just CTs/VMs. How do I go about doing this?

1. Should I make the 3rd NIC VLAN aware and that's it? would I also need to have the Mikrotik recognize these new VLANs IDs on the main trunked port.
2. Should I create a new VLAN aware bridge in Proxmox, without assigning it to any NIC. That way I don't have to touch the Mikrotik, and just create the Vlans in OPNSense.

Once again I'm a newbie; so apologize if this question has been asked before, or I'm using incorrect terminology. Would really appreciate some help or guidance.
 

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!