You can configure certain vApp networks to provide DHCP services to virtual machines in the vApp.

After you enable DHCP for a vApp network, connect a NIC on a virtual machine in the vApp to that network, and select DHCP as the IP mode for that NIC. When you start vCloud Director, the virtual machine is assigned a DHCP IP address.

Prerequisites

A routed vApp network or an isolated vApp network.

Procedure

  1. Click the My Cloud tab and click vApps in the left pane.
  2. Right-click a vApp and click Open.
  3. Click the Networking tab.
  4. Right-click the vApp network and select Configure Services.
  5. On the DHCP tab, select Enable DHCP.
  6. Enter a range of IP addresses.
    vCloud Director uses these IP addresses to satisfy DHCP requests. The range of the DHCP IP addresses cannot overlap the static IP pool for the vApp network.
  7. Set the default lease time and maximum lease time or use the default values and click OK.
  8. Click Apply.

Results

vCloud Director updates the network to provide DHCP services.
Note: If you change the DNS settings on a DHCP-enabled vApp network, the vApp network no longer provides DHCP services. To correct this issue, disable and reenable DHCP on the vApp network.