VCF Inception Series Part 2

As you have see in Part 1 in this blog series we were able to get the ESXi host hardware configured as well as the Cloud Builder deployed and ready to power on (but don’t do that yet!).

After you have downloaded pfSense or the router of your choice we need to upload the media.

  1. Click Libraries in vCD
  2. Click Media & Other
  3. Click Add
  4. Select your catalog
  5. Click upload
  6. Navigate to your pfSense ISO and select it
  7. Click Open
  8. Click OK

This will upload the iso for your router to vCD. Next we need to build the VM.

Navigate back to your vApp and add a VM

  1. Name your router VM
  2. Click New VM as we don’t have a template yet
  3. Select Linux from the drop down
  4. Select Other 64bit
  5. Find your pfSense ISO or other suitable ISO
  6. Leave CPU count set to 1
  7. Change memory to a suitable value, here I am going to start with 4gb and update if needed
  8. Set storage to 12gb
  9. Click ADD twice to add two network adapters
  10. Set the value for network adapter 1 to the vAppNet-VCF value created earlier, leave network adapter type as E1000, set DHCP for IP Mode, and set as Primary Nic
  11. Set the value for network adapter 2 to the vAppNet-VCF value created earlier, leave network adapter type as E1000, and set DHCP for IP Mode
  12. Click OK
  13. Click Add (not pictured)

Time to power on our router and configure it, but don’t power on all of the VM’s

  1. Click the ellipsis next to router
  2. Click Power
  3. Click Power On
  4. Now Click VM Console to view the console to configure our router
  5. Click Enter key to accept the EULA (not shown)

This is a summarized configuration of pfSense to get us started before adding a Windows client desktop to our vApp.

Choose all the defaults through the installation process. After which you will configure interface eth0 or interface 1 as the WAN interface with the following information:
IP address: 192.168.0.2
Netmask: 24
Gateway: 192.168.0.1

Configure interface eth1 or interface 2 as the LAN interface with the following information:
IP address: 10.0.0.1
Netmask: 24
Choose enter or No Gateway when prompted

Now our router configuration has been started and should be able to be configured the remainder in the UI once our Windows Client is setup and configured. For this step we will assume you can add an additional VM and load it with the installation media for Windows Server in our case.

In our vCD environment our Windows server was configured with the following network information:
IP address: 10.0.0.2
Netmask: 255.255.255.0
Gateway: 10.0.0.1
DNS: 127.0.0.1

The following packages were installed with the dependencies:
Active Directory
DNS
Certificate Management
IIS

In Part 3 we will configure the Router via the UI as you will need to build your Windows server at this point.