Using GNS3 as a Switch

Vivek Nayyar May 5, 2011 1

One of the biggest drawbacks that GNS3 has is that it supports only the IOS images of routers. This means that users cannot emulate Cisco switches to practice for their certification examination or in lab environments. However, as the professionals know that some routers also offer functionalities of switches users can mount the IOS images that belong to those series of routers to use them as switches while using GNS3. Some additional configuration is required in order to make a router work as a switch though. If you want to use an IOS image of a router as a switch in GNS3 you need to follow the steps given as below:

  1. Logon to the computer and open GNS3 console window.
  2. Assuming that you have already mounted an IOS image on to the console, drag the icon of the router from the left pane of the console window and drop it into the middle frame or workspace.
  3. Right click on the newly dragged router icon and from the menu click on Configure option.
  4. On Node configurator box click on the name of the router from the list in the left pane and from the right pane go to Slots tab.
  5. Under Adapters section, from the available drop-down list choose NM-16ESW.

    Use Router IOS Image as Switch

  6. Click on Ok button once you are done with the configuration.

Note:

In this demonstration IOS image of 3640 series router is used. The number of available slots may differ while using different IOS images. However concept will remain the same for every image.

One Comment »

  1. aaaa July 16, 2012 at 4:55 pm - Reply

    Replace GNS3 with Dynamips. Dynamips provides emulation, GNS3 is just an UI over it and other stuff.
    Nobody is working on improving Dynamips ATM, GNS3 devs hack it sometimes but nothing substantial.

Leave A Response »