In this part I’ll create a new pfSense virtual machine that will act as our router. It will have two NIC’s, one for the WAN and the other for the LAN that our virtual network will use to keep itself on its own private network. The first thing we have to do is create a new custom virtual network in VMware Workstation by going to Edit > Virtual Network Editor… and then click on Add Network… select a network to add from the dropdown list (I selected VMnet11) and click OK, under VMnet Information check the Host-only radio button and make sure that everything else is unchecked. You can leave the Subnet IP and Subnet mask to whatever VMware has given you.
Now we can create the pfSense virtual machine. Click “Create a New Virtual Machine” on the VMware Workstation home screen.
Select “Typical (recommended) from the Welcome to the New Virtual Machine Wizard screen.
Select “I will install the operation system later.” radio button and choose Next.
Select “Other” for the Guest operating system and choose FreeBSD from the version dropdown.
In the next screen you can name your virtual machine and choose its location. I named mine pfSense.
Next, you can specify the disk capacity of the virtual machine, I kept the defaults.
Now we have to customize the hardware of the virtual machine, click the “Customize Hardware…” button.
Select the Network Adapter and change it to “Bridged: Connected directly to the physical network”.
Now add an other network adapter by clicking Add… and the choosing Network Adapter.
Change the newly added Network Adapter connection type to the Custom one we added at the start of this post.
now drop the pfSense iso into the DVD by selecting the DVD drive and then selecting the “Use ISO image file:” radio button and browsing to the location of the pfSense iso.
We can now start the virtual machine and it will start installing pfSense.
let it do its thing until you get to the following screen and press “I” to launch the installer. you have 10 seconds to do this.
Choose “Accept these Settings” and hit enter.
Choose the “Quick/Easy Install” and hit enter.
Confirm the “Are you Sure?” screen.
Choose the “Standard Kernel”.
And then reboot.
Once the machine has rebooted you can set the IP that you want to use for your network. Choose option number 2.
Choose your LAN interface by choosing 2 once again.
Enter the IP that you want to use. I chose 192.168.10.1
Now enter the subnet bit count. I chose 24 for a class c network.
for the next screen just hit ENTER.
in the next screen also hit ENTER
Choose no to enable the DHCP server. We are going to let the windows server hand out IP addresses and don’t want the router to do this.
Choose no to revert to HTTP as the webConfigurator protocol.
Press ENTER to continue.
You now have a virtual machine that will act as our network router with a WAN nic for internet access and a LAN nic for our private network.
In Part 2 we will add a Windows 7 virtual machine to act as one of our clients in the network, stay tuned!