Installing Gns3

Posted : admin On 1/26/2022
  1. Run these instructions only on a server dedicated to GNS3 otherwise you need to manually setup GNS3 on your server. The easiest way to install GNS3 on this server is to install it on a fresh Ubuntu 16.04 LTS installation. As root run these commands.
  2. It's now easy to install GNS3 on a Windows 10 computer.Join my Discord here: support the mission, join thisisIT: https://bit.
Gns3

Want to know how to install, configure and setup GNS3 2.2? Well, these videos show you how. In this first video, I show you how to download the components yo.

So, I attempted to use the apt-get binaries to install gns3-server on Ubuntu 18.04 LTS (Bionic Beaver). The issue I ran into is that the package is linked to a specific version of python3. The installation was linked to the python3 version 3.5 libraries as evidenced by the output:

My install of Ubuntu 18.04 came with python3 version 3.6.5. I really didn’t feel like mucking about trying to rebuild the virtualenv of the package to point to the proper python3 libraries, so instead, I just installed gns3-server from scratch. I took this opportunity to write down the procedure to help others, but really, I documented this so that I can repeat the process myself.

I started with a fresh install of Ubuntu 18.04 LTS (Bionic Beaver), however this same process should work on subsequent versions of ubuntu as well. Note that I took care of some of the housekeeping, like setting the static IP address and hostname of the linux box before starting this procedure.

Step 1: Update your distro and install needed packages

Step 2: Install ubridge, dynamips, docker, and gns3 from source

Install ubridge

Install dynamips

Install gns3-server

Install Docker

Step 3: Create user, group membership, & startup script

Installing Gns3 On Ubuntu

Create the gns3 user and add it to the needed groups

Installing Gns3 On Virtualbox

Copy the gns3 startup template from the source tree to the init directory

I usually reboot here, just to be sure I have the correct permissions and everything is ready to go.

Step 3.5: (Optional) Install a few useful Docker containers

Step 4: Startup and enable the gns3 server

Enable the gns3 service by default

Manually start the gns3 service

You can verify the server started or troubleshoot any issues by looking the journal logs.

Gns3 Server Setup

And by looking for the running binary.

Step 5: Connect with the gns3 gui client

Then, from my mac, I load up the gns3 client and configure the “Remote main server” field to point to my Ubuntu gns-server installation.

Gns3 Vm Installation

Installing

You should now be in business and ready to run gns3 and build your virtual environments!

Installing Gns3 On Virtualbox

Follow up: If you find that speeds from your virtual hosts to the physical network are slooooowwwww, check out my blog entry on solving this.