How to Install GNS3 on Ubuntu

GNS3 network simulator program can install on Windows operating systems as well as Linux systems can be installed easily.

How to Install GNS3 on Ubuntu

How to Install GNS3 on Ubuntu 17.04 / 17.10 / 18.04 / 18.10 / 19.04 / 19.10

With GNS3 (Graphical Network Simulator 3), you can create more specific network topologies and run and use these devices virtually on your computer with GNS3 without the need to purchase network products such as Cisco Router and Switch.

We have already installed GNS3 network simulator on the Windows operating system. When installing GNS3 on Windows platform, we proceed with graphical steps.

On the Ubuntu operating system, applications are usually installed using the terminal. On Linux systems, you must add the repo addresses of a program. And hence, setting up a program can sometimes take time and be complicated.

GNS3 is more specific than Cisco Packet Tracer, so users prefer this simulator.

For more information about the router simulator program, we recommend that you check out what is GNS3.

GNS3 is a network simulator program that is constantly updated, and the latest version is 2.1.21. In our previous articles, we installed GNS3 on other Linux systems and Windows 10. You can access our GNS3 installation articles from the links below;

How to Configure and Run GNS3

Follow the steps below to install GNS3 step by step on your Linux computer.

   Step 1

Open the Terminal by pressing Ctrl + Alt + T on the Ubuntu desktop. To add GNS3 to the Repository, type the following command in the Terminal and press Enter.

sudo add-apt-repository ppa:gns3/ppa

 
sudo add-apt-repository ppa:gns3/ppa

   Step 2

Press Enter to continue the GNS3 installation.

Pressing Enter to Continue

   Step 3

To update the Ubuntu package list, type sudo apt-get update, and press Enter.

sudo apt-get update

 
sudo apt-get update

   Step 4

To start the installation, execute sudo apt-get install gns3-gui.

sudo apt-get install gns3-gui

 
sudo apt-get install gns3-gui

   Step 5

Press Y to confirm the installation of the dependent packages, and then press Enter.

Confirming Installation of Dependent Packages

   Step 6

Press Enter on Yes to allow non-superusers to use Ubridge.

GNS3 uBridge

   Step 7

Also, select Yes if you want to allow non-superusers to capture packages using Wireshark on GNS3.

WireShark Permissions

   Step 8

After the installation is complete, close the Terminal and type GNS3 in the search box to find and run the program.

Starting GNS3

   Step 9

You can check the version of GNS3 in Help / About.

Checking GNS3 Version

How to Add and Use Cisco Router/Switch IOS Image on Ubuntu

After installing GNS3, follow the steps below to add a new Router/Switch IOS image.

   Step 1

After running GNS3, the first opening of the program is as follows. In the Setup Wizard window, select Local Server.

Local Server

   Step 2

After selecting the Local Server, click Next.

Local Server

   Step 3

Select the option in the image below to add the Cisco Router IOS image.

Adding a Cisco IOS Image

   Step 4

In the IOS images window, click the Browse button to add the Router image.

IOS Image

   Step 5

In the window that opens, select an IOS image that you downloaded to your computer and click the Open button.

Adding an IOS Image

   Step 6

Click Yes to copy the router IOS image to the default location.

Copying an Image

   Step 7

After adding the IOS image, click Next.

New IOS Router Template

   Step 8

Select the Cisco Router platform and click Next.

Name and Platform

   Step 9

In this window, you can configure how much RAM the Cisco Router uses. Continue by clicking Next to accept the default 512 MB RAM.

Router RAM Setting

   Step 10

In the Network Adapters section, you can add interfaces for the Router. Select the FastEthernet interface configured by default and click Next.

Network Adapters

   Step 11

You must set the IDLE-PC value so that it does not affect the performance of your computer while the Cisco Router is running. Click the Idle-PC Finder button to set the optimal value.

Idle-PC Value Calculation

   Step 12

Calculating Idle-PC value for router image …

Calculating Idle-PC Value

   Step 13

Once the optimal Idle-PC value found for the router, click OK.

Idle-PC Finder

   Step 14

Click Finish to continue adding iOS.

Idle-PC Configuration

   Step 15

The IOS Router Templates window provides information about the Router image you added. To close this window, just click OK.

IOS Router Templates

   Step 16

In the Create a new project window, click the OK button after configuring the project name and location.

GNS3 New Project

   Step 17

After successfully adding your Cisco IOS image, drag and drop the c7200 Router from the left to the workspace.

Drag and Drop the Router to the Workspace

   Step 18

After running the router, you can see the IOS image version from the image below.

Cisco IOS Software

How to Use GNS3 ⇒ Video

You can watch the video below to install the GNS3 software and also subscribe to our YouTube channel to support us!

   Final Word


In this article, we have examined step by step how to install GNS3 on Linux / Ubuntu. And finally, we have added a Cisco IOS image to use Cisco Router or Switch on Ubuntu. Thanks for following us!

   Related Articles


How to Install GNS3 in Mac
RIP Configuration
RIP Version 2 Configuration
EIGRP Configuration
OSPF Configuration

Add a Comment

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

shares
error: