VMware Cloud Community
ZahidHaseeb1978
Enthusiast
Enthusiast

Single VLAN between VMWARE Virtual switch and Physical switch ?

DOHA-Proposed-1.png

My questions from above infrastructure:

I want to create a single VLAN with following ports.

Port1 of Vswitch from VM-1

Port1 of Vswitch from VM-2

Port1, Port2, Port3 of physical switch

is it possible ?

Reply
0 Kudos
2 Replies
vmroyale
Immortal
Immortal

Note: Discussion successfully moved from VMware ESXi 5 to VMware vSphere™ vNetwork

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
Texiwill
Leadership
Leadership

Hello,

For DVS/VSS:

You need to trunk the VLAN directly into the virtual switch, this is called Virtual Switch Tagging. In effect, trunk the appropriate VLANs to the external switch port and then create a Portgroup on the vSwitch with the appropriate VLAN ID. Connect the VM to the appropriate Portgroup. Note, that the pNIC is just an uplink device is not involved.

External Switch Port (VLAN Trunk) <-> pNIC <-> vSwitch <-> PG (VLAN ID X) <-> VM for VLAN ID X

For Nexus 1000V

You need to trunk the VLAN to the Nexus 1000V.

Best regards,
Edward L. Haletky
VMware Communities User Moderator, VMware vExpert 2009, 2010, 2011,2012,2013,2014

Author of the books 'VMWare ESX and ESXi in the Enterprise: Planning Deployment Virtualization Servers', Copyright 2011 Pearson Education. 'VMware vSphere and Virtual Infrastructure Security: Securing the Virtual Environment', Copyright 2009 Pearson Education.

Virtualization and Cloud Security Analyst: The Virtualization Practice, LLC -- vSphere Upgrade Saga -- Virtualization Security Round Table Podcast

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
Reply
0 Kudos