GNS3 on Windows 7 The IPexpert Way

By Tyson Scott on March 31st, 2010

Supporting Files

Download the Directory Structure and Support files IPexpert Dynamips Support Files

This Document can also be downloaded as a PDF from GNS3 on Windows 7.

Brief introduction of GNS3 and Dynamips:

GNS3 is a front end for Dynamips. Dynamips, which was written by Chris and released at, is the backend that emulates the router platforms. Sadly the final version released is 2.8 RC2. Reportedly Chris had worked on some enhancements after this release but those enhancements never made it into public hands.

Dynagen, written by Greg, was the first non-gui interface made for Dynamips to make life easier. It has a very nice command line interface and is quite stable. It also has a slight performance edge over GNS3. But the ease of use with GNS3 still makes it more attractive than a slight performance enhancement.

If you would like to use Dynagen, it can be downloaded from


GNS3 started as a project for university students. And it is the most successful graphical interface for Dynamips. Although some Chinese authored a few GUI interfaces they never took off. They are also out of scope for this guide to discuss those reasons.

GNS3 is maintained at following site:

Important Note: In this IPexpert Guide, GNS3 is used as a collective word for the combination of the backend software (Dynamips) and the frontend software (GNS3 itself).

GNS3 is well known as the non official Cisco emulator; it can run Cisco IOS on the platforms supported by the program. It’s important to note that, GNS3 is not a simulator it is an emulator. It can support all the commands and features supported on the hardware it emulates. When people say, GNS3 cannot emulate switching; they are misunderstanding the purpose of GNS3. GNS3 support’s switching based on the capabilities of the supported platforms. Restrictions in switching are not because GNS3 doesn’t support it. The limitations are put on the hardware platform that is supported, namely the NM-16ESW.

Platforms and modules supported by GNS3

  1. 1700 routers
  2. 2600 routers
  3. 3600 routers
  4. 3700 routers
  5. 7200VXR series
  6. NM-16ESW switching module
  7. WIC modules
  8. NM-CID
  9. NM-NAM
  10. NM-xT/ NM-xFT
  11. Native Etherswitch support and Frame-Relay support

Some important GNS3 components:

Autostart = False/True

This setting allows you to automatically start all the devices when you load you topology if it is set to “True”. We recommended this value be set to “False”.

Ghostios = True/False

This allows GNS3 to run multiple copies of a single image, reducing resources on the workstation. We highly recommended setting it to “True”, in all situations.

Sparsemem = False/True

This setting allows GNS3 to control memory handling. In case this feature is set to “True”, GNS3 will only utilize memory as needed by each running device and unused memory will be swapped to hard disk. This feature is good for machines which lack memory.

But this feature makes your overall performance much slower. This is because excessive swapping of virtual memory with the hard drive. If your computer can handle the memory required by to run all the devices (memory required by one device x number of devices) then you should set this to “False”.

IDLEPC = 0x????????

Many consider this “THE” most important part of GNS3 configuration. It can dramatically change your overall experience. Basically, this value defines the resources the emulated Cisco Routers will use. The IDLE PC value instructs devices to release resources and go idle during while the router is running idle. This then allows resources to be freed up and made available to the other devices. It is kind of co-operative multi-tasking being done among the emulated instances. You should spend sufficient time to find a good combination of IDLEPC value suited for his/her IOS and computer platform.

It is important to understand that our goal is for you to have smooth GNS3 experience. If you can emulate the IPexpert topology with your PC’s CPU running around a scale of 60-70% when all of your devices powered on and you have a handful of configurations loaded, then don’t waste more time on finding better values. This is the performance you should expect. Don’t waste additional time trying to tweak GNS3 settings to get better performance. Just like in the actual lab you need to meet the requirements of the questions, no more, no less.

