Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

classtocc

Table of Contents

 

VLAN support is necessary for running To run a DHCP Server , DHCP Relay 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.VM on ESXi, you will need VLAN support.

In order to create all VLAN interfaces inside on a DHCRelay VM, we need to attach its virtual NIC to a special Virtual Machine Port Group with VLAN 4095.

Before you begin, remember that you will need to configure the VM. On Linux an 802.1Q VLAN trunking driver is often loaded by default. Remember to select an E1000 Ethernet driver.   

You can see this config in the following image:

Image Removed


Follow these steps to create this the Port Group with VLAN 4095:

  1. Log in to the vSphere Client and select the host from the inventory panel.
  2. Click the Configuration tab and click Networking.
  3. Select the Virtual Switch view. vSwitches appear in an overview that includes a details layout.
  4. On the right side of the page, click Add Networking.
  5. Accept the default connection type, Virtual Machines, Go to Networks
  6. From the Actions pull-down, select Add Networking.
  7. Select "Virtual Machine Port Group for a Standard Switch" and click Next.
  8. Select "Create a virtual New standard switch" or select one of the existing vSwitches. Attach the The selected vSwitch to the service network (VLANs network).Click , which holds the VLANs for the VMs, and click Next.
  9. In the Port Group Properties groupConnection settings section, enter a network Network label to identify the port group you are creating.
    Note: The network label can contain up to 63 characters.characters (question)
  10. In For the VLAN fieldID, enter select All (4095)
  11. Click Next.
  12. After you determine that the vSwitch is configured correctly, click Finish.

...