To change the default behavior for DHCP in Virtual Private Cloud OnDemand networks, you edit the DHCP service settings in vCloud Director.

When you create a network in Virtual Private Cloud OnDemand, DHCP is configured for Virtual Private Cloud OnDemand in the following ways.

DHCP is configured for routed networks in the following ways:

Disabled by default.

When you create a virtual machine and add it to a routed network, you must explicitly set its IP address unless you have enabled DHCP for that network.

Configure DHCP for a routed network by navigating from Virtual Private Cloud OnDemand to the networking services for the gateway in vCloud Director:

Virtual Private Cloud OnDemand Web UI > Gateway tab > Manage in vCloud Director > vCloud Director Administration page > Edge Gateways tab > select the gateway, right-click and choose Edge Gateway Services > DHCP tab

Enable and configure DHCP for a routed network to automatically assign an IP address to a virtual machine when it is added to a routed network. The virtual machine gets assigned an IP address based on the DHCP parameters configured.

See Configure DHCP for an Edge Gateway in vCloud Director Administrator’s Guide for more information.

Note

Before you enable DHCP for a routed network and add an IP address pool, you must determine a valid range for the IP addresses assigned by DHCP.

You can view the public IP addresses you have allocated to a gateway by clicking the Gateways tab from the Virtual Private Cloud OnDemand Web UI, clicking the gateway for which to view public IP addresses, and clicking the Public IPs tab. The list of Public IP addresses allocated to that gateway appears.

DHCP is disabled by default for isolated networks.

Configure DHCP for an isolated network by navigating from Virtual Private Cloud OnDemand to the Org VDC Networks tab for the virtual data center in vCloud Director:

Virtual Private Cloud OnDemand Web UI > Networks tab > Manage in vCloud Director > vCloud Director Administration page > Org VDC Networks tab > select the isolated network, right-click and choose Configure Services > DHCP tab