Lab 05 : Connect Router to Cloud in GNS3
Yaser Rahmati | یاسر رحمتی
Last updated
Yaser Rahmati | یاسر رحمتی
Last updated
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.
Open the Device Manager. To do so, type devmgmt.msc in the Run dialog box, and then press Enter.
In the Device Manager window, select and right-click your computer name and then select Add legacy hardware as shown in the following figure.
On the Welcome page, click Next.
On The wizard can help you install other hardware page, accept the default selection and click Next.
Navigate to the From the list below, select the type of hardware you are installing page and then click Next.
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.
On the Wizard is ready to install hardware page, click Next.
Click Finish, once the installation is completed.
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.
On the Network Connections window, select and right-click the loopback adapter. Select Properties to open its properties dialog box.
On the Properties dialog box, select TCP/IPv4, and then click Properties.
On the TCP/IPv4 Properties dialog box, configure the following TCP/IP settings:
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.
Add a Router and a Cloud in the topology view.
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.
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.
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:
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.
The following figure shows the router’s IP configuration in GNS3.