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

About this task

When you enable DHCP for a vApp network, connect a NIC on virtual machine in the vApp to that network, and select DHCP as the IP mode for that NIC, vCloud Director assigns a DHCP IP address to the virtual machine when you power it on.

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 select Open.
  3. On the Networking tab, select Show networking details.
  4. Right-click the vApp network and select Configure Services.
  5. Click the DHCP tab and select Enable DHCP.
  6. Type a range of IP addresses or use the default range.

    vCloud Director uses these addresses to satisfy DHCP requests. The range of DHCP IP addresses cannot overlap with 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 the DNS settings on a DHCP-enabled vApp network are changed, the vApp network no longer provides DHCP services. To correct this issue, disable and reenable DHCP on the vApp network.