(Redirected from Gns3)

GNS3 is a free and open source network topology designer software download filed under network auditing software and made available by GNS3 for Windows. The review for GNS3 has not been completed yet, but it was tested by an editor here on a PC. GNS3 2.2.20 is a network software emulator that allows the combination of virtual and real devices, used to simulate complex networks; its name is comes from Graphical Network Simulator. It uses Dynamips emulation software to simulate Cisco IOS. GNS3 does not limit the number of devices you can run in a topology. This download is licensed as freeware for the Windows (32-bit and 64-bit.

  • How to use gns3. Gns3 is a famous network simulator used for simulation and practicing different network setup or scenario in real time. You simulate routers and switches on your pc without having the real one.
  • GNS3 Features: GNS3 hosted service, gives you the advantage to set up a proof of concept or certification lab, available to you on demand. We have the expertise to set up your custom environment and all you have to do is to connect to our network using your laptop. GNS3 Hosted service has been designed with top-notch quality on Cisco UCS servers.

Graphical Network Simulator (GNS3) allows you to simulate a network on your computer.

From the webpage:

GNS3 is an open source software that simulate complex networks while being as close as possible to the way real networks perform. All of this without having dedicated network hardware such as routers and switches.


GNS3 uses patched python extensions, python-aiohttp-cors-gns3AUR[broken link: package not found] and python-yarl-gns3AUR[broken link: package not found], which need to be installed before GNS3.

Note: That can potentially create trouble with other programs using the original extensions.

The gns3-guiAUR and gns3-serverAUR packages are needed to run the GNS3 GUI.The dynamipsAUR package are needed to simulate Cisco routers.

libvirt can be used to create the end devices 'Cloud' (providing a virtual wan interfaces, isolating the tested network to the other devices in the main network) and NAT.To make libvirt work correctly, GNS3 needs dnsmasq and ubridgeAUR. Install them and ensure the libvirtd daemon is running before using GNS3 with Cloud and NAT end devices.

Adding virtual machines

When creating your topology (your virtual network), you most likely want to add machines to it. GNS3 supports QEMU, VirtualBox and VMware out of the box.



Install VirtualBox

To use VirtualBox machines for your topology you need to installvirtualbox and virtualbox-sdk. To avoid any problems with GNS3 not finding VirtualBox it is recommended to install VirtualBox AFTER you install GNS3. If you already have VirtualBox installed, you should be able to just reinstall it.

If you don't install the virtualbox-sdk package you will not get the vboxapi.py script and GNS3s vboxwrapper.py needs this to connect the VMs.

Adding the GNS3 VM to VirtualBox

The official GNS3 VM should be used to increase performance. Go to GNS3 Github and download the VirtualBox version of the GNS3 VM with the exact same version number as your GNS3 version. Unzip and import the VM in VirtualBox.

To create a network connection between the GNS3 VM and the host OS a host-only network must be configured. In File > Host Network Manager, set up a host-only network. In most cases, it will be called vboxnet0 or similar. Note the IP address dedicated to the interface in the GUI. For some reason, VirtualBox does not assign the IP to the interface, nor does it enable it. Therefore, this must be performed manually in the terminal. See Network configuration#Routing table for more information on assigning IP addresses.

Launch the GNS3 startup wizard and select the GNS3 VM and it should be able to start the VM.

Adding VMs to GNS3

When the connection between GNS3 and VirtualBox have been made you need to tell GNS3 which VMs it should see and be able to use.

  1. In GNS3, click on Preferences > VirtualBox. Check that the path to vboxwrapper.py (should be /usr/share/gns3/vboxwrapper.py and is set per default) is correct (if you get an OK when pressing the 'Test Settings'-button, it works, otherwise see the installation step).
  2. Go to the VirtualBox Guest tab to add the VirtualBox VMs in GNS3. Choose an identifier name, a VM from the VM list (you may have to refresh the list using the provided button). To avoid confusion and possible errors, it is recomended to use the same identifier name as the name of the VM. When a VM is selected you can choose other options for it as well:
    • Number of NICs is the number of network interface cards you will see inside your VM (e.g. ifconfig on Linux, if you have 4 NICs on your VM, then set it to 4 in GNS3, if you have 1 NIC, then set it to 1 in GNS3).
    • Reserve first NIC for VirtualBox NAT to host OS is to you have your first network interface card (e.g. eth0 on Linux) configured with network address translation (NAT), allowing your VM to access your host network and Internet (if your host can access it of course).
    • Enable console support to activate a serial console access to your VM. Please note that serial console support must also be configured on the operating system running in your VirtualBox guest for this feature to work. Here is a howto for Debian/Ubuntu Linux.
    • Enable console server (for remote access) is to remotely access to your VM serial console. GNS3 creates a mini Telnet server that act as a proxy between the serial console and Telnet clients. This feature requires the Enable console support to be enabled.
    • Start in headless mode (without GUI) will hide the VirtualBox graphical interface when the VM is started. This option is mostly useful if you have configured the previously described console support.


Adding VMs to your topology

After you have told GNS3 which VMs is should be able to see you can drag'n'drop them in your topology. Simply select the computer-icon in the left sidebar. You can now choose 'VirtualBox guest'. Drag this to where you want to add your VM in your topology. When you drop it in you will be prompted about which VM to add. Select the one you want and click OK. You should now be able to boot the VM from GNS3 by right click -> start.


Tip: GNS3 has already added built-in support for VMware. You may follow the wizard instead of the manual steps below.

To use VMware in GNS3 you need to create a cloud in your GNS3 topology, and then in your VMware machine, connect it to the NIC of the cloud in your topology.

Instructions taken (and ported) from GNS3 forums:

  1. Select network adapter 'Host only' to your Virtual machine in Vmware
  2. Check how this network adapter (vmnet1) is named (ifconfig should list it).
  3. Add a cloud to your workspace in GNS3.
  4. Configure the cloud and select the network adapter you just looked up.
    • Right Click on the cloud and select Configure.
    • Select the C0 on the cloud.
    • Select NIO Ethernet.
    • Select Generic Ethernet NIO.
    • Select the appropriate adapter from the drop-down menu and press the Add button.
    • The adapter for your virtual machine should now be added to the cloud.
  5. Connect cloud to your topology, for example to a router.
  6. Adding IP addresses (in the same subnet) to the Virtual machine and the emulated router in GNS3.
  7. Ping between router and virtual machine should now be successful, otherwise, try to redo the steps.

Connecting devices

When devices have been added to your topology you will need to connect them. Select the link-icon (the bottom icon in the left sidebar, looks sort of like a mouse or ethernet-port+rj45 connector), click on a device (like a switch). Next, click on the device (like a VM) you want to connect to the switch. You will be promted to select the NIC which should be used. When you have created all the links you want, click the link-icon in the left sidebar to deselect it, otherwise GNS3 will still be in 'create link'-mode.


VPCS is a simple virtual PC simulator, supported by GNS3 and useful to enhance the simulation of a full working network topology. It can be downloaded from Sourceforge.The VPCS's executable should be placed inside ~/GNS3 to keep it simple, then GNS3 must be instructed to search the path/to/executable (using GNS3 GUI, the option is easily found under Preferences).

Wireshark packet capture

Wireshark can be used with GNS3 to 'sniff' packets from the links between devices of a virtual topology. Install it and create a symlink under ~/GNS3/wireshark/ directory:

ln -s /usr/bin/wireshark ~/GNS3/wireshark/

Retrieved from 'https://wiki.archlinux.org/index.php?title=GNS3&oldid=663969'

Hello and welcome to the GNS3 introduction, we will dedicate an entire category on this blog exclusively dealing with what GNS3 is, how to install the software as well as how to operate GNS3.


GNS3 a Network Simulator


As the heading suggests, GNS3 is a virtual network simulator. We are able to build, design and test topologies using the software. GNS3 allows us to rapidly prototype various different network configurations, concepts and applications with a very simple drag and drop functionality. This allows us to test or understand a new concept before ever implementing anything on our live network environment.

There is some configuration work required in order to optimally run GNS3 as you will need to install the GNS3 VM in order to run some of the software images of the vendors which also means you will need to install some additional software to run the VM on. One very important thing to mention is that the software is FREE. You read that right, there are no hidden costs or additional fees when using GNS3. All that is required from you is some time and effort and once everything is setup you will be able to create as many labs as you want.

What certifications can you pursue?

Many different vendors have made their OS and software images available to be integrated on a virtual platform. If you are interested in getting your Cisco qualifications then great news! GNS3 offers you a way to lab many of the Cisco Exam topics helping you better understand the concepts. Not only is this limited to Cisco, but you are also able to integrate Juniper devices as well as Mikrotik routers. Giving you real-world experience on many diffrent devices. So when exam time comes you will have a better understanding of the questions and this will help you succeed.

Gns3 Github

What devices can you lab?

If I said ANYTHING that would be a bit of an overstatement, however, if you were to put in the time and effort I am certain you could literally add any and all devices permitted the software images were available to you. Below is a brief run-down of the types of devices you are able to lab

Routers ~ Easily lab Cisco, Mikrotik or Juniper routers giving you hands-on experience in the world of routing.

Switches ~ Integrate various switches and easily create a lab involving Cisco switches to help understand Layer 2 fundamentals such as VLANs

Firewalls ~ Checkpoint, Cisco ASA, FortiGate, Sophos just to name a few. Easily bring any of these firewalls online and test their functionality and create VPN tunnels as well as policies.

End-Point devices ~ Bring up a virtual computer infrastructure connected to your virtual switches and routers. Being able to truly lab from a user perspective if the changes on the network are working as intended.

What are you waiting for?

Go to the GNS3 website and read up more about the software! In our next article, we will go over the installation process of the software just to get you started.

Hungry for more?

Gns3 Download

Why not check up the follow-up post on the initial configuration of the GNS3 application?