• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 543
  • Last Modified:

ESX1 with 2 VLAN's

We have single ESX1 server. Which has got 4 NICs and all of them plugged to VLAN1.
We have just one virtual switch on the ESX.
We have VLAN2 and now the virtual servers on the ESX need to talk to VLAN2. What changes needs to be done.
0
Malli Boppe
Asked:
Malli Boppe
  • 5
  • 4
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
You need to configire your physical switch for VLAN2.

You also need to create a new Virtual Machine Network, and specify the tag number if it's 2.
0
 
Malli BoppeAuthor Commented:
sorry can you be more elaborate.
my experience with vmware and networking is very basic.
VLAN1 and VLAN2 networks are fully configured on the network.
I am physical machines both on VLAN1 and VLAN2
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Create a new Virtual Network on vSwitch0, using the Tag 2.

Select -> Host --> Configuration --> Networking --> Properties on vSwitch0 --> Add Virtual Machine Network follow the wizard, enter Tag 2.

then select this virtual machine network for the VM, in VM Settings, next to Network Interface.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Malli BoppeAuthor Commented:
Physically all the NICS are plugged to VLAN1. so don't I need to plug in the NIC's to the VLAN2
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
depends how you have configired your physical switches are ports.

usually you would present a trunk port, with two or more nics, which has tagged vlans.

it would suggest you do not have this configuration.

so just create a new vSwitch1, add a physical nic, connect this physical nic to physical switch port vlan2.

add a new virtual machine network portgroup on vSwitch1, label it vlan2

select this in the virtual machine , next to network interface
0
 
Malli BoppeAuthor Commented:
Do I need to create the virtual machine network portgroup on vswitch1.Can't I just add the VM's to the vswitch1.
Also what changes Do I need to make on the existing switch Vswitch0.
Any changes that I need to make on the existign VMs which are on vswitch0
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
no changes required on vSwitch0

if you want VMs on this new vlan2, change the network interface to new network

yes, you need to create the new virtual machine porgroup, then change the network the vm uses
0
 
Malli BoppeAuthor Commented:
Thanks Hanccocka
It did work but want to know why we need to create port group for vswitch1 and not for vswitch0
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
VLAN2 is connected to vSwitch1.

VLAN1 is connected to vSwitch0.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now