Freemas VMNIC SetupExit out of the Install & Upgrade menu and return to the Console Setup numeric menu. Select the option 1) Assign Interfaces (Figure ZJ). This allows you to select and configure your active NIC.
At the Configure LAN Interface window, select your interface by MAC address and click OK (Figure ZK).
At the Configure OPT Interface window, select None (Figure ZL) and click OK. Acknowledge any prompts and click Yes, so the interface will initialize and return you to the Console Setup.
Select option 2) Set LAN IP address (Figure ZM).
At the Do You Want to Use DHCP for This Interface? prompt, select No (Figure ZN).
Enter your IP address and click OK (Figure ZO).
Enter the appropriate subnet mask and click OK (Figure ZP).
Enter the appropriate Default Gateway and click OK (Figure ZQ).
Enter the appropriate DNS information and click OK (Figure ZR).
Select No when asked to configure IPv6 information.
When you return to the numeric Console Setup menu, you've finished the installation and basic configuration of your FreeNAS virtual machine. Next we'll connect with a Web browser from our host machine to the FreeNAS Web-based GUI interface and complete the configuration of the server.
FreeNAS GUI SetupOpen a browser in your host OS and connect to your FreeNAS virtual machine. Default username is "admin" and password is "freenas" (Figure ZS).
In the top menu bar, select Disks. In the Disks |Management page, click the (+) sign (Figure ZT).
Select the 5GB disk from the drop-down menu on the Disks|Management|Disk|Add menu. Click the Add button (Figure ZU).
From the top menu bar, select Disks|Format. Select the 5GB disk from the drop-down menu. Leave the default UFS file system selected and click Format Disk (Figure ZV).
From the top menu, select Disks|Mount Point|Management. Click on the (+) sign (Figure ZW).
On the Management tab, select the 5GB disk from the drop-down menu and enter the mount point name (I've chosen "Testshare" for this mount point) and click the Add button and then click Apply Changes (Figure ZX).
CIFS/SAMBA SetupFrom the top menu, select Services, CIFS\SMB. Check Enable to activate the CIFS/SMB file-sharing service. In the NetBIOS Name field, enter the name you want the machine to register on your Windows network. In the Workgroup field, enter your domain name or workgroup name. Scroll down to the bottom of the screen and click Save & Restart (Figure ZY).
Click the Shares tab. Click (+). In the Name field, enter the name of the share as you want it to appear in your network neighborhood. In the Path field, you can type in the path you want to be shared or you can browse to the path you want to share. Once you've filled in this information, click Add (Figure ZZ).
Click Apply Changes to activate your share (Figure ZZA).
Verify that the share you have activated it visible on your network and is writable (Figure ZZB).
To set the Freenas VM Hostname, click on System | General (Figure ZZC).
Rename the host name and click Save (Figure ZZD).
You've completed building your source FreeNAS virtual machine server. Repeat all the steps to build a second target Freenas virtual machine server — changing appropriate information as necessary (IP address, machine name, and any other unique settings).
Donovan Colbert has over 16 years of experience in the IT Industry. He's worked in help-desk, enterprise software support, systems administration and engineering, IT management, and is a regular contributor for TechRepublic. Currently, his professional role is as a Linux support engineer for a fast-growing Linux/FOSS consultancy group. You can follow him @dcolbert on Twitter or his personal blog, located at http://donovancolbert.blogspot.com.