How to install and configure GNS3 Desktop Client (Windows / Linux / Mac)?

STORDIS-gns3-client-banner-3200x1200.png

[stordis-toc]

Introduction

The GNS3 desktop client is the application in which you build and operate your network topologies. The client connects to a GNS3 server: on your computer, in the GNS3 VM or on a remote host.

This guide shows how to install the client on Windows, macOS or Linux, how to connect it to a GNS3 server, and how to add more servers.

Prerequisites

  1. Windows 10/11, macOS 11 or later, or Ubuntu (or a distribution based on Ubuntu).
  2. Administrator rights on the computer.
  3. A GNS3 server. For example the GNS3 VM on VirtualBox, VMware ESXi or Proxmox (refer to the links at the end of this guide).

If the client connects only to a remote server, a standard office computer is sufficient. A local GNS3 server needs a strong computer: 8 or more CPU cores with VT-x/AMD-V, 32 GB RAM, 80 GB free space on an SSD.

CAUTION

The version of the GNS3 client must be the same as the version of the GNS3 server, for example client 2.2.54 and server 2.2.54. If the versions are different, the client cannot connect.


Step 1: Download the GNS3 client

GNS3 website (recommended) GitHub
  1. Go to https://gns3.com/software/download and select the version for your system.

    GNS3 download page with versions for Windows, macOS and Linux

  2. If you do not have a GNS3 account, create one. The website asks for it before the download.

    Create account form on the GNS3 website


Step 2: Install the GNS3 client

Select your system. The page opens the tab of your system automatically.

Windows macOS Linux (Ubuntu)
  1. Start the downloaded installer.
  2. Follow the installation wizard. You can keep the default settings.

GNS3 setup wizard: welcome screen

GNS3 setup: license agreement

GNS3 setup: start menu folder

GNS3 setup: choose components

GNS3 setup: install location

GNS3 setup: installation progress

GNS3 setup: additional components

GNS3 setup: installation complete


Step 3: Connect the client to the GNS3 server

The client looks the same on all systems.

  1. Select Edit > Preferences.

    Preferences in the Edit menu

  2. Open Server > Main server. Clear Enable local server. Type the data of the remote server: Host (IP address), Port, and the user and password if the server uses authentication. The main server keeps your projects.

    Main server settings with a remote GNS3 server

Use the address and the port that the console of the GNS3 VM shows.


Step 4 (optional): Add more GNS3 servers

Use this step if you keep the local server as the main server, or if you use more than one remote server.

  1. Open Server > Remote servers and click Add.

    Remote servers tab with the Add button

  2. Type the data of the server and click OK.

    Settings of a new remote server


Troubleshooting

The client cannot connect to the server
  • Make sure that the client and the server have the same version (Help > About in the client, the console of the GNS3 VM for the server).
  • Make sure that you can open http://<server-IP>:<port> in a web browser.
  • Make sure that no firewall stops the port of the server.
Linux: nodes do not start or capture does not operate

Your user is not in the groups for GNS3. Add the user (Step 2, Linux) and log out and log in again.


Procedure completion

Congratulations!

You have successfully installed and configured the GNS3 desktop client. Now you can add SONiC and build your network labs.

Happy networking!

 

Useful links:

How to create a new GNS3 appliance template to work with SONiC using GNS3 Desktop Client?

How to set up GNS3 server on VirtualBox?

How to set up GNS3 server on Proxmox?

How to set up GNS3 server on VMware ESXi?

 

For more free resources, visit: https://stordis.com/free-resources/

Comments 0

Articles in this section