Link to home
Start Free TrialLog in
Avatar of essexboy80
essexboy80Flag for United Kingdom of Great Britain and Northern Ireland

asked on

ESXi - Virtual VLAN Help

Hi,

I have got an ESXi server that has got two NICs connected to my LAN.

I want to create a Virtual VLAN so that one of the VM Guests is on its own network and can only communicate with the internet and nothing else.

How do I achieve this?

Thanks
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

YOu can do this a few different ways.

Configure the VLAN on the switch and setup the physical switch as a trunk.  Configure the vswitch with the physical port on the vswitch as VM Network and create a port group with the ID of the VLAN.  Now vmware will setup the physical nic as a trunk port and will only allow that vlan to talk to the port group.

You can create several port groups if you will have several VLANs on the ESXi server.  For instance one port group for VLAN 100, one port group for VLAN 101.

The second nic I would use for service console so that you could always get into the ESXi host and manage it..
Just to add what paul described above, when you create the VM, assign the vNIC to the desired port group
As each port group is different vlan, ensure to assign to the correct port group
Avatar of essexboy80

ASKER

Hi,

When creating the VLans would I need the same Vlans on the switch?
ASKER CERTIFIED SOLUTION
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial