OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: tryllz on December 12, 2021, 12:55:40 PM

Title: Successful VLAN Implementation in between OPNSense and vDS ?
Post by: tryllz on December 12, 2021, 12:55:40 PM
Hi,

I'm running a Nested Environment, and would like to know if anyone been able to successfully implement VLANs in OPNSense with Virtual Distributed Switch, where both OPNSense, vCenter, and ESXi are all running as VM's on a physical host.

If yes, can I know how to configure it, or is there a guide to follow specifically for OPNSense.

Thank You
Title: Re: Successful VLAN Implementation in between OPNSense and vDS ?
Post by: bartjsmit on December 12, 2021, 01:58:17 PM
Yes, but without VLAN's defined on OPNsense. It's much easier to present vNIC's in the relevant distributed port groups instead.

My ESXi hosts are physical though.

Bart...
Title: Re: Successful VLAN Implementation in between OPNSense and vDS ?
Post by: tryllz on December 12, 2021, 02:17:33 PM
Sorry I failed to understand.

You mean NOT to create sub-interfaces in OPNSense but rather just add VLAN IDs on PortGroups ?
Title: Re: Successful VLAN Implementation in between OPNSense and vDS ?
Post by: bartjsmit on December 12, 2021, 04:32:20 PM
Yes, that's right. If your OPNsense is a VMware guest, there is no point trunking VLAN's to it. Let vSphere take care of it.