Sei sulla pagina 1di 17

F5 Virtual Environment

vLab Setup and Configuration Guide for


VMware Fusion
Document version 11.6.0.08
Written for: TMOS Architecture v11.6.0
VMware Fusion 6.0.3
Virtual images:
BIGIP-11.6.0.0.0.401.ALL-scsi.ova
LAMP_3.5.5
DoS_Tool_3.0
Windows_7_VMF
Exercise Files
Exercise_Files_3.3

NOTE: The F5 vLab (virtual lab environment) is an F5-community supported tool.


Please DO NOT contact F5 Support for assistance with the vLab. For help with the setup of the vLab
or running a demonstration, you should contact your F5 Channel Account Manager (CAM).

F5 Worldwide Field Enablement


Learn More, Sell More, Sell Faster

Last Updated: 7/7/2015

2014 F5 Networks, Inc. All rights reserved. F5, F5 Networks, and the F5 logo are trademarks of F5 Networks, Inc. in the U.S. and in
certain other countries. Other F5 trademarks are identified at f5.com.
Any other products, services, or company names referenced herein may be trademarks of their respective owners with no endorsement or
affiliation, express or implied, claimed by F5.
These training materials and documentation are F5 Confidential Information and are subject to the F5 Networks Reseller Agreement. You
may not share these training materials and documentation with any third party without the express written permission of F5.
The F5 vLab (virtual lab environment) is an F5-community supported tool. Please DO NOT contact F5 Support for assistance with the vLab.
For help with the setup of the vLab or running a demonstration, you should contact your F5 Channel Account Manager (CAM).

F5 vLab Introduction

F5 VLAB INTRODUCTION
Welcome to the F5 Virtual Environment (vLab) setup and hands-on exercise series.
The purpose of the vLab Setup and Configuration Guide is to walk you through the setup of a VMware
Workstation virtual environment on your laptop, and the configuration of a BIG-IP Virtual Edition (VE)
system image.
Subsequent documents use the vLab environment to give you hands-on experience with F5 products and
solutions. You can use these exercises to learn F5 product features and to give customer demonstrations.
The instructions for demonstrations and learning exercises use a UCS archive file that works in this
environment (if you follow these setup instructions, as written).
The F5 vLab (virtual lab environment) is an F5-community supported tool. Please DO NOT contact F5 Support
for assistance with the vLab. For help with the setup of the vLab or running a demonstration, you should
contact your F5 Channel Account Manager (CAM).

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 3

Exercise 1 VMware Fusion Configuration

F5 VLAB SETUP AND CONFIGURATION


EXERCISE 1 VMWARE FUSION CONFIGURATION
Use a Macintosh environment with this setup guide.
Estimated completion time: 40 minutes

TASK 1 Install VMware Fusion


Use the attached vLab Setup and Configuration supplement guide to complete this task.

TASK 2 Set Up the VMware Network Environment


You will configure three VMware networks. VMnet1 acts as the Out of Band Management network for accessing
the BIG-IP Configuration Utility. VMnet2 acts as the external network for users accessing virtual servers. VMnet3
acts as the internal VLAN where the back-end Web servers are located.
Launch VMware Fusion, and then select VMware Fusion > Preferences.

Click the Network icon.

NOTE: If you do not see a Network icon, you did not install VMware Fusion Professional. Go
back to the VMware Web site and install VMware Fusion Pro.
Click the lock icon.

Click the + icon.

This adds a custom network named vmnet2.


Click the + icon two more times to create vmnet3 and vmnet4 networks.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 4

Exercise 1 VMware Fusion Configuration


Select vmnet2, and configure as follows:
o Leave the Allow virtual machines on this network to connect to external networks (using NAT)
checkbox cleared.
o Leave the Connect the host Mac to this network checkbox selected.
o Leave the Provide addresses on this network via DHCP checkbox selected.
o In the Subnet IP field enter 10.128.1.0,
o In the Subnet mask field enter 255.255.255.0.

