When you sign up forVirtual Private Cloud OnDemand and log in for the first time, selecting the service tile on the Home page creates your first virtual data center and a routed network by default. The default, routed network includes a gateway. A public IP addresse is not assigned to the gateway until you allocate one.

Allocate public IP addresses to a gateway when you have virtual machines that need to be accessible through the Internet. When you allocate public IP addresses, they are reserved for the gateway.

In Virtual Private Cloud OnDemand, you have three ways to assign an IP address to a virtual machine:

IP Range: whenever you attach a virtual machine to a network, the virtual machine gets an IP address from the IP Range created for that network.

Virtual Private Cloud OnDemand creates pools of IP addresses by default on the auto-generated routed networks.

Virtual machines attached to the routed networks get an IP address from the default range.

To change the IP address range for an auto-generated routed network, select the Networks tab > default network > Network menu drop-down arrow (Expand Network Menu Icon) > Edit Network. For information about the network fields, see Add a Network to a Virtual Data Center.

When you add a network in Virtual Private Cloud OnDemand, you configure the IP Range for that network.

See Add a Network to a Virtual Data Center and Add a Network to a Gateway in this guide for information.


Gateways in Virtual Private Cloud OnDemand allow for suballocation of IP addresses from multiple subnets that are configured for a gateway’s external interface. Therefore, when you assign IP addresses to a virtual data center or a virtual machine, the IP addresses can belong to difference subnets. For example, if you have assigned all the IP addresses from one subnet, while a second subnet is only 50% allocated, you can use IP addresses from the second subnet.

Static IP Address: configure a static IP address for a virtual machine when you create it or change its network settings.

Provides a fixed IP address for a virtual machine.

Set a static IP address for a virtual machine in vCloud Director.

DHCP: provides basic DHCP service for a gateway.

Part of the networking services for a gateway.

Disabled by default.

Change the configuration in vCloud Director.

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

You can view the IP Range configured for a network by clicking the virtual data center in the Virtual Data Center pane > Networks tab.