Forum Discussion
Stanislas_Piro2
Mar 23, 2019Cumulonimbus
You must first configure VMWARE to support it:
https://kb.vmware.com/s/article/1004252
Configuration of VirtualSwitch (vSwitch)
To set a standard vSwitch portgroup to trunk mode:
- Edit host networking via the Virtual infrastructure Client.
- Navigate to Host > Configuration > Networking > vSwitch > Properties.
- Click Ports > Portgroup > Edit.
- Click the General tab.
- Set the VLAN ID to 4095. A VLAN ID of 4095 represents all trunked VLANs.
- Click OK.
To set a distributed vSwitch portgroup to trunk mode:
- Edit host networking via the Virtual infrastructure Client.
- Navigate to Home > Inventory > Networking.
- Right-click on the dvPortGroup and select Edit Settings.
- Within that dvPortGroup, go to Policies > VLAN.
- Set VLAN type to VLAN Trunking and specify a range of VLANs or specificy a list of VLANs to be passed to the Virtual machines connected to this portgroup.
Note: To improve security, virtual Distributed Switches allow you to specify a range or selection of VLANs to trunk rather than allowing all VLANS via VLAN 4095.