How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (2024)

Amazon Web Services is currently experiencing an outage that may impact your experience on the Cybrary application. We apologize for any inconvenience and will be monitoring this situation closely

January 21, 2020

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (68)

Parvez Ahmed

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (69)

GNS3 (Graphical Network Simulator-3) is a network simulator software used to simulate routers, switches, and other networking devices, and it runs on Cisco IOS. Cisco uses proprietary software called Cisco IOS for its routers and switches. GNS3 does not include any Cisco IOS in its default installation since Cisco IOS has copyright laws to protect it. It only facilitates a platform to use Cisco IOS but does not provide any Cisco IOS itself; if someone wants to use any Cisco device in GNS3, they must install that device’s IOS first.

This blog is for the users who want to simulate the router environment in GNS3VM irrespective of the vendors (Cisco, Juniper, etc.) The previous blog explained how to install and configure the GNS3 VM. The blog also discusses how to configure a device through a template (from GNS3 Marketplace). In this blog, the following three parts will discuss the installation process:

A) Downloading Cisco IOS As previously discussed, we must have an IOS file to install a Cisco device in GNS3. We can either get the file from a Cisco device or download it from Cisco’s official website (which requires a valid Cisco account and license agreement) or from an educational website.

http://tfr.org/cisco/

The abovementioned link directs to a Google directory which has the largest collection of Cisco IOS files.

B) Installing Cisco IOS in GNS3 It is possible to install a device on the GNS3 Virtual Machine(VM) that is not available in GNS3 Marketplace (CISCO IOS). GNS3 has a feature called Dynamips which allows users to install (CISCO IOS) images and emulate the router environment. To perform router installation, we must have an IOS image.

Let us install router C-3640 on GNS3 now.

STEP 1: Open the GNS3 VM. Navigate to Edit > Preferences > Dynamips > IOS routers.

STEP 2: Click on the “New” button and select “New Image”.

STEP 3: Select the downloaded image of the router to install on GNS3 VM by clicking on “Browse”. Click on “Yes” to decompress the image.

Note: By default, IOS files are compressed but GNS3 supports both compressed and decompressed file formats. Compressed files consume less space and are easier to manage.

STEP 4: Verify the file path and click on “Next”.

Note: If the selected IOS file is for an outdated device, the wizard may display a warning message.

STEP 5: Now it will extract hardware information from the selected IOS file and list information in the next window with a device name. If the information is incorrect, the correct platform or chassis number is shown from the dropdown menu and can be selected. The device’s name can also be changed if needed.

STEP 6: Now assign memory (RAM) to the device and click on “Next”.

Note: 256MB of memory would be enough for simple operations but if unsure about how much RAM is required,click on the “Check for minimum and maximum RAM requirement” link available on the screen.

STEP 7: If the selected IOS belongs to a modular device, the following screen will ask the user to install the interfaces in available slots. Select from the list and click on “Next”.

STEP 8: The next screen allows the user to install WIC interfaces in WIC slots if the selected IOS belongs to a device that has WIC modules. Select from the list and click on “Next”.

STEP 9: Now click on the “idle PC-finder” button to allow GNS3 to input the value automatically and use it.

Note: Idle-PC value operates to prevent the device from utilizing 100% CPU.

STEP 10: Click on “Finish” to complete the installation and close the window.

C) Using the installed device To use the installed *Router-3640 *device, follow these steps:

STEP 1: In the GNS3 GUI application window, click on the “Browse all device” menu button.

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (70)

STEP 2: Select the router and drag it to the workspace area.

STEP 3: Click on the “Run” button or navigate to the “Control menu” and click on “Start/Resume all the devices” to run the device

STEP 4: Right-click on the device and select “Console”. Afterward, a window appears where one can configure the device according to the user’s needs. All the IOS commands are run on this window to configure the device.

Start learning with Cybrary

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (71)

Create a free account

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (72)

Related Posts

All Blogs

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (73)

Building a Security Team

June 27, 2023

Digital Forensics and Incident Response: What It Is, When You Need It, and How to Implement It

A quick guide to digital forensics and incident response (DFIR): what it is, when it’s needed, how to implement a cutting-edge program, and how to develop DFIR skills on your team.

Read More

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (74)

Building a Security Team

June 28, 2023

How to Build a Red Team

An overview of what a red team is (and isn’t), and practical tips on how to build a Red Team and develop offensive security skills in your team.

Read More

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (75)

Tools & Applications

June 7, 2023

How to Make the Most of Blending Learning with Cybrary Live

Learn how to get the most from your cybersecurity training platform by blending on-demand learning with virtual, live courses led by industry experts.

Read More

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (76)

News & Events

June 7, 2023

Introducing the New Cybrary Learner Experience

Cybrary is launching a key update to the Cybrary Learner experience to elevate hands-on learning and measurement as guiding tenets of Cybrary’s mission.

Read More

How to Install a Cisco (IOS) Router On GNS3 VM | Cybrary (2024)
Top Articles
Latest Posts
Article information

Author: Kieth Sipes

Last Updated:

Views: 5819

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Kieth Sipes

Birthday: 2001-04-14

Address: Suite 492 62479 Champlin Loop, South Catrice, MS 57271

Phone: +9663362133320

Job: District Sales Analyst

Hobby: Digital arts, Dance, Ghost hunting, Worldbuilding, Kayaking, Table tennis, 3D printing

Introduction: My name is Kieth Sipes, I am a zany, rich, courageous, powerful, faithful, jolly, excited person who loves writing and wants to share my knowledge and understanding with you.