Avatar of DP230
DP230
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Adding VLAN into Vsphere environment

Dear Experts, we are using Vsphere 6.5 and there is only 1 VLAN for all VMs. Now we'd like to add more VLAN into the ESXi hosts. How can we do that? Many thanks!

Environment:
- SAN storage HP MSA2040
- ESXi 6.5 Host: HP Gen9 server
- Core switch Cisco 3750
StorageVirtualizationCiscoSwitches / HubsVMware

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
SOLUTION
Omar Soudani

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
DP230

ASKER
Hi Omar and Andrew, yes the VLAN and routing were already configured on Core switch. Currently our diagram like this:

ESXi host --------------- vlan 55 -------------- Core switch

As my understanding, you are suggesting us to add 1 more trunk cable like this, am I right?

ESXi host --------------- vlan 55 -------------- Core switch
ESXi host --------------- Trunk (vlan 15,25,35,...)  -------------- Core switch


In case I change the settings lile Omar's advise, is it right?
ESXi host --------------- Trunk (vlan 15,25,35,55,...) -------------- Core switch

If we add a port group of VLAN 15 and connection is remain in VLAN55, is it ok with the VM in VLAN55? If we configure the interface (on Switch side) from access mode vlan 55 to Trunk mode, does it affect the VMs? Do we need to change anything in ESXi host?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Make sure ALL vLANs are consistent on the trunk port and connected to two vmnics in host!

These vmnics are connected and active active to vSwitch

Then create your VM portgroups with correct tag and label

Then assign that vm portgroups to VMs via network interface per VM
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

And with ALL network changes it can affect VMs in production if not done correctly!

If unsure stop and complete changes outside service hours!
Your help has saved me hundreds of hours of internet surfing.
fblack61