GNS3 is the most preferred network simulator program to prepare for the Cisco exams. Kali Linux is a Debian-based Linux system developed by Defensive Security.
How to Install GNS3 2.1.21 on Kali Linux 2019.3
Kali Linux is also known as BackTrack. Those who prefer Kali Linux are usually interested in network vulnerabilities. It is a widely preferred Linux distribution because there are many free network-related tools on the system.
In our previous articles, we installed GNS3 on Linux-based operating systems;
In this article, we will install GNS3 on the latest version of Kali 2019.3. And finally, we will test the functionality of the program by adding a Cisco Router IOS image to GNS3.
How to Setup and Configure GNS3
The latest version of GNS3 for Linux is 2.1.21. To install the latest version of GNS3, you need to add Ubuntu repository addresses to /etc/apt/sources.list.
Follow the steps below to install and use GNS3 step by step.
Also, if you have not done Kali installation before, you can check out our article here.
Before starting the installation, open Terminal, and execute the command below to edit sources.list.
sudo nano /etc/apt/sources.list
Copy and paste the following addresses into the Kali Linux source list.
deb http://ppa.launchpad.net/gns3/ppa/ubuntu bionic main
deb-src http://ppa.launchpad.net/gns3/ppa/ubuntu bionic main
deb http://ftp.us.debian.org/debian jessie main
deb http://ftp.us.debian.org/debian stretch main
deb http://deb.debian.org/debian unstable main
deb http://deb.debian.org/debian stretch contrib
deb http://deb.debian.org/debian stretch non-free
After adding the above addresses to Sources.list, press Ctrl + X / Y / Enter to save the file.
NOTE: If you have problems installing, you should add Ubuntu Cosmic mainline in addition to the list above.
deb http://ppa.launchpad.net/gns3/ppa/ubuntu cosmic main
deb-src http://ppa.launchpad.net/gns3/ppa/ubuntu cosmic main
To install dirmngr to run GNS3, execute sudo apt-get install dirmngr at the Terminal.
sudo apt-get install dirmngr
For GNS3 security, add Ubuntu Global Public Key by executing the command below.