Lab 05 : 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.
Install a loopback adapter
Step 1
Open the Device Manager. To do so, type devmgmt.msc in the Run dialog box, and then press Enter.
Step 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.

Step 3
On the Welcome page, click Next.
Step 4
On The wizard can help you install other hardware page, accept the default selection and click Next.

Step 5
Navigate to the From the list below, select the type of hardware you are installing page and then click Next.

Step 6
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.

Step 7
On the Wizard is ready to install hardware page, click Next.
Step 8
Click Finish, once the installation is completed.
Step 9
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.
Step 10
On the Network Connections window, select and right-click the loopback adapter. Select Properties to open its properties dialog box.
Step 11
On the Properties dialog box, select TCP/IPv4, and then click Properties.

Step 12
On the TCP/IPv4 Properties dialog box, configure the following TCP/IP settings:
IP address: 192.168.1.100
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1
Step 13
Click OK and then click Close to close the properties dialog box. Open Command Prompt, type ping 192.168.1.100 and then press Enter.

Connect Router to Cloud in GNS3
Step 1
Add a Router and a Cloud in the topology view.
Step 2
Right-click Cloud and then select Configure to configure it.
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.

Step 3
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.

Step 4
Start your router, open the console of R1 and configure 192.168.1.1/24 IP address on its Fa0/0 interface. To do so, execute the following commands:
R1(config)#interface fa0/0
R1(config-if)#ip add 192.168.1.1 255.255.255.0
R1(config-is)#no shut
R1(config-f)#exit
Step 5
Once you have configured the appropriate IP address, execute the ping 192.168.1.100 command to check the connectivity between R1 and local system using Cloud.
R1#ping 192.168.1.100
The following figure shows the router’s IP configuration in GNS3.

Last updated