Div | ||
---|---|---|
| ||
|
...
Info |
---|
This page describes how to configure VLAN tagging on a VMware ESXi host to run a DHCP Server or a Gateway. |
To run a DHCP Server or a Gateway on a virtual machine.
This document describes how to prepare an ESXi host that will be used as a DHCP Relay Server.
For information about setting up DHCP Relay Servers please see Configuring DHCP in the Administrator's Guide.
Preparing the ESXi host
VM on ESXi, you will need VLAN support.
In order to create all VLAN interfaces inside on a DHCRelay VM and listen to them, we need to attach its a VM's virtual NIC to a special Virtual Machine Port Group with VLAN 4095. You can see this config in the following image:
, which represents all VLANs.
Before you begin, remember that you may also need to configure the VM. An 802.1Q VLAN trunking driver is usually loaded by default on Windows and Linux. Select an E1000 Ethernet driver for maximum compatibility with all virtualization technologies.
Follow these steps to create this the Port Group with VLAN 4095 using vSphere Client v6.5:
Log in to the vSphere Client and select the host from the
...
Inventory panel.
...
Go to Networks
From the Actions menu, select Add Networking.
...
Select Virtual Machine Port Group for a Standard Switch and click Next.
Select
...
New standard switch or select one of the existing vSwitches.
...
The selected vSwitch should attach to the service network
...
, which holds the VLANs for the VMs. Click Next.
In the
...
Connection settings section, enter a
...
Network label to identify the port group you are creating.
Note: The network label can contain up to 63 characters
...
...
For the VLAN
...
ID,
...
select
All (4095)
. Click Next.
...
Check that the vSwitch is configured correctly
...
and click Finish.
This port group will be used when receiving DHCP tagged demands requests from deployed virtual machinesVMs.