Using vApp Network fencing

In this recipe, we will explore vApp Network fencing. We will see how we can use this feature.

Getting ready

To play with fencing, we need to have a Direct Organization Network (or isolated, but that's not as much fun) and some VM templates.

How to do it...

  1. Create a new vApp using the How to do it... button.
  2. Add two VMs to the vApp and name them.
  3. Connect the VMs to the Direct Organization Network using the Static - IP manual option.
  4. Set the manual IPs outside the range of the Static IP Pool for each VM.
  5. In the Configure Networking section, click on Fence vApp, as shown in the following screenshot:
  6. Finish the vApp creation.
  7. Deploy the vApp.

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.