After you associate a protocol profile to a port group of a standard switch or a distributed switch, enable the usage of profile on a virtual machine that is connected to the port group and is associated with a vApp or has the vApp options enabled.
Verify that the virtual machine is connected to a port group that is associated with the network protocol profile.
- Navigate to the virtual machine or the vApp.
- Open the settings of the vApp or the vApp Options tab of the virtual machine.
Right-click a vApp and select Edit settings.
Right-click a virtual machine, select Edit settings, and in the Edit Settings dialog box, click the vApp Options tab.
- Click Enable vApp options.
- Under Authoring, expand IP allocation and set the IP allocation scheme to OVF environment.
- Under Deployment, expand IP allocation and set IP allocation to Transient - IP Pool or Static - IP Pool.
Both the Static - IP Pool and Transient - IP Pool options allocate an IP address from the range in the network protocol profile that is associated with the port group. If you select Static - IP Pool, the IP address is assigned the first time the virtual machine or vApp is powered. The assigned IP address persists across restarts. If you select Transient - IP Pool, an IP address is assigned every time the virtual machine or vApp is powered on.Important:
If the virtual machine is connected to a distributed switch and has the vApp option enabled, you cannot select any of the following Dynamic property options: IP address, Subnet, Netmask, Gateway, Domain name, HTTP Proxy, Host prefix, DNS servers, DNS search path, Network name.
- Click OK.
When the virtual machine is powered on, the adapters connected to the port group receive IP addresses from the range in the protocol profile. When the virtual machine is powered off, the IP addresses are released.