How to install GNS3 on Ubuntu 20.04 Linux

The
You can download this article in PDF format to support us through the following link.

Download the guide in PDF format

turn off
The

The
The

In this guide, I will guide you through the steps required to install GNS3 on Ubuntu 20.04 (Focal Fossa). GNS3 Network Simulator is an open source tool for simulating, configuring, testing virtual and real networks and troubleshooting. For students preparing for online certification, this tool is the key to improving the test level. This includes but is not limited to Cisco certification-CCNA, CCNP, CCIE, Juniper certification, Aruba, HPE and many other vendors.

The GNS3 tool can be installed on Windows, macOS and Linux. The virtualization used for interconnected instances includes VirtualBox, VMware and Docker. Using all available tools, you will be able to simulate complex network conditions and send data packets as you would on an actual device.

GNS3 function

  • Completely free and open source-no monthly or annual license fees
  • There is no limit to the number of devices supported-CPU and RAM hardware are your only limits
  • GNS3 supports all VIRL images (IOSv, IOSvL2, IOS-XRv, CSR1000v, NX-OSv, ASAv)
  • GNS3 can run in a multi-vendor environment with or without management procedures
  • It supports multiple switching options (ESW16 Etherswitch, IOU / IOL layer 2 image, VIRL IOSvL2)
  • GNS3 supports free and paid hypervisors-Virtualbox, VMware Workstation, VMware Player, ESXi, Fusion
  • GNS3 has native support for Linux without the need for other virtualization software

Install GNS3 on Ubuntu 20.04 (Focal Fossa)

Install GNS3 on Ubuntu 20.04 (Focal Fossa) via PPA repository. We will start the installation by adding a repository, performing a system update, and then installing the required packages on Ubuntu Linux.

Step 1: Add GNS3 PPA repository

Run the following command to add the GNS3 repository:

sudo add-apt-repository ppa:gns3/ppa

Enter your user password and press [ENTER] Then say:

[sudo] password for jkmutai: 
 PPA for GNS3 and Supporting Packages. Please see http://www.gns3.com for more details
 More info: https://launchpad.net/~gns3/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.
Hit:1 http://ke.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ke.archive.ubuntu.com/ubuntu focal-updates InRelease              
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease               
Hit:4 http://ke.archive.ubuntu.com/ubuntu focal-backports InRelease            
Hit:5 http://ppa.launchpad.net/gns3/ppa/ubuntu focal InRelease                 
Reading package lists... Done

Step 2: Install GNS3 GUI and GNS3 server on Ubuntu 20.04

After adding the repository, you can install the GNS3 package on Ubuntu 20.04.

sudo apt update                                
sudo apt install gns3-server gns3-gui

Many packages will be installed on your system, please press ÿ Accept the key to installation:

The following packages will be upgraded:
  libnss-systemd libpam-systemd libsystemd0 systemd systemd-sysv
  systemd-timesyncd
6 upgraded, 124 newly installed, 0 to remove and 112 not upgraded.
Need to get 101 MB of archives.
After this operation, 465 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Allow non-root users to use wireshark:

They are also allowed to capture packets.

How to install GNS3 on Ubuntu 20.04 Linux

Step 3: Install IOU support (optional)

IOU (IOS on Unix) is an internal Cisco tool used to emulate ASICs in Cisco switches. This allows you to switch to layer 2 in LABS.

Install the GNS3 IOU software package to unlock this feature:

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install gns3-iou

Accept the installation prompt:

The following packages will be upgraded:
  libssl1.1
1 upgraded, 10 newly installed, 0 to remove and 111 not upgraded.
Need to get 8,575 kB of archives.
After this operation, 34.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Step 4: Docker support (optional)

If you plan to use Docker Engine in the network stack, you need to install the runtime.

To install Docker CE, use the following guide:

Install Docker CE on Ubuntu

After installing Docker and IOU, add your users to the following groups:

for i in ubridge libvirt kvm wireshark docker; do
  sudo usermod -aG $i $USER
done

Step 5: Start GNS3 on Ubuntu 20.04

Now that GNS3 is installed on Ubuntu 20.04, you can start it from the terminal or desktop launcher.

$ gns3

On the homepage, select “Run device on computer “

How to install GNS3 on Ubuntu 20.04 Linux

On the second page, confirm the local server configuration location.

How to install GNS3 on Ubuntu 20.04 Linux

Confirm successful connection.

How to install GNS3 on Ubuntu 20.04 Linux

Complete GNS3 settings on Ubuntu 20.04 Linux.

How to install GNS3 on Ubuntu 20.04 Linux

To be able to capture GNS3 packets for analysis, you need Wireshark. You can install using the guide in the link below.

How to install Wireshark on Ubuntu

The
You can download this article in PDF format to support us through the following link.

Download the guide in PDF format

turn off
The

The
The

Sidebar