Professional Documents
Culture Documents
GNS3 How to
Copyright information: This document is destined to be used for educational purposes. It is free for noncommercial purpose. You can copy, distribute, share and alter it the way you wish.
Table of Contents
GNS3 Installation on Windows 7_x64...................................................................................................2 Getting the Tools ............................................................................................................................2 Installing Wireshark Packet Sniffer...................................................................................................3 Installing GNS3 ...............................................................................................................................3 Decompressing the IOS images........................................................................................................8 GNS Configuration Settings .................................................................................................................9 Adding IOS images to GNS3........................................................................................................... 13 Configuring the Idle-PC Values....................................................................................................... 14
Installing GNS3
Right click on GNS3 package that you just downloaded and select Run as as administrator,
The User Account Control will ask you if you want to allow the application to run, select Yes
Press the I Agree button so you can agree with the GNU GENERAL PUBLIC LICENSE.
In this part you can deselect the WinPCAP installation because it was installed along with Wireshark. Click Next after deselecting WinPCAP.
Depending on your hard drive configuration, choose the path to where you want to install GNS3, click next to leave the default path to C:\Program Files (x86)\GNS3. Click Install
Now you have GNS3 v0.7.4 installed on your computer. Its time to configure it. At this point we need to setup a couple of things before we actually configure GNS3 settings. This is because GNS3 is very picky about paths and naming, expect to have problems with it without really knowing why they are happening, but hey, its free! Lets setup the basics. First we need to configure the folders where the IOS images are going to be stored and the working directory where all our projects are going to be saved. I advise you to try to create these folders GNS_Projects and GNS_IMAGES with no spacing between the words and in the root directory of the drive you are creating them, or at least not too far beyond the root directory. In this example iv created two folders name GNS_Projects and GNS_IMAGES on the root of my C drive.
Now copy the IOS images you have and paste them into the GNS_IMAGES folder.
In my case Im using c2691-adventerprisek9-mz.124-25c.bin IOS image file, the extracted or decompressed image is named C2691-AS.BIN. For ease of management just rename the extracted image to c2691-adventerprisek9-mz.124-25c.image. Notice that the extension file name has now changed from .bin to .image.
Click Yes to rename the extracted image. Execute these steps for any IOS image you have. Note: You do not have to do this though it enables the IOS images to run faster without the need to wait to the IOS image to be decompressed. Its optional although I do recommend.
Insert the Project and Image directory created earlier like shown in the picture. Click Apply
Now, select the Dynamips tab and in the Working Directory field point to the same GNS_PROJECT folder created earlier. Click Apply and click Test so we can test the Dynamips configuration, if you get a green response saying Dynamips successfully started means that the Dynamips service started successfully which is exactly what we want. Click Apply again.
At this point (hopefully), a security warning should come up asking if you want to allow or deny Dynamips executable to access Private and Public networks. Select Allow Access.
Move on to the Capture tab. Create another folder for the Wireshark captures in the same root directory of the other two folders so you will end up with three folders: 1- C:\GNS_IMAGES 2- C:\GNS_Projects 3- C:\GNS_Captures In the Working directory for capture files in the Capture tab of GNS3 insert the path to the GNS_Captures folder. Click Apply
Select the Qemu tab. In the Working Directory under Qemu General Settings select or paste the path to the GNS_Projects folder. Click Apply and click Test.
A security warning will pop up again; Select Allow Access for both private and public networks. Click Apply again and click OK.
When you are done adding IOS images (dont forget to click Save for every image you add), click the Close button.
After you start the router you will see in the lower right corner of the screen (Task Manager) the CPU is peeking 100%. To release the CPU from this heavy utilization you need to configure the Idle-PC value.
You need to wait for a little wile for the best values to be calculated, while this task is working a windows will appear like the one bellow
When a new window popup with the Idle PC values, you should select from the drop down box the value or values with an asterisk (*). Note that sometimes none of the presented values have an asterisk and in this case just insert a value by trial and error until your CPU is down between 0% and 3% utilization. If it its more than that run the Idle PC value again until you get 0% or 2% utilization.
After you configure these last settings your all set. Just start studying with your new Cisco home lab. Study hard and have fun.