Dynamips, Dynagen and GNS3 as a Best Free Tools for Cisco IOS Learning

Boson NetSim and Packet Tracer are two examples of good Cisco networks emulators. They provide you with an opportunity to build networks of switches and routers, interconnect them and deploy several features of IOS. Good enough for beginners, but they have a huge drawback – their IOS simulation is limited. It does not implement a real set of functions real IOS has on board.

Several years before, the only opportunity to play with IOS was interconnection of real Cisco switches/routers. I still consider it was and still is a best way to learn Cisco. Unfortunately, not many people have access to networking hardware and even if they have it, the hardware is usually quite old or outdated. It means that you can run old versions of IOS there.

There is another approach of getting access to operational IOS – running it on a virtual machine. Emulating router’s hardware is not a straightforward task – Cisco uses different architectures in their devices. However, the task was accomplished in Dynamips/Dynagen project. It emulates Cisco hardware in a way so you can real IOS images on top of it. It is suitable to support 3600, 3700 and 2600 series hardware. Both pieces of software are closely interrelated and running together, providing users with a robust CLI interface.

Do not be frightened – CLI is not the only way of controlling your Cisco virtual machines. The tools have a graphical interface – GNS3. GNS3 runs on the top of Dynamips/Dynagen packages and provides GUI for controlling every virtual machine, machines interconnection, their modules and graphical network topology representation. It simply does everything that other graphical simulators can do.

Installation.

Dynamips and Dynagen
Download Dynamips and Dynagen from here.
install them:

yum -y localinstall --nogpgcheck dynamips-0.2.8RC2-1.i386.rpm dynagen-0.11.0-1.fc9.noarch.rpm

GNS3
Download it from GNS3 project home page and install it. Installation requires Python and python qt4 bindings.

yum -y install PyQt4;
tar xzf GNS3-0.7RC1-src.tar.gz;
cd GNS3-0.7RC1-src;
python2.6 setup.py build;
python2.6 setup.py install;

After installation was complete, you can run GNS. You just need to set up path to dynamips and download some IOS images (for example, here. ) and enjoy vast opportunities given.