How to Set Up and Use GNS3 VM Server 184.108.40.206 on Kali Linux 2022.3
GNS3 VM (GNS3 Virtual Machine) is a free virtual server machine that can be used with GNS3. You can import this VM using a virtualization program installed on your system and use it with the network simulator program.
The purpose of using GNS3 VM is to make more professional network designs, increase the performance of devices or back up all projects and IOS devices in a single virtual server. It also allows you to operate these devices by uploading IOU images to the server, which allows you to use more detailed commands.
You can start preparing for Cisco’s Routing and Switching exams by installing the GNS3 virtual machine with GNS3 on your desktop or laptop computer on which you have a Windows or Linux distribution.
Before installing the GNS3 VM on your computer, you must have the GNS3 and VMware Workstation programs installed on your system. In order to install the virtual server on the Kali distribution, you can browse our articles below to install the programs mentioned on this system.
To extract the GNS3VM.zip file you downloaded to the Downloads location, open the terminal at that location and execute the “unzip GNS3.VM.VMware.Workstation.220.127.116.11.zip” command.
Open VMware Workstation 16 Pro and click File / Open from the tool menu. In the Open Virtual Machines window, select the GNS3 VM.ova file and open it.
When the Store the New Virtual Machine window opens, configure the location where you want to save the virtual machine and click the Import button.
Wait while the GNS3 VM is being imported into the VMware virtualization program.
After adding the GNS3 virtual server machine, click Edit Virtual Machine Settings to edit its settings.
Click Processors on the left panel to enable virtualization features and increase the number of virtual processors in the GNS3 virtual machine. Configure the Number of Processors as 2 and tick all the features in the Virtualization Engine section.
Virtualize Intel VT-x/EPT or AMD-V/RVI
Virtualize CPU Performance Counters
Virtualize IOMMU (IO Memory Management Unit)
After making the GNS3 VM settings, run the virtual machine.
Note down the IP address after the GNS3 server is successfully booted.
How to Enable GNS3 VM
After installing the GNS3 virtual machine, what you need to do is to configure the server settings in the GNS3 program.
After opening the GNS3 network software program, select Run appliances in a virtual machine in the Setup Wizard window and click Next.
In the server configuration window, configure the Host Binding setting as the IP block of the GNS3 server and click Next.
Click Next after checking that the connection is successful in the local server status window.
In the GNS3 VM settings, select VMware from the Virtualization Software section and set the vCPU value to 2, and click Next.
After checking the hardware settings in the GNS3 Virtual Machine summary window, click Finish.
You can see the successful connection to the GNS3 VM in the Servers Summary section.
How to Add Cisco Router IOS
After installing GNS3 VM on Kali Linux, you need to install Cisco Router or Switch IOS images on the virtual server. Please note that the IOS devices you will add to the server will only work when the server is running.
After clicking File / Preferences from the GNS3 tool menu, select Dynamips / IOS Routers in the window that opens and click the New button on the right panel to open the IOS add wizard.
Select Run this IOS Router on the GNS3 VM from the Server Type options in the wizard and click Next.
Click the Browse button and select the IOS image of a Cisco Router you downloaded to your computer.
Click Yes to decompress the IOS image and then wait for the IOS to upload to the server.
Do not change the name and platform of the c7200 IOS image.
Assign a suitable RAM size to the Router according to your host’s performance.
Since the router has a FastEthernet interface by default, in order to add a Serial interface, insert a PA-4T+ Serial port into Slo1 in the network adapter window.
Set the Idle-PC value to prevent the Router image you added from using 100% of your computer’s CPU.
After adding the Router IOS, you can see that the Server part is the GNS3 VM in the Templates window. That is, the IOS image will run on the virtual server, not on your local PC.
How to Create a New Project
After adding IOS to the GNS3 server, create a new project to test its operability or to start creating a basic network topology.
Open the project wizard by pressing the New icon or CTRL + N in the GNS3 tool menu. Depending on the network design you will make in the Project window, type a suitable project name and select the backup location and click OK.
Click on the Routers category from the left panel and drag and drop two c7200 Routers into the workspace.
After activating the cabling option from the left panel, click on R1 and plug one end of the cable into Serial1/0 from the empty ports listed. Plug the other end into the Serial1/1 port of R2.
After connecting the routers through the Serial interface, click the green arrow from the menu and run all devices. Then double click R1 and open the CLI prompt and assign an IP address to the serial port.
R1# conf t
R1(config)# interface serial1/0
R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
Likewise, assign an IP address to the Serial1/1 port of the other R2 router.
R1# conf t
R2(config)# interface serial1/0
R2(config-if)# ip address 192.168.1.2 255.255.255.0
R2(config-if)# no shutdown
You can add a PC to the workspace or use the ping command from the CLI command prompt to check the network connection between routers.
R1# ping 192.168.1.2
R2# ping 192.168.1.1
How to Delete and Disable the GNS3 Virtual Machine
If you want to delete or remove the GNS3 VM from your PC, you must first completely delete the virtual machine from your disk from your virtualization program. Then you should disable the virtual server from the GNS3 program and make the local server connection.
After opening the VMware Workstation program, right-click on your virtual computer from the Library section on the left panel and click Manage / Delete from Disk from the opened options.
In the Question window that opens, click Yes to confirm the deletion of all files of the VM from your host disk.
To disable the GNS3 VM, view GNS3’s preferences and uncheck “Enable the GNS3 VM” from the GNS3 VM settings and click OK.
Click Help / Setup Wizard from the GNS3 tool menu and open the configuration mode. In this window, check the “Run appliances on my local computer” and click Yes to completely disconnect GNS3 from the virtual server and connect to the local server.
In the local server configuration window, change the Host Binding setting to “localhost” this time.
Close the Setup Wizard after verifying the local server connection.
Finally, you need to delete the IOS you have added to the GNS3 Server. You can see from the image below that the location where the Router is installed is “VM” before deleting it.
Add a Router to your GNS3 program using the existing IOS again and check that the Server type is local in the last step.
When you run the router, you can see that the server is not available and is running on the local system in the Servers Summary section.
Hello, I'm Tolga! I am a computer specialist who has been specializing in computer technologies for about 20 years. I provide solutions to problems encountered in many areas such as hardware, system, network, virtualization, server systems, and operating systems, and create relevant content on my website by explaining how to solve these problems. My goal is to be a reliable source of expert, quality, and trustworthy solutions for your computer problems. By following innovations and using the latest technologies, I aim to be successful in my job and provide you with the best service. Don't hesitate to contact me for any questions or curiosity about technology. Have a nice day, stay up to date :)