Lab7- Test out NFV by running the Cisco ASAv in GNS3
docx
keyboard_arrow_up
School
Centennial College *
*We aren’t endorsed by this school
Course
351
Subject
English
Date
Dec 6, 2023
Type
docx
Pages
12
Uploaded by CommodoreDeer901
CNET-351
Lab 7
Centennial College
Information and Communication Engineering Technology
Course
CNET-351: Emerging Technologies
Student Name
ID
Professor
Atiqur Rahman
Group Number
Individual Work
Lab 7: Test out NFV by running the Cisco ASAv in GNS3
A. Objectives
Learn basics of NFV
Install and learn GNS3 VM.
Add Cisco ASAv as an appliance to GNS3.
Build the NFV Topology
B. Required Resources
PC with enough CPU power and RAM
Any Hypervisor (VMWare)
GNS3, GNS3VM
Cisco switch and ASAv
C. Introduction
NFV can be tested out by running the Cisco ASAv in GNS3. The process to do this is now more tightly
integrated in GNS3 than before by using their GNS3 VM.
GNS3 VM virtual server is an isolated Ubuntu virtual server power by GNS3 Technologies Inc. It
consumes CPU and memory usage from the local virtual server itself, not from a real physical computer.
So, it can improve your computer performance while running GNS3 network simulation software. There are many problems experienced when using Cisco ASAv firewall virtual servers in GNS3 network
simulation software. Fortunately, all those issues had been fixed in GNS3 VM virtual machines security. In
this article will present you about how to configure Cisco ASAv firewall virtual servers’ image with qcow2
virtual security appliance format in GNS3 VM virtual server.
Submission: Report with Screen Shots to Dropbox, Ecentennial
pg. 1
CNET-351
Lab 7
PROCEDURE PART I: Install and Run a GNS3 VM
1.
Install GNS3
GNS3 2.1 Install and configuration on Windows 10 (Part 2): GUI install - YouTube
a.
Download GNS3 for windows from GNS3 official website
(
https://gns3.com/software/download
)
b.
After getting the GNS3 download, run the installer file and follow the wizard to complete the installation. During this process, you don’t need to change anything except for the following two
items:
I.
Many people will install Wireshark in advance. If you have done so, you can uncheck this component when you are asked to choose components you wish to install.
II.
When you are asked to choose the install location, please click the Browse
button to change the location to a folder in the partition you created just now.
Take Screenshot SS#1, highlight the GNS3 installation completed and attached to the lab report.
pg. 2
CNET-351
Lab 7
2. Prepare GNS3 VM and GNS3 IOS Files
a.
Prepare GNS3 VM I.
Download GNS3 VM for VMWare Workstation from GNS3 official website (
https://gns3.com/software/download-vm
).
II.
Extract the file and save it to NFV Folder (need to create).
b.
Download GNS3 IOS Files
a.
Download GNS3 IOS File (c3745) from
https://mega.nz/folder/nJR3BTjJ#N5wZsncqDkdKyFQLELU1wQ
https://lms.onnocenter.or.id/pustaka/docs/GNS3/images/
b.
Save to NFV Folder
3. Set Up GNS3 VM
a.
Import the GNS3 VM into VMWare. (
https://docs.gns3.com/docs/getting-started/setup-wizard-gns3-vm/
)
i.
Launch the VMWare software.
ii.
Click File
> Open
, find the GNS3 VM file you downloaded before (the file ) and click the
Open
button.
iii.
On the Import Virtual Machine
window, name the new VM as your FirstName+Student Id, and change its location to NFV Folder.
iv.
Click the
Import
button and wait until the import process completes.
pg. 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
CNET-351
Lab 7
b.
Set up the GNS3 VM local server
.
i.
Launch the GNS software and click Help > Setup Wizard.
ii.
Choose Run appliances in a virtual machine and click the Next button.
iii.
When checking the Local server configuration, please change the Host binding to 0.0.1
and click the Next button. Selecting the 127.0.0.1 local loopback address tends to be the most trouble-free option to use as a host binding.
Click 'Next'
.
pg. 4
CNET-351
Lab 7
iv.
After getting the message “connection to the local GNS3 server is successful”, click
the Next button. Now, you are asked to run the GNS3 VM. Expand the drop-down menu
under the VM name and choose the Your VM that you imported just now. Then, click
the Next button.
v.
Once the GNS3 VM boots successfully, the IP address of the GNS3 VM will be displayed. https://docs.gns3.com/docs/getting-started/setup-wizard-gns3-vm/
Take Screenshot SS#2, highlight the IP Address and attached to the lab report.
pg. 5
CNET-351
Lab 7
C:
Uploading a IOS image to the new GNS3 VM
http://www.techspacekh.com/installing-gns3-vm-on-vmware-workstation-2/
i.
Go back to the GNS3 software to add the IOS file.
ii.
Click Edit
> Preferences
> IOS Routers
> New
.
iii.
Check Run this IOS router on the GNS3 VM
and click the Next
button.
iv.
Click the Browse
button and navigate to the downloaded IOS file (Folder NFV)
. Then, click the Next button.
v.
Check the name and platform
and click the Next button.
vi.
Check the Default RAM and click the Next
If you want to change it, please click the Check for
minimum and maximum RAM requirements
link first. Then, you can know the safe range of the RAM.
vii.
On the Network adapters
window, in addition to the prepopulated GT96100-FE (in slot 0), you can add some other network adapters (
1FE-TX
, 4T
, or 16ESW
) to other slots according to
your needs. Then, click the Next button. Of course, you can also choose to add them later.
viii.
On the WIC modules
window, you can choose WIC-1T
or WIC-2T
modules and then click the Next You should make sure the device supports WICs.
ix.
On the Idle-PC
window, click the Idle-PC finder
button to get a green Idle-PC value. Then, click the Finish
Then, view the IOS router templates and click the OK
button.
Take Screenshot SS#3, IOS router Template and attached to the lab report.
4. Install an appliance Cisco ASAv QCOW2 with GNS3 VM http://www.techspacekh.com/configuring-cisco-asav-qcow2-with-gns3-vm/
a.
Download Cisco ASAv QCOW2 Image i.
Download Cisco ASAv QCOW2 Image from the GNS3 Marketplace
https://www.gns3.com/marketplace/appliances
ii.
Save to NFV Folder
b.
Configuring GNS3 for ASAv Firewall Virtual Servers
i.
Go back to the GNS3 software.
ii.
Click Edit
> Preferences
> QEMU
>
Qemu VMs>
New
iii.
Check Run this IOS router on the GNS3 VM
and click the Next
button
iv.
Give a Name the firewall virtual servers, “
ASAv94
” as in this article, click
“
Next
” to continue.
v.
Select the
x86_64 Qemu binary and set
the RAM to 2048 BM. click “
Next
” to continue. ASAv firewall virtual servers need at lease 2048 MB of RAM to works.
pg. 6
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
CNET-351
Lab 7
vi.
Select “
New Image
”, then browse to the locate where you had download ASAv firewall virtual servers qcow2 file (asav941-203.qcow2), and click “
Open
” to upload the file to your GNS3 VM virtual server. Once it has finished uploading, click “
Finish
”.
vii.
On preferences window, under “
QEMU
” option click on “
Qemu VMs
” and then click “
Edit
” to edit some configuration for new added Cisco ASAv firewall virtual servers qcow2 image virtual firewall appliance.
pg. 7
CNET-351
Lab 7
viii.
Under the “
General Settings
” On Symbol section, browse for ASA symbol. On Category section, select “
Security Devices
“. On Console type section, choose “telnet” option. ix.
Under the “
Network
” tab within the QEMU VM configuration, Install 6 network card adapters for ASAv
firewall virtual servers by setting number 6 to Adapters section. Set the first ASAv firewall virtual servers interface name to Management0. In the Name format section set it to Gi0\{0}. Then, click “
OK
“. Click “
OK
” again to save the configuration.
pg. 8
CNET-351
Lab 7
x.
ASAv
firewall virtual servers now should appear under “
Security Devices
” window on the main GNS3 screen. Let’s create a new project to see if ASAv firewall virtual servers’ image is working properly.
xi.
Power on your ASAv firewall virtual servers back, right click on it and choose console to open the access. ASAv
firewall virtual servers sometimes need to boot up.
Take Screenshot SS#4, Highlights
after it finished booting up
and attached to the lab report.
PROCEDURE PART II: NFV by running the Cisco ASAv in GNS3
https://www.routerfreak.com/network-functions-virtualization-nfv/
https://docs.gns3.com/docs/getting-started/your-first-gns3-topology
a.
GNS3 Graphical User Interface
i.
Go back to the GNS3 software.
ii.
File->New blank project
iii.
Name the project as desired and then click OK
b.
Create NFV Topology (
https://docs.gns3.com/docs/getting-started/your-first-cisco-topology
)
i.
To create a new GNS3 topology, select a group of devices in the Devices Toolbar by clicking the device type button. In this example the Routers group was selected
:
pg. 9
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
CNET-351
Lab 7
ii.
In this example, a c3725 IOS image has already been imported, so we’ll use it.
iii.
Drag and drop the selected node (device) to the GNS3 Workspace. An instance of the node becomes available in the Workspace. In this example a router is now available:
iv.
Browse End Devices button on the Devices Toolbar: click on End devices
in the Devices Toolbar
, and drag and drop an instance of VPCS (a simple PC simulator) into the Workspace
, which will be called PC-1:
pg. 10
CNET-351
Lab 7
v.
Click on Security Devices
in the Devices Toolbar
, and drag and drop ASAv94 into the Workspace
vi.
Change the console type from “vnc” to “telnet” instead by right click ASAv94, and select configure. Click Apply and then OK
vii.
Click the Add a Link
button to start adding links to your topology. The mouse cursor will change to indicate that links can be added
pg. 11
CNET-351
Lab 7
viii.
Click on PC-1
in your topology to display available interfaces. only Ethernet0 is available.
Click Ethernet0 on PC-1, and then left-click on R1, Select FastEthernet0/0 on R1 to complete
the connection. To create a link between R1 and ASAv94-1, you can click on either node,
select an interface, click on the other node, and make that connection. The first thing you’ll
notice is that the indicator symbols next to the devices are red. The means the devices are
currently powered off.
ix.
The Green “Play” button on the GNS3 Toolbar
will power on all devices in the topology,
while the Yellow “Pause” button will suspend them, and the Red “Stop” button powers
everything in the topology down. Power the devices.
x.
You are now ready to configure your devices. Click the Console connect to all devices
button
on the GNS3 Toolbar
to open a connection to every device in the topology. By default,
GNS3 will use Solar-PuTTY in Windows, as it’s installed as part of the GNS3 installation
process.
Take Screenshot SS#5, Highlights
console for all three devices up
and attached to the lab report.
PROCEDURE PART III: Lab Challenge: Create a GNS3 project with 2 PCs and One switch Tasks: 1.
Show both PCs console.
2.
Assign IP address of both PCs.
3.
Show that both PCs ping each other.
Take Screenshot SS#6, Highlights
Ping’s results
and attached to the lab report
Submit Lab Report with Screenshots to Lab 7 dropbox in Ecentennial.
pg. 12
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help