VLANs in Nested Virtualization ?!

tryllz

Smack-Fu Master, in training
61
Hi,

I have a Nested setup and I'm trying to understand how to implement VLANs in this case.

I'm asking about Virtual Switch Tagging, where do I add VLANs in this case, on the PortGroups in Physical ESXi or the Nested ESXi (controlled by the vCenter via Distributed Switch).

Physical ESXi is connected to the physical switch via default VLAN0, the port groups in the Physical ESXi are all in VLAN4095.

Thank You

Dell-Network.png
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
You add them everywhere you need them to be preserved or used. On any switch that might need to preserve them or use them and on the dvswitch in vCenter, and in anything else that might need to understand or use them.

To be more specific than that, you would need to explain more what you are trying to do.

Using vlan 4095 in vmware vsphere is akin to 'vlan trunking' or 'vlan general mode' or '802.1Q vlan trunking' which are all names for a network interface that will pass through all VLAN tags (at least all allowed/configured tags) without changing/removing them. You use that on a network interface that you want to allow VLANs through to/from the virtual machines on the vswitch.
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
Wait, when you say nested, you're running VMs inside another VM? :scared: Yeah, no idea if that will work with VLANs, and it will certainly be harder than necessary. Why are you doing that?

If you really need to then basically the VM that is running the nested VMs will definitely need 'VLAN trunking' which means VLAN 4095 in VMWare world. Beyond that, it will depend a lot on the specifics of what you are doing. You're going to have to get waaaaay deeper into the details if you want specific help. Basically you need the 'host' virtual machine to pass the VLAN tags created in the nested VMs up to the switch, I would assume.

Really though, your network map makes very little sense so I am not sure what you are trying to do. You've posted stuff like this a lot before, I think, and ever time it doesn't really make sense other than 'trying to see what I can do' and playing around. If that is the case, then continue playing around and see what you can do. You're basically trying to do things 'wrong' so it's hard for people to tell you how to do it.