This article will examine how to set up and configure the GNS3 VM server, which is professionally used to prepare for Cisco exams on the Ubuntu 22.04 (Jammy Jellyfish) operating system.
How to Import and Configure GNS3 VM 2.2.34 on Ubuntu 22.04 LTS
Your computer’s performance is essential when preparing for Cisco exams to create and develop more professional network topologies. Using IOS images only with GNS3 simulator software may affect the hardware performance of your computer. Therefore, using the GNS3 VM for your more detailed work is recommended.
GNS3 VM is a Linux-based system that works with virtualization programs such as VirtualBox, VMware Workstation, Fusion, ESXi, and Hyper-V. You can manage your Cisco Router IOS images from a single virtual machine, and at the same time works very well.
In earlier versions, it was fully compatible with Linux. Still, in the latest versions, it is recommended to be used only on Windows and macOS, as stated on the official website. However, it works flawlessly on the Ubuntu distribution.
With GNS3 VM, you can import Cisco IOU images into the VMware virtual machine. You can find these images by researching on the Internet.
One of the main benefits of using the GNS3 Server is that it provides users with centralized management and web GUI support.
Requirements
Before configuring the GNS3 server, install GNS3 and VMware Workstation on your Linux computer from the links below.
How to Download and Import the GNS3 VM
After installing GNS3 and VMware virtualization software on your Ubuntu computer, you can install the GNS3 server on your system by following the steps below.
Step 1
To download the GNS3 VM.ova file to your computer, visit this address and click the “Download the GNS3 VM” link at the bottom of the website.
Step 2
Click the “Download” button next to the virtual machine software you want to use, the GNS3 VM.ova file, and complete the download process.
Step 3
After downloading the GNS3.VM.VMware.Workstation.zip file to your computer, open the terminal in the Downloads location. Next, execute the following command to unzip the zip file on Linux.
unzip GNS3.VM.VMware.Workstation.2.2.34.zip
Step 4
Now, open the VMware Workstation program required for the GNS3 server and click File / Open.
Step 5
Go to the location where you downloaded the OVA file, select the relevant file, and click the Open button.
Step 6
Click the Import button to convert and import the OVA file to the VMware virtual machine.
Step 7
Wait while the GNS3 VM is being imported into the virtual machine.
Step 8
After completing the import process, click Start up this guest operating system.
Step 9
After running the GNS3 VM, you can see the IP and Web-UI address on its screen. After testing the server’s network connection with the ping command from the terminal, run the GNS3 simulator program.
How to Connect GNS3 with GNS3 VM
To use the IOS Routers that you will add to your Linux computer on the GNS3 VM, you need to establish a connection with your GNS3 software.
Step 1
After clicking Help / Setup Wizard from the GNS3 tool menu, select the Run appliances in a virtual machine option from the open window and click Next.
Step 2
In the local server configuration, select the IP address block where the GNS3 VM gets the Host Binding address.
Step 3
After a successful connection with GNS3 Server, click Next.
Step 4
Since you have installed VMware Workstation on your Linux computer, tick VMware in the virtualization software section, select the GNS3 virtual machine you imported in the VM Name section, and configure the vCPU value to a minimum of 2.
Step 5
After checking the settings you have made in the GNS3 virtual machine summary window, click Finish.
How to Add a Cisco Router
After making the GNS3 server connection, you need to add a Cisco Router or Switch IOS image to the server.
Step 1
Click Edit / Preferences from the GNS3 tool menu to open the IOS router add wizard.
Step 2
In the New IOS Router Template window, you must select the Run this IOS router on the GNS3 VM option because you will install the Router image on the server.
Step 3
Click the Browse button to add an IOS image downloaded from this link to your computer.
Step 4
Select the c7200-adventerprisek9-mz.152-4.M7.bin image and open it.
Step 5
Click Yes in the window that appears to open the IOS compression.
Step 6
Wait while the IOS image you selected is uploaded to the GNS3 VM.
Step 7
Configure the name and platform of the IOS device you added to the GNS3 server.
Step 8
Set the 512 MB RAM value for the IOS Router and click Next.
Step 9
After adding Gigabit Ethernet or Serial Interface interfaces to the empty slots, click Next, as in the image below.
Step 10
To make your processor run the Cisco IOS Router more efficiently, click the Idle-PC Finder button and set a new value.
Step 11
After adding the Cisco Router device, you can check the working location of the IOS Router from the Server section in the window below.
How to Create a New Project
After installing GNS3 VM on Ubuntu and adding a new IOS to the server, you can start network designs by creating a new project.
Step 1
Open the project creation window by pressing CTRL + N together or clicking the new project icon. Type a name for your network project and configure the location where you want to save it, and click OK.
Step 2
Drag and drop two Cisco Router c7200s into your project.
Step 3
After activating the wiring option from the left panel, click R1 and connect one cable end to FastEthernet0/0 from the empty slots.
Step 4
Click the green arrow from the GNS3 tool menu and run all Routers.
Step 5
Open the console by double-clicking on R1 and assign a new IP address using the commands below.
R1# conf t
R1(config)# interface fastethernet 0/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
Step 6
Likewise, assign an IP address to R2’s FastEthernet0/0 interface.
R2# conf t
R2(config)# interface fastethernet 0/0
R2(config-if)# ip address 192.168.1.2 255.255.255.0
R2(config-if)# no shutdown
Step 7
When you ping the interconnected interfaces of the routers, you can see that the network connection is successful.
How to Disable GNS3 VM
When you want to remove the GNS3 virtual machine from your Linux computer, you must disable the service from the program’s settings and edit the local server settings of the simulator program.
Step 1
After opening Preferences in GNS3, click on GNS3 VM from the options on the left panel, disable the “Enable the GNS3 VM” option and click OK.
Step 2
After disabling the GNS3 VM, open the Help / Setup Wizard and tick “Run appliances on my local computer” to edit local server settings.
Step 3
In the Local Server Configuration window, change the IP address of the Host Binding option to “Localhost” and continue.
Step 4
Continue after checking the local server connection.
Step 5
Verify that the GNS3 simulator will run on Localhost on your Host PC and close the wizard.
Step 6
Finally, delete the image of the c7200 Router you added from the Dynamips / IOS Routers settings.
Step 7
Open the IOS add wizard again, select “Run this IOS router on my local computer,” and continue.
Step 8
When you check the Server part of the template window after adding the Router c7200, you can see that you have Ubuntu your Host.
Step 9
To thoroughly delete the GNS3 server from VMware, right-click on it, click Manage, and then Delete from Disk. In the warning window that opens, click Yes to confirm completely deleting the virtual machine from the appropriate location.
Video
Installing Old Versions
Related Articles
♦ How to Install GNS3 VM on Kali
♦ How to Install GNS3 VM on Debian
♦ How to Install GNS3 VM on openSUSE
♦ How to Configure OSPF in GNS3
♦ How to Configure GNS3 VM on Linux Mint
I really appreciate the works and efforts of you guys. You really help some us out here. Thank you guys.
Thank you very much for the nice comment! Keep following us!
how can i create smilation environment with freeradius server and layer 3 cisco switch in GNS3 so that i can test and configure mac address authentication network access control on LAN
please help me
Teşekkürler Tolga Hocam
Rica ederim, yorumunuz için teşekkürler!