NOTE: You will use this network to access the BIG-IP management interface.
This configures your local workstation with a vmnet2 IP address within the 10.128.1.0 network.
Select vmnet3 and configure as follows:
o Select the Allow virtual machines on this network to connect to external networks (using NAT)
checkbox.
o Leave the Connect the host Mac to this network checkbox selected.
o Leave the Provide addresses on this network via DHCP checkbox selected.
o In the Subnet IP field enter 10.128.10.0.
o In the Subnet mask field enter 255.255.255.0.

NOTE: The NAT option enables the BIG-IP VE system reach the Internet through your
workstations network adapter.
This configures your local workstation with a vmnet3 IP address within the 10.128.10.0 network.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 5

Exercise 1 VMware Fusion Configuration


Select vmnet4, and configure as follows:
o Leave the Allow virtual machines on this network to connect to external networks (using NAT)
checkbox cleared.
o Clear the Connect the host Mac to this network checkbox.
o Leave the Provide addresses on this network via DHCP checkbox selected.
o In the Subnet IP field enter 10.128.20.0.
o In the Subnet mask field enter 255.255.255.0.

NOTE: Ensure that the Connect the host Mac to this network checkbox is cleared. This
prevents your local workstation from having direct access to the internal network.
Click Apply, and then close the Network window.
Open a terminal window and type:
ifconfig

Use the table below to note the IP addresses for your VMnet adapters.
Adapter

IP address

vmnet2
vmnet3
Close the terminal window.

TASK 3 Download the Virtual Images


Download the BIG-IP image file to your local workstation, and then download and unzip the VMware back-end
server images.
Access and log in to the F5 product download page at https://downloads.f5.com/esd/productlines.jsp.
Click BIG-IP v11 x / Virtual Edition, and ensure that 11.6.0 is selected in the product version list box.
Click Virtual-Edition, and then accept the license agreement.
Click BIGIP-11.6.0.0.0.401.ALL-scsi.ova.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 6

Exercise 1 VMware Fusion Configuration


Click the best download link for your location.
Access the F5 product download page again.
Click Virtual Lab Environment (vLab).

Ensure that 3.0 is selected in the version list box.


Click vLab_files, and then accept the software terms and conditions.
Download the following files:
o The correct vLab_Package.zip file (for either F5 FSEs or F5 partners)
o LAMP_3.5.5.zip
o Windows_7_VMF.zip
NOTE: In order to use the Windows 7 image it is expected that you have a valid Microsoft
license key. In addition, all hands-on exercise and customer demonstration documents
are written for a Windows workstation. You should use the Windows 7 VMware image
to perform the exercises and demos. If you choose to, you can use your Macintosh
workstation and Safari Web browser, but it will be your responsibility to translate the
steps (written for a Windows environment) into the Mac environment.
Unzip each downloaded file to a folder on your Mac.

TASK 4 Import the BIG-IP VE System VMware Image


Use VMware Fusion to import the BIG-IP VE image file.
In VMware Fusion, go to File > Import.

Click Choose File.


Navigate to the Downloads folder, then select the BIGIP-11.6.0.0.0.401.ALL-scsi.ova image file,
and then click Open.
Click Continue.
Name the new virtual machine BIGIP_A_v11.6.0, and then click Save.
Click the Accept button.
It will take a few minutes for the image to import.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 7

Exercise 1 VMware Fusion Configuration


After the import completes click Finish, and then click Customize Settings.

Click Processors & Memory.

Adjust the Memory as follows:


o If your system has 8GB to 12GB of RAM, set the Memory to 4096 MB.
o If your system has 16GB of RAM or more, set the Memory to 8192 MB.
Click Show All.

Click Hard Disk (SCSI).


ONLY IF the current value is less than 80, adjust the Disk size to 80 GB.

Click Show All, and then click Hard Disk 2 (SCSI).


ONLY IF the current value is less than 20, adjust the Disk size to 20 GB.
Click Show All, then click Network Adapter, and then click the vmnet2 option. (NOTE: Ensure you have
selected the option button.)

Click Show All, then click Network Adapter 2, and then click the vmnet3 option.
Click Show All, then click Network Adapter 3, and then click the vmnet4 option.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 8

Exercise 1 VMware Fusion Configuration


Click Show All, then click Network Adapter 4, and then modify the Enable Network Adapter option
to OFF.

Close the BIGIP_A_v11.6.0: Settings window.

TASK 5 Open the LAMP VMware Image


Use VMware Fusion to open the LAMP image.
In VMware Fusion, go to File > Open.
Navigate to the Downloads > LAMP_3.5.5 directory.
Select the LAMP_3.5.5.vmx image file, and then click Open.
Click Take Ownership.

Select LAMP_3.5.5 from the Virtual Machine Library, and then click Settings.

Click Network Adapter, and then click the vmnet2 option. (NOTE: Ensure you have selected the option
button.).
Click Show All, then click Network Adapter 2 and ensure the Enable Network Adapter is set to OFF.
Click Show All, then click Network Adapter 3, and then click the vmnet4 option.
Click Show All, then click Network Adapter 4 and ensure the Enable Network Adapter is set to OFF.
Close the LAMP_3.5.5: Settings window.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 9

Exercise 1 VMware Fusion Configuration

TASK 6 Edit the Settings of the LAMP Image


The LAMP_3.5.5 image requires manual network configuration changes.
Select LAMP_3.5.5 from the Virtual Machine Library, and then click Start Up.

After the image powers on, within the VMware window on the LAMP desktop, leave the Xubuntu user
account selected and click Login.
Click the Applications Menu icon on the top-left of the screen and go to Settings > Settings Manager.

In the Hardware section, click Network Connections.


Select Wired connection 1, and then click Edit.
From the Device MAC address list box, select the MAC address for eth0.

Click Save, and then repeat these steps for the following:
o Wired connection 2 eth1
o Wired connection 3 eth2
o Wired connection 4 eth3
Delete Wired connection 5 Wired connection 8.
NOTE: The wired connection entries will not be removed from the Network Connections list
until you reboot the image.
Close the Network Connections and Settings dialog boxes.
In the Virtual Machine Library, select LAMP_3.5.5 and go to Virtual Machine > Shut Down.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 10

Exercise 1 VMware Fusion Configuration


Select LAMP_3.5.5 and then click Snapshots.

Click Take, and then name the snapshot LAMP_3.5.5_Clean, and then click Take.
Close the LAMP_3.5.5: Snapshots window.

TASK 7 Open the DoS_Tool VMware Image


Use VMware Fusion to open the DoS_Tool image.
In VMware Fusion, go to File > Open.
Navigate to the _FSE_vLab_Package directory, then open the DoS_Tool directory, then select
DoS_Tool_3.0.vmx, and then click Open.
Click Take Ownership.
Select DoS_Tool_3.0 from the Virtual Machine Library, and then click Settings.
Click Network Adapter, and then click the vmnet4 option. (NOTE: Ensure you have selected the
option button.)
Close the DoS_Tool_3.0: Settings window.

TASK 8 Open the Windows 7 VMware Image


Use VMware Fusion to open the Windows 7 image.
In VMware Fusion, go to File > Open.
Navigate to the Downloads directory.
Select Windows_7_VMF, and then click Open.
Select Windows_7 from the VMware library, and then click Settings.
Click Network Adapter, and then click the vmnet3 option. (NOTE: Ensure you have selected the
option button.)
Select Windows_7 and then click Snapshots.
Click Take, and then name the snapshot Windows_7_ Clean, and then click Take.
Close the Windows_7: Snapshots window.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 11

Exercise 2 BIG-IP VE System Configuration

EXERCISE 2 BIG-IP VE SYSTEM CONFIGURATION


Your workstation needs Internet access to complete the licensing portion of this exercise.
Required virtual images: BIGIP_A_v11.6.0
Estimated completion time: 25 minutes

