ESXi - Virtual VLAN Help

essexboy80
essexboy80 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Paul SolovyovskySenior IT Advisor
Top Expert 2008

Commented:
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..
Top Expert 2009

Commented:
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

Author

Commented:
Hi,

When creating the VLans would I need the same Vlans on the switch?
Senior IT Advisor
Top Expert 2008
Commented:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial