Bobcares

Install GNS3 on Ubuntu with ease

by | Dec 5, 2020

Are you looking for steps to install GNS3 on Ubuntu? Take a peek at this blog.

Here at Bobcares, we have seen several such Ubuntu related installations as part of our Server Management Services for web hosts and online service providers.

Today we’ll see how to install GNS3 on Ubuntu.

 

Know more about GNS3

GNS3 network emulator is an open-source tool used to simulate, configure, test, and troubleshoot virtual and real networks.

It can be installed on Windows, macOS, and on Linux. The Virtualization for instances used in inter-connection includes VirtualBox, VMware, and Docker. With all available tools, you will be able to simulate complex network scenarios and sent packets through as if you are working on actual appliances.

 

How we Install GNS3 on Ubuntu 20.04

Now let’s take a look at how our Support Engineers install GNS3.

 

Step 1: Add GNS3 PPA repository

We run the below commands to add the GNS3 repository:

$ sudo add-apt-repository ppa:gns3/ppa

Then we input the user password and Press [ENTER] to continue:

[sudo] password for bob:
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 & GNS3 Server on Ubuntu 20.04

After we add the repository, we install GNS3 by running the below command.

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

A number of packages will be installed. Then we press ‘Y’ key yo accept the 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

We allow non-root users to use wireshark. Also, we allow them to capture packets as well.

 

Step 3: Install IOU Support (Optional)

IOU (IOS over Unix) is an internal Cisco tool for simulating the ASICs in Cisco Switches. This enables to play with Layer 2 switching in the LABS.

So we install GNS3 IOU package to unlock this feature:

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

Then we 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: Launch GNS3 on Ubuntu 20.04

Now since we’ve installed GNS3 on Ubuntu 20.04, we can launch it from the terminal or from the Desktop launcher.

$ gns3

  • On the first page, we select “Run the appliances on my computer”
    install gns3 on ubuntu
  • Then on the second page, confirm the local server configuration location.
  • After that, we confirm that the connection is successful.
  • Then we complete the GNS3 setup on Ubuntu 20.04 Linux.
  • To be able to capture GNS3 packets for analysis, we need Wireshark.

To install Wireshark, we follow the steps given below:

$ sudo add-apt-repository ppa:wireshark-dev/stable
$ sudo apt update
$ sudo apt -y install wireshark

[Need any further assistance with Ubuntu queries? – We are here to help you.]

 

Conclusion

Today, we saw how our Support Engineers install GNS3 on Ubuntu.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.