TASK 1 Configure BIG-IP Management Interface Settings


Power on the BIG-IP VE image and then configure the management interface settings.
Click BIGIP_A_v11.6.0 from the Virtual Machine Library, and then click Start Up.

After the BIG-IP VE system has powered on, you are presented with the localhost login screen.

Log in to the BIG-IP system using the following credentials:


localhost login: root
Password: default
At the CLI prompt, type:
config

NOTE: The following must be completed using your keyboard only.


Press the Enter key to activate the OK option.
Use the Tab key to activate the No option, and then press the Enter key.
Edit the IP Address to 10.128.1.245, then press the Tab key to activate the OK option, and then press
the Enter key.
Ensure that the Netmask is 255.255.255.0, then press the Tab key to activate the OK option, and then
press the Enter key.
Press the Enter key to activate the Yes option to create a default route for the management port.
Edit the Management Route to 10.128.1.1, then press the Tab key to activate the OK option, and then
press the Enter key.
Press the Enter key to activate the Yes option to accept the settings.

TASK 2 Generate a BIG-IP VE License Key


Use the attached vLab Setup and Configuration supplement guide to complete this task.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 12

Exercise 2 BIG-IP VE System Configuration

TASK 3 Configure Network Settings on the BIG-IP VE System


Use TMSH to configure the BIG-IP VE system with network settings.
Open a Terminal window, and at the prompt type:
ssh root@10.128.1.245

Use the following credentials:


Password: default

Copy the following TMSH commands and then paste them at the CLI prompt. You can copy and paste all
lines together.
tmsh
tmsh
tmsh
tmsh
tmsh
tmsh
exit

create net vlan external interfaces add { 1.1 { untagged } }


create net vlan internal interfaces add { 1.2 { untagged } }
create net self 10.128.10.240 address 10.128.10.240/24 vlan external
create net self 10.128.20.240 address 10.128.20.240/24 vlan internal
create net route Default_Gateway network 0.0.0.0/0 gw 10.128.10.2
save sys config

TASK 4 Access the BIG-IP VE System and Complete the Setup Utility
Use a Web browser to access the management port of your BIG-IP system, and then complete the steps of the
Setup Utility, including activating the BIG-IP system.
Open a Web browser and access https://10.128.1.245.
Log into the BIG-IP VE system using the following credentials:
Username: admin
Password: admin
On the Welcome page click Next.
On the License page click Activate.
Open the email from F5 Networks with your Evaluation Registration Key and copy the
Registration Key text.
In the Setup Utility, in the Base Registration Key field, paste the registration key text.
For Activation Method, select Manual, and then click Next.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 13

Exercise 2 BIG-IP VE System Configuration


Select and copy all of the dossier text to your clipboard. (NOTE: Use + A and + C)
Select Click here to access F5 Licensing Server.

On the Activate or Upgrade BIG-IP page, click Activate License.


Paste the dossier text in the field (NOTE: Use + V), and then click Next.
Select to accept the legal agreement, and then click Next.
Select and copy all of the license key text to your clipboard (NOTE: Use + A and + C), and then close
the Activate F5 Product tab.
On the Setup Utility > License page, paste the license key text into the Step 3: License field, and then
click Next.
The BIG-IP VE system configuration updates. This takes several seconds.
After the configuration changes complete, log in to the BIG-IP VE system.
On the Resource Provisioning page leave Local Traffic (LTM) as the only provisioned module and
click Next.
On the Device Certificates page click Next.
On the Platform page, configure these settings using the following information, and then click Next.
Host Name

bigipA.f5demo.com

Root Account (Password and Confirm)

default

Admin Account (Password and Confirm)

admin

You are prompted to log out and log back in to the BIG-IP VE system.
Click OK, and then log back in to the BIG-IP VE system.
Under Standard Network Configuration, click Next.
Clear the Display configuration synchronization options checkbox, and then click Next.

On the Internal Network Configuration page review the settings, and then click Next.
NOTE: You used TMSH commands during the initial setup to create the VLANs and
self IP addresses.
WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 14

Exercise 2 BIG-IP VE System Configuration


On the External Network Configuration page review the settings, and then click Finished to complete
the Setup Utility.

TASK 5 Configure System Settings


Configure system preferences and a default node monitor.
Open the System > Preferences page, and update the following settings, and then click Update.
o Records Per Screen: 20
o Start Screen: Statistics
o Idle Time Before Automatic Logout: 100000 seconds
o Security Banner Text:
Welcome to the F5 BIG-IP VE (Virtual Edition) vLab environment.
The vLab environment is intended for F5 Networks training and demonstration purposes only.
You are not authorized to distribute the vLab to any other parties.
Open the System > Configuration > Device > DNS page.
For DNS Lookup Server List, enter 4.2.2.2, and then click Add.
Select 10.128.1.1, then click Delete, and then click Update.

TASK 6 Import an SSL Certificate and Key


Import the vlab.f5demo.com certificate and key, and then import the entrust_chain certificate chain.
Open the System > File Management > SSL Certificate List page, and then click Import.
From the Import Type list box, select Certificate.
In the Certificate Name field, type f5demo, and then click the Browse button.
Navigate to the Exercise_Files folder, select the vlab.f5demo.com.crt file, and then click Open.
Click Import.
Click the Import button again, and then from the Import Type list box, select Key.
In the Key Name box, type f5demo, and then click the Browse button.
Select the vlab.f5demo.com.privatekey file, and then click Open.
Click Import.
Click the Import button again, and then from the Import Type list box, select Certificate.
In the Certificate Name box, type chain, and then click the Browse button.
Select the entrust-chain.txt file, and then click Open.
Click Import.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 15

Exercise 2 BIG-IP VE System Configuration

TASK 7 Create a Client SSL Profile


Create a new client SSL profile using the wildcard.vlab.f5demo.com certificate and key.
Open the Local Traffic > Profiles > SSL > Client page, and then click Create.
Create a client SSL profile using the following information: (NOTE: Copy and paste the pass phrase.)
Name

f5demo_client_ssl

Certificate

f5demo

Key

f5demo

Chain

chain

Pass Phrase

IamFfive2Day

Click Add, and then click Finished.

TASK 8 Update Your Local Hosts File


Add several entries for your local hosts file.
Open the Terminal (under Applications > Utilities > Terminal).
Type the following command:
sudo nano /private/etc/hosts

Type your password.


Copy and paste the following entries:
10.128.10.20
10.128.10.30
10.128.10.35
10.128.10.36
10.128.10.37
10.128.10.38
10.128.10.39
10.128.10.40
10.128.10.40
10.128.10.41
10.128.10.45
10.128.10.80
10.128.10.81
10.128.10.84
10.128.10.85
10.128.10.86

www.site.com
offload.vlab.f5demo.com
dvwa.vlab.f5demo.com
epc.vlab.f5demo.com
webtop.vlab.f5demo.com
sso.vlab.f5demo.com
webscraping.vlab.f5demo.com
iapp.f5demo.com
iapp.vlab.f5demo.com
rdp.vlab.f5demo.com
access.vlab.f5demo.com
ssloffload.vlab.f5demo.com
ssliapp.vlab.f5demo.com
iapp84.f5demo.com
iapp85.f5demo.com
iapp86.vlab.f5demo.com

Save the hosts file by typing Control + O.


Type Control + X to close the nano editor.
Type the following command:
dscacheutil -flushcache

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 16

Exercise 2 BIG-IP VE System Configuration

TASK 9 Create an Archive File


Create an archive file which youll use as the starting point in all exercise and demonstration guides.
In the Configuration Utility, open the System > Archives page.
Create a new archive file named clean_install_bigipA_v11.6.0.
That concludes the setup and configuration of the F5 vLab.

WWFE vLab Guides vLab Setup and Configuration Guide for VMware Fusion; v11.6.0.08

Page | 17

Potrebbero piacerti anche