Lab 01 : Connect 2 PCs
Yaser Rahmati | یاسر رحمتی
Last updated
Yaser Rahmati | یاسر رحمتی
Last updated
To create a new GNS3 topology, click the Browse End Devices button on the Devices Toolbar:
The toolbar will expand to show available devices of that type. In this example VPCS is one of the available devices:
Drag and drop the VPCS node (device) to the GNS3 Workspace. An instance of the node becomes available in the Workspace. In this example a new VPCS with the name PC1 is now available:
Drag and drop the VPCS node again into the GNS3 Workspace. In this example, another VPCS was added to the GNS3 workspace (PC2):
Click the Add a Link button to start adding links to your topology. The mouse cursor will change to indicate that links can be added:
Click on PC1 in your topology to display available interfaces. In this example Ethernet0 is available (this is device dependant):
Click Ethernet0 on PC1 and then select PC2:
Select Ethernet0 on R2 to complete the connection. Click the Show/Hide interface labels button on the GNS3 Toolbar to display interface labels in your topology:
GNS3 indicates that the devices have been powered on by turning the interface connectors from red to green. This can also be seen in the Topology Summary:
You are now ready to configure your devices. Click the Console connect to all devices button on the GNS3 Toolbar to open a connection to every device in the topology:
A console connection is opened to every device in the topology.
Configure your PCs with IP addresses and default gateways as follows (a default gateway is configured in this example but is not used):
PC1 should now be able to ping PC2 (use the key sequence Ctrl-C to stop the ping):
Result Pings succeed.
To save your PC configurations use the save command: