Cisco – Dynamips and Dynagen install on Linux
Posted by Josh on Tue 24 Apr 2007Categories: Cisco , Cisco Routers , Dynamips , Linux , virtualization - [32] Comments
This tutorial demonstrates the installation of dynagen and dynamips on a Linux server.
"Dynamips is a Cisco router emulator written by Christophe Fillot. It emulates 2691, 3620, 3640, 3660, 3725, 3745, and 7206 hardware platforms, and runs standard IOS images. " – dynagen.org
Please visit dynagen.org for the official tutorial.
Click Image to play tutorial:

April 25th, 2007 at 7:48 pm
thanks u very much
May 11th, 2007 at 1:36 am
This software is awesome. 2 FAQ’s though:
1. How would you upgrade the flash and memory in the simulator? This is required for some IOS’s
2. If I wanted to put 2x IOS’s on the flash how would the simulator let me do that?
Thanks
May 11th, 2007 at 4:09 am
You are the man
May 11th, 2007 at 7:25 am
Upgrading the memory in the Emulator is as simple as changing the ram option in the .net configuration file. To upgrade the flash, you would just need to specify a different size with the ‘dd’ command.
If you want to practice copying images to the flash, you would first need to format the flash inside the router … I believe the command is ‘format flash’ or ‘format disk0′. Then, you should be able to store images in flash.
May 27th, 2007 at 1:25 am
[...] Cisco – Dynamips and Dynagen install on Linux [...]
June 17th, 2007 at 8:38 am
[quote]I believe the command is ‘format flash’ or ‘format disk0′.[/quote]
Isn’t the “:” required after device name, As in “format flash:” ?
September 5th, 2007 at 12:13 pm
When I follow all step by step instructions for installing Dynamips on Ubuntu and at the end when I run it I get a “No such file or directory”
Can you help with this?
September 6th, 2007 at 8:30 am
What command did you type just before getting this error message. Here are a couple blind guesses as to what might be the problem…
1) You are signed in as root with the sudo -i command in Ubuntu or “su -” in Redhat Based systems.
2) When you created the symbolic link for dynamips or dynagen, you did not create the link in the correct directory.
September 14th, 2007 at 8:50 pm
[...] Cisco – Dynamips and Dynagen install on LinuxThis tutorial demonstrates the installation of dynagen and dynamips on a Linux server. [...]
September 15th, 2007 at 5:47 am
thanks for this tutorial, really helps to get me started.
September 25th, 2007 at 4:31 pm
When instaling on ubuntu you may have to type sudo before running all of the commands during the installation process.
October 4th, 2007 at 3:04 am
Can I run this on Gentoo? This is one of the most stable flavours of Linux out there.
October 4th, 2007 at 9:36 am
Yes, it should work on Gentoo.
October 8th, 2007 at 6:25 am
Thanks for letting me know. As Im running Quad-Core Q6600, I need 64-bit support. I just checked and Im not sure about the stable versions for Gentoo. Ubuntu seems like a good choice seeing as its being used on the excellent tutorials. So I will look at a server version.
November 7th, 2007 at 8:36 am
Vot Kozli, za vse bablo xotyat snayt.SCYKI
November 8th, 2007 at 8:28 pm
Hi, is it necessary to do a “idlepc get R1″ for each router? I just did it for two routers in the same lab, what is the difference?
Thanks
December 13th, 2007 at 10:45 pm
Hi , Thanks a ton.. Worked like a charm… Can you please tell me how to install putty.. i tried to uncompress it and install its not workin i guess. Plz help !!
January 3rd, 2008 at 9:54 am
Can i run this on Damn small linux 4.2.1.by the way very nice tutorial thanx bro.
January 3rd, 2008 at 4:50 pm
I have never tried this with dsl, but I don’t see why it wouldn’t work…
February 8th, 2008 at 10:03 am
When I try to run dynagen simple1.net, I get the following error message….
Traceback
file /usr/bin/dynagen, line 23, in
from console import Console
ImportError: No module named console
Have you ever seen or heard of this type of error message? What can I do to correct this? Thanks for the tutorial, it’s great.
February 8th, 2008 at 10:14 am
Here is a post on hacki.at dealing with this issue…
http://7200emu.hacki.at/viewtopic.php?p=4222&sid=d4806cb5ad1c3928f2c435dc1f2b5cdf
February 9th, 2008 at 2:41 am
Hi,
Wanted to install Dynamips on Ubuntu for IE labs..i am new to Unix so which Ubuntu will be good Server of Desktop..for Dynamips for IE labs..Does any tried plz reply with steps.
Regards, /Kiran
February 19th, 2008 at 8:41 am
Thanks. Very good tutorial.
April 25th, 2008 at 2:42 am
thanks u very much
June 12th, 2008 at 10:06 pm
Thank.It is a great tutorial.
July 19th, 2008 at 2:50 am
I am feeling its very slow on windows vista. Please let me know can i used on linux and what is the performance on linux. One more query when the switches will be implemeneted in GNS3.
March 13th, 2009 at 4:17 pm
Thanks you very much .
July 14th, 2009 at 11:14 pm
Dynagen starts up fine, but when I do dynagen simple1.net I keep getting all these hex numbers constantly loading on the screen and they never stop, looks something like this:
MIPS64 Registers:
zr ($ 0) = 0×0000000000000000 at ($ 1) = 0×0000000000000000
v0 ($ 2) = 0×0000000000000008 v1 ($ 3) = 0×0000000000408103
a0 ($ 4) = 0×0000000000000002 a1 ($ 5) = 0×0000000000000000
a2 ($ 6) = 0×0000000000000000 a3 ($ 7) = 0×0000000000000000
I have to kill the dynagen process to stop it from going, any ideas?
July 15th, 2009 at 12:24 am
nevermind, tried another ios and worked
Cheers !
November 2nd, 2009 at 2:12 pm
Its really good tutorial and thanks for the efforts.
November 4th, 2009 at 9:27 pm
Thk, good tutorial, by other hand, i need help, need to upgrade NVRAM size of router, What can I do?
minimum: DRAM / Min Flash 256 / 48
January 11th, 2010 at 12:43 pm
Grear video!!!!
But why did you have to crash the IOS if you also had a couple IOS’es that worked?