Ensuring no change in IP after redeployment

When you undeploy a vApp and then redeploy it, the IP of the vApp router or the NAT addresses might change (or even the MAC for that matter). Let's see what we can do about that.

Getting ready

If you would like to create a new vApp, you just need an External Network and a vApp template; we will create a vApp in this recipe.

If you like to retrofit a vApp, you need a vApp with a vApp Network that is attached to an Organization Network.

For testing purposes, use a second vApp or make a copy of the existing one. Leave the second one undeployed.

How to do it...

The following sections show how to ensure no change occurs in IP after redeployment by setting up the vApp and retrofitting an existing vApp.

Ensuring no ...

Get VMware vCloud Director Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.