GNS3 Virtualbox Connect VM with Gns3 1.4 or 1.3

GNS3 Virtualbox Connect VM with Gns3 1.4 or 1.3

GNS3 Virtualbox : How to use Virtual Box Virtual Machine in GNS3 as Virtual Host

This article is about Gns3 Virtualbox and I will show you how to connect VirtualBox with gns3. Virtualbox is free software used for creating virtual machine. Now what is a virtual machine? A Virtual machine is virtual operating system that can be run within your operating systems. For example you are running windows 10 on your computer. with the virtualbox you can install windows 8 virtually. In this way you can run the windows 10 and windows 8 at a time under the same computer. You can run multiple VM on single computer, multiple VMs can be used on single computer for following purposes:

  • You can create different networking labs.
  • If you can have a powerful server, with multiple VMs you can install different application servers on the same server which is very economical.
  • It can be used for practice, suppose you have windows OS and with VirtualBox you can install Linux OS on your computer virtually.


The advantage of using VirtualBox VM over other options is that you have the real PC with OS of your choice with full control. Which is much more comfortable for some people. Following are the steps for connecting VirtualBox with GNS3:

  1. Create a Virtual Machine with Virtualbox

For connecting GNS3 with VirtualBox first you have a VM, so first create a virtual machine. If you don’t have any idea of creating a virtual machine following video is very helpful for you:

Once VM is created it will appear in list of OS of your VirtualBox.

VMs in virtualbox

  1. Now open the GNS3 and click on Edit\Preferencesand then from VirtualBox VMsmenu clicking on new button for creating virtual host in gns3.gns3 VM setting
  2. Select your VM from list, in my case it is windows 8 which I have create with above define process.Select VM from gns3
  3. Now finish the wizard a new VM will appear in GNS3 virtual PCs list as shown in figure. Insert the win 10 and router on gns3-Dashboard and connect the virtual machine with that 10 host on gns3
  1. For customizing the NIC of virtual host, start your VM, now for configuring IP address. Open network and sharing center and from adapter setting assign the IP address and gateway to your VM. In order to communicate it with your router you must have to assign the IP to both devices from same subnet. For example I have assigned the and with subnet mask host network adapter setting

LAN IP address

For assigning the IP address to router use the following commands



config t

Interface e0 (select the interface which is connected to your VM)

ip address

no shut

For testing and verification connection you can ping your router from your VM command prompt, for this go to VM and type the cmd in Run and ping your router IP.

Waqas Azam
Me Waqas Azam and I am a professional blogger & freelance writer. I also working in the IT industry for over 7 years. I am graduated in Computer Science and information technology.