Search code examples
vmwareciscoesxvlancucm

Connect ESX server different Vlan VMs via same Switch port on cisco switch


I have a Dell T110II server running ESXi 5.5 and i have 2 VMs which is a Windows 2008 server and Cisco CUCM 8.6.

Windows server in a Vlan 21 and CUCM in a Vlan 10. ESX server connected to Cisco 2960 24 port PoE switch port Gig 0/7 and that switch connected to our L3 Core Switch which is basically doing all the routing.

My problem is i have to contact both Vlan 21 and Vlan 10 VMs via Gig0/7 port. I tried configure that port as trunk but it didn't work.

Any ideas???


Solution

  • Your Cisco switchport needs to be set to mode trunk and dot1q encapsulation. In the vswitch configuration, you create port groups and assign the vlan ID to the port group. You'll bind the network adapters in your virtual machines to these port groups.

    https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004074