If your vApp is set up to allow it, and if you have the required privileges, you can edit how IP addresses are allocated for the vApp.
By default, you cannot edit the IP application policy in the Deployment section when you create a vApp in the vSphere Web Client. Change the IP allocation scheme to the protocol of your choice before you configure the IP allocation policy. If deployed an OVF template to create the vApp, IP allocation policy might be editable.
- Right-click a vApp in the inventory and click Edit Settings.
- Select an IP allocation scheme.
In the vSphere Client, click the IP Allocation tab of the Edit vApp wizard.
In the vSphere Web Client, expand IP allocation under Deployment.
Static - Manual
IP addresses are manually configured. No automatic allocation is performed.
Transient - IP Pool
IP addresses are automatically allocated using IP pools from a specified range when the vApp is powered on. The IP addresses are released when the appliance is powered off.
A DHCP server is used to allocate the IP addresses. The addresses assigned by the DHCP server are visible in the OVF environments of virtual machines started in the vApp.
Static - IP Pool
IP addresses are automatically allocated from the managed IP network range of vCenter Server at power-on, and remain allocated at power-off.
Static - IP Pool and Transient - IP Pool have in common that IP allocation is done through the range managed by the vSphere platform as specified by the IP pool range in a network protocol profile. The difference is that for a static IP Pool, the IP addresses are allocated at first power-on and remain allocated, while for a transient IP Pool, the IP addresses are allocated when needed, typically at power-on, but released during power-off.
- Click OK.