D
Deleted member 116138
Guest
Hi!
I'm a little bit confused about what the best approach would be when it comes to the use of multiple VLANs in VMs without using dedicated virtual adapters for each VLAN.
As an example (test lab setup):
PVE#1
- LACP Bond0 (802.03ad) connected to switch#1, VLAN10, VLAN20, VLAN30, VLAN40 and VLAN50 are tagged on the switch' LACP ports 1-4.
- running 2x Windows Server 2022 VMs (1x Active Directory DC, 1x DHCP/Fileserver) & 2x Windows 11 VMs
PVE#2
- LACP Bond0 (802.03ad) connected to switch#2, VLAN10, VLAN20, VLAN30, VLAN40 and VLAN50 are tagged on the switch' LACP ports 1-4.
- running 2x Windows Server 2022 VMs (1x Active Directory DC, 1x DHCP/Fileserver) & 2x Windows 11 VMs
Switch#1 and switch#2 are connected by a LAG/Trunk. A OPNsense is currently managing routes and rules for each VLAN (interfaces connected to switch#2).
My goal
Using only one vNIC on each Windows Server. It would be a pain adding 5 separate vNICs to each Windows Server to "talk" to each VLAN. For example: the DHCP servers in Windows shall assign IPs to each VLAN scope without having a vNIC in that VLAN/Subnet.
What would be the best approach? Using/creating an Open vSwitch within Proxmox?
I'm a little bit confused about what the best approach would be when it comes to the use of multiple VLANs in VMs without using dedicated virtual adapters for each VLAN.
As an example (test lab setup):
PVE#1
- LACP Bond0 (802.03ad) connected to switch#1, VLAN10, VLAN20, VLAN30, VLAN40 and VLAN50 are tagged on the switch' LACP ports 1-4.
- running 2x Windows Server 2022 VMs (1x Active Directory DC, 1x DHCP/Fileserver) & 2x Windows 11 VMs
PVE#2
- LACP Bond0 (802.03ad) connected to switch#2, VLAN10, VLAN20, VLAN30, VLAN40 and VLAN50 are tagged on the switch' LACP ports 1-4.
- running 2x Windows Server 2022 VMs (1x Active Directory DC, 1x DHCP/Fileserver) & 2x Windows 11 VMs
Switch#1 and switch#2 are connected by a LAG/Trunk. A OPNsense is currently managing routes and rules for each VLAN (interfaces connected to switch#2).
My goal
Using only one vNIC on each Windows Server. It would be a pain adding 5 separate vNICs to each Windows Server to "talk" to each VLAN. For example: the DHCP servers in Windows shall assign IPs to each VLAN scope without having a vNIC in that VLAN/Subnet.
What would be the best approach? Using/creating an Open vSwitch within Proxmox?