Bridge or LAGG with VLANs ?

Started by amlanhldr, May 23, 2024, 05:41:41 AM

Previous topic - Next topic
Hello Members,

I have an obvious requirement.

My OPNsense is on proxmox with 2 NIC ports pass-through to vm(1 for WAN, another for LAN with VLANS). And I have few other VM/LXC servers on same host.

Till now what I do is, pass the server data through virt-bridge on proxmox management port --> Switch and Switch --> OPNsense.

I want to have, OPNsense to servers communication through proxmox backplane (virt-bridge), bypassing the switch and cables.

What I did:

created vmbr1 on proxmox with vlan-aware. added vlan200 with ip on top of vmbr1. Added vmbr1 to OPNsense. so now I have 3 physical port seen from OPNsense(vtnet1, igb0, igb1)

1) Created LAG with vtnet1 with igb1. and then vlan on top of lagg. -- that didnt work. Probably that is not the right approach to use LAG.

2) Created vlans on igb0 and vtnet1 simultaneously. created bridge on same vlans from vtnet1 & igb0. set IP for bridge. -- that didnt work either.

What will be the right approach to do this?