Practice Cisco router configuration using a free emulator

http://www.techrepublic.com/blog/networking/practice-cisco-router-configuration-using-a-free-emulator/419
What is the Graphical Network Simulator?

A new open source project that helps improve on Dynamips is the Graphical Network Simulator (GNS). Linked to Dynamips and Dynagen, GNS3 is available precompiled for Windows, and the source is available if you want to run it on Linux or Mac OS X.

The GNS3 Windows all-in-one installation package includes Dynamips, WinPCAP, and GNS3. Let’s walk through installing and using GNS3.

First, I downloaded the GNS3 Windows all-in-one package and installed it. To install WinPCAP, I did have to reboot my PC. Once installed, I ran GNS3 from the desktop icon the installation process created.

This brought up a nice GUI interface that was similar to some of the Cisco IOS simulators I’ve seen. I was able to quickly create a sample network by dragging and dropping router icons and then connecting them with the Connection tool. Figure A offers a screenshot of what it looked like.

After creating the network, I did have to add my IOS images because GNS3 didn’t provide them. To add IOS images, go to Edit | IOS Images and Hypervisors. Figure B shows a screenshot of what it looked like after I finished.

Next, I started the Dynamips Emulator by go to Preferences | Dynamips and clicking Test. Figure C offers a screenshot.

From here, I could configure the specifications for the router — amount of RAM, Flash, cards in slots, and configuration-register. Next, to use the network, click the Emulation Mode button.

Once in Emulation Mode, click the Play button to start the IOS instances of all routers. Figure Doffers a screenshot.

This launches a console for each router, and it boots up the routers, as shown in Figure E.

Figure E

As you can see, just like a real test lab with multiple routers, I was able to configure these two routers to communicate with each other by configuring IP addressing, enabling the interfaces, and configuring a routing protocol. Figure F shows how I configured basic RIP routing and how the router received a RIP route from the other router.

Figure F

 

While I recommend building your own lab so you can get a better understanding of how it works, there are also some sample labs available when you install Dynagen. I’ve also seen some sample labs and an entire CCIE commercial lab workbook, all based on using Dynamips, on the Internetwork Expert Web site.

Conclusion

The ability to run multiple routers inside your PC is very useful for testing and training. It can save you the time and trouble from having to invest in a test Cisco network, and it certainly makes it more convenient. I hope that by trying and using GNS and Dynamips, you can become a better Cisco network administrator.

 

Jan D.
Jan D.

"The only real security that a man will have in this world is a reserve of knowledge, experience, and ability."

Articles: 675