Вы находитесь на странице: 1из 4

Would you like to learn how to configure a VLAN trunk on Vmware ESXi?

In this
tutorial, we are going to show you all the steps required to create a VLAN and
configure a trunk using a Vmware ESXi server.

This tutorial was tested on Vmware ESXi 6.5

This tutorial was tested on Vmware ESXi 6.7

The video above shows how to configure VLAN using older versions of Vmware ESXi 6,
5.5 and 5
Vmware ESXi Playlist:

On this page, we offer quick access to a list of videos related to Vmware ESXi.

Playlist

Don't forget to subscribe to our youtube channel named FKIT.


VMware ESXi Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Vmware Esxi.

List of Tutorials

Vmware ESXi Installation

Vmware ESXi - USB Installer

Vmware ESXi - Patch or Update Installation

Vmware ESXi - PowerCLI Installation

Vmware ESXi - Active Directory Authentication

Vmware ESXi - SNMP Configuration

Vmware ESXi - Syslog Configuration

Vmware ESXi - NTP Configuration

Vmware ESXi - SSH Configuration

Vmware ESXi - Security Banner Configuration

Vmware ESXi - DirectPath Configuration

Vmware ESXi - Create Linux Template

Vmware ESXi - Create Linux Virtual Machine

Vmware ESXi - Resize Linux Virtual Machine Disk

Vmware ESXi - Create Windows Template

Vmware ESXi - Create Windows Virtual Machine

Vmware ESXi - Resize Windows Virtual Machine Disk


Vmware ESXi - Create ISO Repository

Vmware ESXi - Backup Virtual Machine

Vmware ESXi - Export Virtual Machine

Vmware ESXi - Transfer Virtual Machine to another Vmware ESXi

Vmware ESXi - Monitor Vmware ESXi Using Zabbix

Vmware ESXi - Monitor Vmware ESXi Using Zabbix SNMP

Tutorial - Vmware ESXi Trunk Configuration

First, you need to access the Vmware web interface.

Open a browser software, enter the IP address of your Vmware ESXi server and access
web interface.
vmware web interface

On the prompt screen, enter the administrative login information.

After a successful login, the Vmware dashboard will be displayed.


Vmware web export virtual machine

On the Vmware Dashboard, Access the Networking Menu.

Access the Port Groups tab.

Click on the Add port group option.


Vmware ESXi Vlan Add

On the next screen, you need to configure the following items:

• Name - Enter an identification to your Vlan.


• VLAN ID - Enter the VLAN identification number.

After finishing your configuration, click on the Add button.


Vmware Vlan Configuration

If you need to add another VLAN, click again on the Ad port group option.

Perform the same configuration to the second VLAN.


Vmware ESXi Vlan configuration

Don't forget to save your configuration.

To verify your configuration, access the Networking menu.

Access the Virtual Switches tab.

Click on the Virtual Switch.


Vmware trunk virtual switch

On the right part of the screen, you are able to see the trunk configuration.

In our example, we can see that VLANS 100, 200 and 0 are able to pass through the
VMNIC1 interface.
Vmware Trunk native vlan
The VLAN 0 means a network packet without any VLAN tag.

Keep in mind that the Vmware interface VMNIC1 needs to be connected to a switch
port previously configured as a trunk.

The switch port needs to be configured to allow the traffic of VLANS 100, 200.

The switch port also needs to set a default VLAN.

Any packet that arrives at the switch port without VLAN tags will be considered a
member of the native VLAN.

Usually, all network switches set VLAN1 as the native VLAN.

Congratulations! You have successfully configured a VLAN trunk on Vmware ESXi.


Tutorial - Vmware Virtual Machine VLAN Configuration

Now, we are going to teach you how to assign a virtual machine to a specific VLAN.

Access the Vmware Dashboard.


Vmware web export virtual machine

On the Vmware Dashboard, Access the Virtual Machines menu Menu.

Select the desired virtual machine.

Click on the Actions button and select the option named Edit settings.
Vmware Virtual Machine Settings

On the virtual machine properties screen, you need to perform the following
configuration:

• Locate the desired network adapter


• Select the desired VLAN

After finishing your configuration, click on the Save button.


Vmware VM VLAN

In our example, the network interface of a virtual machine was assigned to the VLAN
100.

Don't forget to save your configuration.

Congratulations! You have successfully configured a virtual machine as a VLAN


member using Vmware ESXi.
Related Posts

Vmware ESXi Server Installation


Vmware ESXi Active Directory Authentication
Backup Virtual Machine on Vmware ESXi
Create Linux Virtual Machine Template on Vmware ESXi
Create Windows Virtual Machine Template on Vmware ESXi
Create Windows Virtual Machine on Vmware ESXi
Create Linux Virtual Machine on Vmware ESXi
Vmware ESXi ISO Repository Configuration
Resize Windows Virtual Machine Disk on Vmware ESXi
Resize Linux Virtual machine Disk on Vmware ESXi
Vmware PowerCLI Installation
Vmware ESXi USB Installer
Vmware ESXi Security Banner Configuration
Vmware ESXi NTP Configuration
Vmware ESXi Syslog Configuration

Copyright © 2016 by B. T. R.
All rights reserved. No part of this publication may be reproduced, distributed, or
transmitted in any form or by any means without the prior written permission of the
publisher.

Вам также может понравиться