How to Connect Router to Cloud in GNS3

Sometimes, it is important to connect the routers to cloud in GNS3, especially when you plan to perform lab exercises on a Laptop that is not connected to a network. There is a solution that allows you to connect GNS3 routers to your local system using the loopback adapter. In this post, we will explain how to connect routers to the Cloud in GNS3 on your local system. However, we assume that you have already installed and configured GNS3 on your system. If you are new to GNS3, we would highly recommend you to visit the following links before to proceed next.

For this, first of all, you need to install a loopback adapter on your local system. Let’s see how to install the loopback adapter on your local system.

  1. Open the Device Manager. To do so, type devmgmt.msc in the Run dialog box, and then press Enter.
  2. In the Device Manager window, select and right-click your computer name and then select Add legacy hardware as shown in the following figure.devmgmt.msc

  1. On the Welcome page, click Next.
  2. On The wizard can help you install other hardware page, accept the default selection and click Next.install loopback adapter
  1. Navigate to the From the list below, select the type of hardware you are installing page and then click Next.Microsoft loopback adapter in windows 8
  1. On the Select the device you want to install for this hardware page, select Microsoft under the Manufacturer Select Microsoft KM-Test Loopback Adapter under the Model section, and then click Next.selecting Microsoft KM-Test Loopback Adapter
  1. On the Wizard is ready to install hardware page, click Next.
  2. Click Finish, once the installation is completed.
  1. Now, you have installed the loopback adapter on your local system. The next step is to configure TCP/IP settings for the loopback adapter. For this, type ncpa.cpl in the Run and then press Enter.
  2. On the Network Connections window, select and right-click the loopback adapter. Select Properties to open its properties dialog box.
  1. On the Properties dialog box, select TCP/IPv4, and then click Ethernet properties dialog box
  1. On the TCP/IPv4 Properties dialog box, configure the following TCP/IP settings:
  • IP address:
  • Subnet mask:
  • Default gateway:
  1. Click OK and then click Close to close the properties dialog box.
  2. Close all the active windows.
  3. Open Command Prompt, type ping and then press Enter.check connectivity using ping command
  4. Ensure that you are able to ping successfully.
  5. Close the Windows Firewall on the local system.
  6. It is highly recommended to reboot your local system before performing the following steps in order to avoid any errors.
  7. Once your local system is rebooted, open the GNS3.
  8. Add a Router and a Cloud in the topology view.
  9. Right-click Cloud and then select Configure to configure it.
  10. On the Node Properties dialog box, select the name of your loopback adapter, in this case, Ethernet. Click Add and then click OK to close the properties dialog box.coonect routers to cloud in gns3
  11. Now, connect your router using the Fa0/0 interface to the cloud’s Ethernet, as shown in the following figure. Here, you can choose your Ethernet adapter that you want to bind with GNS3 router. It may be either loopback or the physical network adapter. how to connect router to loopback adapter
  12. Start your router, open the console of R1 and configure IP address on its Fa0/0 interface. To do so, execute the following commands:
  • R1(config)#interface fa0/0
  • R1(config-if)#ip add
  • R1(config-is)#no shut
  • R1(config-f)#exit
  1. Once you have configured the appropriate IP address, execute the ping command to check the connectivity between R1 and local system using Cloud.
  • R1#ping
  • The following figure shows the router’s IP configuration in GNS3.connect router to internet in GNS3
  1. You should able to communicate with the local system from R1, as shown in the preceding figure. Now, you are connected to your local system (laptop) to routers in GNS3. Now, you can perform any lab exercise that require to access the external network or the Internet .
  2. That’s all you need to do to connect a router to Cloud in GNS3 using the loopback adapter. In the upcoming post, we will explain how to install and configure Cisco SDM using GNS3. That is why we have installed loopback adapter as it will be required to install and configure Cisco SDM. We assume that most of the people have a standalone system (desktop or laptop) and they are generally not connected to a network using the physical network adapter. Here, comes the loopback adapter as a handy feature.

Hope, it helped you. Please let me know if you have any problem performing the lab. Please also like and share the article to others.

Posted in CCNA, Cisco, GNS3 Tutorials Tagged with: , ,
One comment on “How to Connect Router to Cloud in GNS3
  1. Very nice tutorials and explanations