Image files: GNS3 supports (like normal routers) booting form compressed IOS images. During IOS initialization, routers being emulated have to decompress the image every time it boots and this takes a lot of time. The best way to save time during the initial boot process is to use GNS3 with decompressed images. The IOS can be decompressed by simple winrar software ( Only tricky part is to right click on the IOS and choose open with winrar, after that normal decompression process will apply.

Enough talking, let’s move on to the actual setup!!!!!!

Gns3 Installation

Step 1: Software

You need to download GNS3, the “all in one package”. This includes all software required to successfully run GNS3, (Besides the IOS images). At this time, when this IPexpert guide was authored, the latest version released is 7RC1. The current download location is:

Step 2: Installation

Use the default installation directories, this will keep things simple.

Note: when you will launch setup, most likely, windows will give you warning about “unknown software publisher”, please select yes to proceed for installation.



In Fig-2, it’s important to note you must select WinPCAP, Dynamips, and GNS3. The Qemuwrapper is only required if you are
planning on emulating the ASA or PIX.


We recommended to leave the default installation location (This will say “C:\Program Files x86\GNS3” if you are running a 64 bit operating system). Click Install.


A New installation screen will open for the WinPcap installation, proceed with this software installation. This installation is required; without WinPcap GNS3 will not function.


Click Finish, to complete installation.

Configuring GNS3 for first time

You should now have GNS3 installed.

If you would like, you can add a shortcut to it on your Desktop for ease of use. Locate GNS3 in your Start Menu, right click on the icon and select Send to > Desktop (Create Shortcut). You will now have a shortcut on Desktop.

Open GNS3, either by launching it from the Start Menu or by double clicking on the shortcut you made on the Desktop.

Note: After opening GNS3 Depending on your Windows Configuration, Windows Firewall or other Antivirus/Internet Security software may warn you about GNS3 requesting network access. It is important to allow this access; otherwise GNS3 communication with devices, in a best case scenario will be unreliable, in most cases will not function.

Now when GNS3 opens for the first time you will see the following Window:


For now just press Cancel, we need to configure and fine tune GNS3 before we do anything else.

GNS3 Configuration

You must configure a supporting File Structure for the IPexpert topology.

Note: Included with the .zip file you downloaded to read this guide, is the compressed form of the IPexpert GNS3 topology and file structure.

Before starting configuration, please expand your zipped file ““ to C:\. After unzipping it here you will see the structure shown in Fig-7.

If you chose not to use the included rar file and prefer to do the configuration manually; use Fig-7 as a guide to create the file structure. Otherwise you can move on to Fig-8 after verification.


Above is shown the file structure we will use for the GNS3 configuration. You can manually create the folder named IPexpert (C:\IPexpert). You will then need to create the folders as shown above in Fig-7 in the window to the right.


Now configure ISO images and Hypervisor. Click on Edit > ISO Images and hypervisors


Use the following steps for IOS Images:

  1. Image file: Select the image you have placed in the C:\IPexpert\images folder. You must have at least one image for the platform you will be using in the topology. (We are using C:\IPexpert\images\c3725-advipservicesk9.124-15.T6.bin) image.
  2. Choose Platform, this should match with the IOS image you provided in the previous step. (We used the 3725 image so will choose the 3700 platform)
  3. Choose the correct Model of your selected platform.
  4. Provide the IDLE PC value, if you have one. (We used 0x6271c1a0. For the 3725 with the selected IOS image above, this value has shown promising results. But you may find this not to work so be aware this may need to be adjusted).
  5. Select the Default RAM for the Platform. For best results use Cisco feature navigator to seek recommended RAM for the particular model. This model’s recommended RAM is 256 MB, but our experience has shown giving 128MB is sufficient. Our Topology uses 15 devices so using 128MB for each device, 128×15 = just shy of 2GB. So your laptop/PC should have a minimum of 3GB. With 4GB or more you will have smooth sailing.
  6. Put the check in Default Image for this platform. And Click Save.


Click on External hypervisor and duplicate the Settings as shown in Fig-10.

  1. Host
  2. Working directory c:\IPexpert\tmp

Note: Click Save at least 4 times to create 4 Hypervisors. You should see four instances when finished in the right window as shown above. Using four instances will make these settings optimal for Intel’s Core Ix processors, which support Hyper-Threading.

Click Close.

Configuring Preferences:


Click on Edit -> Preferences you will see a dialog box as shown in Fig-11

Click on General

Change Terminal Command to following line:

c:\progra~1\SecureCRT\SecureCRT.EXE /script c:\progra~1\gns3\securecrt.vbs /arg %d /T /telnet %p & sleep 1

Note: This setting is only required if you want to use SecureCRT as the default terminal software. SecureCRT is used in the CCIE exam. If you want to simulate the lab you can use the current version of SecureCRT without the use of tabs. We have found the benefit of tabs for doing practice labs far outweighs the benefit of duplicating the actual lab. Of course you will have your own opinion on this as well.

Note: The securecrt.vbs script used in the above command is provided with the IPexpert archive file you have downloaded with the pre-build structure.

An alternative to SecureCRT is PuttyCM: For those who believe in best breed of free software, there is one, PuttyCM. Details for this software installation and configuration are provided at the end of the document.

Using windows default Telnet Client: You do not have to use Secure CRT. But by default, Windows 7 does not install the Telnet Client. To install the Telnet Client go to the Control Panel > Programs and Features > Turn Windows features on or off > and select the Telnet Client. You may also use Putty or some other Terminal Emulation Software.

Last change the Project directory and Image directory settings as shown in Fig-11, then Click Apply.

Dynamips settings:


  1. Change the Working directory to C:\IPexpert\tmp
  2. Leave “Enable ghost IOS feature” and “Enable mmp feature” checked.
  3. Uncheck “Enable sparse memory feature”.
  4. Click Apply.
  5. Click Test. If everything works well you will see “Dynamips successfully started” in green as shown in Fig-12.

Note: this test will only be successful if you have completed all the steps and already have software that supports a telnet client.


If you want to use packet captures, which is supported by GNS3 with no extra software or settings, you can use the settings as shown above. You should have Wireshark or some other capture reader installed prior to configuring this. Instructions for this are beyond the scope of this document.

Define path for captured packets, C:\IPexpert\captures

Click Apply and OK to close this dialog box.

Loading the IPexpert Topology

We will load the IPexpert topology now to see how it all works. This topology is shipped with the zip file, and should be located in the folder “C:\IPexpert\projects\” if you used our file to create your folder structure.


Important Notes:

This guide recommends using GNS3 IPexpert topology on at least an Intel Core i”x” processor and we recommend a minimum RAM of 4GB for optimal performance.

When loading the topology, load a set of four routers at a time. Then login into those routers consoles and wait until you get to the exec prompt. Then load another set of four routers, and repeat these steps until you have successfully loaded all the routers.

On a Side Note:

Windows is not the optimal platform for running. When using GNS3 you will find x64 versions of Linux, like Ubuntu to better perform with the intense computing requirements of GNS3. These performance differences are easily noticed when comparing Windows to Linux. We highly recommended for serious GNS3 users to use Linux to run your virtual environment. The Linux version of this IPexpert guide can help you in setting up your environment even if you are not comfortable with running a Linux platform.

Putty Connection Manager

Putty is a nice terminal software, its freely available under GNU license. Putty can be downloaded from

Putty is a good alternative of SecureCrt if candidate cannot afford SecureCrt price. Only issue involved with Putty is lack of native support for Tabbed sessions. Fortunately this support can be added to Putty by software called Putty CM. This software can be downloaded from:

PuttyCM needs .net frame work, which can be downloaded separately if your computer doesn’t have it. Also site given above provide a setup which can download .net framework as part of installation, if one is missing.

Note: PuttyCM itself is not a terminal emulator software, instead its just a connection manager front end for putty. We need Putty to work as terminal software. Before proceeding for installation of PuttyCM, please download Putty and place it under c:\IPexpert\supporting files directory or any other directory you are comfortable with.

PuttyCM Installation:


Please click Next to initiate installation process. We will use default setting for installation.

After accepting license agreement we will reach above step, keep default settings and press Next.

This dialog box gives us a chance to select French version of PuttyCM along with full/compact and custom installation. Default is custom installation. Please click Next.

Click Next to finalize the setup.

Click Next to finish Installation.

When setup will be finished, and in case you have selected to launch the software, you will see following dialog box, which asks for location of putty software.


In case you have copied putty.exe file to c:\IPexpert\supporting files then navigate to that location and press ok, else provide the location you have selected other than above.

Note: It is very important that you must provide location for putty on first launch; failure to do so will create issues and may be you have to uninstall PuttyCM and reinstall it again.

Important: You should right click on PuttyCM icon and rut it as administrator for at least once; this will help to register some required registry key values.


This is the first screen of PuttyCM without any configurations.

PuttCM work with concept of database, it means you can setup PuttyCM once and saved that database. Then you can utilize that database again and again, and even on different computers if connection information for your devices don’t change.

Such a database/xml file is provided within shipped zip file.

GNS3 on Windows 7 The IPexpert Way, 4.1 out of 5 based on 14 ratings
Be Sociable, Share!

    34 Responses to “GNS3 on Windows 7 The IPexpert Way”

    1. Ralph says:

      Just a clarification for figure 12 above if installing on a Win 7 64 OS. The following path will need to be added for dynamips to work ….C:\Program Files (x86)\GNS3\Dynamips\dynamips-wxp.exe

      Great writeup. And thanks!

      VA:F [1.9.22_1171]
      Rating: 5.0/5 (1 vote cast)
    2. Mark Anthony says:

      Good job guys, I deeply appreciate this.

      Can you please do something like this on ASA on GNS3 0.7 on Windows 7 OS.



      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    3. Sam says:

      It’s great guide for people preparing for Cisco certifications. This will be very helpful for me as I am preparing for CCNP (Routing and Switching) exams.

      I would like to request the author to publish similar post for ASA and PIX using GNS3.

      Thanks – SAM

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    4. Deepak Arora says:

      Can you share how to connect Virtual PC to GNS router ?

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    5. Roland says:

      Great post! Really appreciated. What about the Initial Configs for Dynamips? Will they be released someday? Some sed scripting should do the job.

      VA:F [1.9.22_1171]
      Rating: 1.0/5 (1 vote cast)
      • Tyson Scott says:

        It is a simple fix to convert using sed. I will be honest that doing it is a ways out. If someone wants to do it I will give three free proctorlabs voucher for someone that wants to do it.

        VA:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
    6. Tyson Scott says:

      This will be part of a 5 part series. The next will be for running GNS3 on Linux.

      We will then do a Windows and Linux guide for a Security outline with VMware images and ASA’s or PIX (will have to see which is the most stable).

      Last will be one for a full 7200 router setup for the Service Provider Track.

      VA:F [1.9.22_1171]
      Rating: 5.0/5 (2 votes cast)
    7. Marcos says:

      I believe you will love this tip:

      Uncompressing IOS images make booting routers nearly instantaneous. (This is not a april fool’s prank).

      DO try this tip, you will reap lot’s. Remember to recalculate the Idle_PC timers.

      If you enjoyed the tip I’d love to win some CCIE R&S IPExpert material, hehehe

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:


        Thank you for the tip. But if you read the document you will find that this is already mentioned in the article.

        VA:F [1.9.22_1171]
        Rating: 5.0/5 (1 vote cast)
    8. Lucho says:

      Thank you Tyson.

      I have had issues with the 3725 and always go back to 3660 which require 128. I will attempt again with 3725/128K.

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    9. Carlos says:

      Is possible to emulate ASA on MAC GNS3?

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:

        To run the ASA you need either PEMU or QEMU. I am not aware of these being supported on the MAC currently. If anyone else knows please feel free to comment.

        VA:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
    10. Moses says:

      I have tried PuttyCM on Windows XP pro SP3, with latest Putty release 6.0 and didn’t work, sometimes i am able to open a session, sometimes not. PuttyCM open a session but outside the PuttyCM application.

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:

        Make sure you use the install for both. Many have run into this issue when you just use the executables without a full install. You will have to work around it for a bit now that you have run into the issue.

        VA:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
    11. Deepu says:

      You mention about the Linux version of this guide. Is it published yet?

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    12. Alosh says:

      Hello , Many thanks for this step by step Intro. I dont use gns3.

      I have a issue, when i telnet to my routers from Dynagen iam not able to see the Putty Connection Manager Instead
      i get the following error:

      Windows Cannot find c:\Program~1\PuTTy\puttycm.exe Make sure you typed the name correctly.

      I have installed putty installer and also placed puttycm in the following path c:\program files\putty\
      But when i manually start the Puttyconnection manager and console in everything works fine. Any suggestions.


      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:


        Your default telnet program cannot be set to puttycm.exe. I am not aware of a way to launch putty into tabs with PuttyCM. You will need to manually open CM and then launch each individual session.

        VA:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:


        The path would be
        Or if this is a 64 bit os

        VA:F [1.9.22_1171]
        Rating: 5.0/5 (1 vote cast)
    13. Alosh says:

      Thank You Tyson Scott, Regards.

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    14. Alosh says:

      I have uploaded a Video on How to add tabs to putty using Puttycm ,

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    15. rglauser says:

      Have you had any success emulating multiple ASAs? I am using GNS30.7.2 on Windows 7 64 bit and when I try to add a second ASA 8.0 to the lab configuration it fails.

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    16. pako says:


      Im new with GNS3 i installed it and downloaded the zip file, but when i configure it and add the images, i cant locate the images on the IPexpert image folder..

      Please help..

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Tyson Scott says:

        The images are not in the files that we have built. You will need to obtain the images yourself. If we provided them we would be breaking the Cisco License Agreement.

        VA:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
    17. D Young says:

      Awesome Job. Saved me a lot of time and money.

      Best Regards

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    18. James says:

      This is awesome. I also saw that you said you would be doing one for the CCIE Security. Have you been able to complete that and if so where can I download?

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    19. ulstr says:

      In previous post it is mentioned that there would be a guide for the following
      “Windows and Linux guide for a Security outline with VMware images and ASA’s or PIX”

      Was this ever published, if so I cannot find it anywhere. Any help is appreciated.

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
      • Fernando says:

        I’m looking for the security lab gns3 files/guide as well… any news?


        VA:F [1.9.22_1171]
        Rating: 0.0/5 (0 votes cast)
    20. Mahir Ali Ahmed says:

      Hi Guys,

      I have setup GNS3 in Win7 but I want to know is there any topology Diagram which match Vol1 on GNS3.


      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    21. Rondy says:

      Is there an error with the the IPExpert file? I’m checking the router to switch connections and they don’t seem to match up.

      Based on the layer 2 connectivity diagram,
      Cat1 should have 5 connections to routers
      Cat2 should have 8 connections to routers
      Cat3 should have 2 connections to routers
      Cat4 should have 4 connections to routers

      Based on Base Connectivity Diagram,
      Cat1 has 6 connections to routers
      Cat2 has 8 connections to routers
      Cat3 has 2 connections to routers
      Cat 4 has 4 connections to routers

      Can you please verify which is correct, thanks.

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)
    22. okna katowice, okna kielce, okna szczecin, okna sosnowiec, okna wejherowo, okna opole, rolety…

      [...]GNS3 on Windows 7 The IPexpert Way[...]…

      VA:F [1.9.22_1171]
      Rating: 0.0/5 (0 votes cast)

    Leave a Reply