wikiroute

networking recipes

User Tools

Site Tools


networking-lab-setting-with-gns3

Setting a Networking Lab with GNS3

GNS3 is a software tool for network emulation. With GNS3, you can emulate Cisco devices (routers, switches, firewalls, etc.) with Cisco IOS on your PC. GNS3 enables to test the configurations and functionalities of Cisco devices and deploy complex networking scenarios on a single PC.

During the course on Routing and Switching at ESIB, you will discover different functionalities of GNS3 and get familiar with its various features.

1. Software Download

GNS3 is already downloaded on the Lab PCs. If you need to install it on your PC, you should create an account and download it from https://www.gns3.com/software/download. Make sure to choose the right version for your operating system. Moreover, during the first steps of the installation, choose to Run only legacy IOS as shown below.

Copy the file c3725-adventerprisek9-mz.124-15.T14.image from the folder commun to your local Downloads folder.

2. Basic Configuration

Start the GNS3 software by double-clicking on the Desktop icon. Select the Local server and Don't show this again button.

Now proceed to add an IOS router.

3. Adding a Cisco Switch

In order to add a Cisco switch to GNS3, browse and select the c3725-adventerprisek9-mz.124-15.T14.image in your Downloads folder. Click yes to copy it to the default images library.

Now check the button This is an EtherSwitch router.

Click on Idle-PC finder and wait for the process to complete.

Apply to validate the new device parameters. Now you are set to start using Cisco switches with GNS3.

4. Adding a Cisco Router

In order to add a Cisco router to GNS3, start by copying the file c7200-advipservicesk9-mz.150-1.M.bin from the folder commun to your local Downloads folder. Now, go to Preferences, then IOS Routers and click on New.

Click on New Image, then browse and select the c7200-advipservicesk9-mz.150-1.M.bin in your Downloads folder. Click yes to copy it to the default images library.

Make sure to add Fast Ethernet interfaces to your router as in the image below.

Click on Idle-PC finder and wait for the process to complete. Finally, apply to validate the new device parameters. Now you are set to start using Cisco routers with GNS3.

5. Starting a New Project

Choose a name for your project.

Select the devices from the left panel.

Click on the green button to start all devices. Then select Control and Console connect to all nodes.

Now you have access to the CLI (Command Line Interface) of the Cisco devices in your network.

6. Saving your Work

During the Lab, you should frequently save the configuration of each of the Cisco devices. For this, you can use the following command to store the running-config into the startup-config (NVRAM).

#copy run start

Then, using the File drop-down menu, you can export your work into a portable project you can use on another machine.

7. Tips and Hints

  • Click on the abc button to show the interface names on the network.
  • Right click on any link to start capturing packets using Wireshark.
networking-lab-setting-with-gns3.txt · Last modified: 2018/04/13 15:02 by samer