Johanns Sani-GREGORIAN

No Code
  • rss
  • Home
  • About
  • Gallery
  • Projects
  • Music

Cisco 26xx/36xx/72xx Router Simulator (Windows)

admin | May 29, 2007

UPDATE: I highly recommend anyone interested in Dynamips to check-out GNS3 (Graphical Network Simulator). It’s designed around Dynamips, Dynagen, and Pemu. Cisco IOS/PIX binary images not included! :)

Link: http://www.gns3.net/

—

Dynamips is a Cisco router emulator. It support various Cisco 2600, 3600, 3700, and 7200 series router models.

Dyangen is a front-end for Dynamips router emulator. It utilizes Dynamips’ Hypervisor mode to make lab simulation management very easy.

Installing / Running Dynamips and Dynagen on Windows (XP, 2003, Vista):

  • Install WinPcap 4 (Windows Packet Capture Library) from WinPcap.org (link to auto-installer).
  • Install the latest version of the Dynamips/Dynagen “package” installer from SourceForge.
    NOTE
    : April 29th, 2007 build is labeled: dynagen-0.9.2_dynamips-0.2.7-RC3_Win_XP_setup.exe

NOTE: Users with Vista UAC enabled may encounter issue(s) when trying to run Dynamips/Dynagen. Solutions:

  1. Disable UAC! ;)
  2. Run the Dynamips server and Dynagen as Administrator; however, you must first modify the “dynamips-start.cmd“, “dg-local.cmd“, and “Network device list.cmd” script files, located in the DynMIPS installation folder:
    (e.g.:
    Before
    : start /belownormal /B /wait “Dynamips” “dynamips.exe” -H 7200
    After
    : start /belownormal /B /wait /D “\Program files\Dynamips\” “Dynamips” “dynamips.exe” -H 7200
    )
    UPDATE: Check my next blog entry to download the updated startup scripts (.cmd) files.

Quick Start:

The Dynamips/Dynagen installation provides a number of samples to help you get started. The Windows installer places shortcuts to the samples folder on the Desktop and the Start-menu. You can also start any Dynagen lab file (these are files with .net extension) from the Windows shell or a command-prompt [e.g.: dynagen <lab-filename>]. But, before you do start a lab simulation, you must edit the sample lab file to specify the location of the Cisco IOS image that Dynamips should boot.

(e.g.:
- Navigate to Simple1 located in Dynamips samples folder (default: \Program Files\Dynamips\sample_labs\simple1)
- “Open with…” Notepad (or WordPad) Simple1.net
- Locate the following line:

image = \Program Files\Dynamips\images\c7200-jk9o3s-mz.124-7a.image

- Replace the path/filename with a valid Cisco IOS file location (e.g.: image = C:\labs\bin\c7200-is-mz.124-13b.bin)
NOTE:
SmartNET customer can download IOS images from Cisco (http://www.cisco.com/public/sw-center/).
)

Booting:

  1. Start Dynamips server (Start -> Dynamips -> Dynamip server)
    …or
    Run: dynamips-start.cmd (located in Dynamips installation folder)
    NOTE: Dynamips installation is setup to bind localhost:7200 (TCP); be sure to allow connections on this port.
  2. Start the lab simulation by opening (double-click) the lab file (e.g.: Simple1.net) from Windows shell

Dynamips/DynagenBy this point, you should see two console application windows (see image on the left). You can control the status of your emulated router by entering commands into the Dynagen application prompt (i.e., =>).

Dynagen basic commands: help, list, console, start, stop, suspend, resume, exit

Most commands require that you supply a router name (as shown by the list command), or the /all parameter to apply the desired command to all emulated routers (e.g.: start Router1 -or- start /all).

To access the console port of your emulate router, use the console command (syntax: console <routername> -or- console /all).

Links:

Dynamips: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator

Dynagen: http://dynagen.org/

Winpcap: http://www.winpcap.org/

Categories
networking
Tags
cisco, emulator, ios, vista
Comments rss
Comments rss
Trackback
Trackback

Dynamips + Vista + UAC »

19 responses

Dear Mr Johan Thanks for information link dynamips simulator. Now I

kie | July 2, 2007

Dear Mr Johan
Thanks for information link dynamips simulator. Now I have dynamip software in WINRAR.
unfortunely, i don’ t understand how install it. Can you pls give me how to step by step for install it.

regard
franky

Hi, I tried the steps u mentioned here for Vista. But

Ankit | July 17, 2007

Hi,

I tried the steps u mentioned here for Vista. But i am getting error as below

Error: Could not connect to server: localhost

Also i am having AMD processor does it make difference for setup file. Please help me for this.

Hi Ankit: The messages usually means that dynamips server is

admin | July 17, 2007

Hi Ankit: The messages usually means that dynamips server is not running. So, before you can execute/start a lab simulation, you must that dynamips server is running (which is a console (”DOS”) window; take a look at the images attached to this article).

Now, if the server is running, and you have UAC and Firewall enabled, they are most likely your suspects; as UAC will blocks proper execution of dynamips code, and the firewall blocks the default port used (TCP:7200).

I’m also assuming that you’ve used the dynagen installation package.

To resolve (assuming Vista with UAC enabled):

1: Give your user Full permission over the Dynamips installation directory (make sure to replace the permission for sub-directories as well).

2: You need to perform a little surgery on the batch files (.cmd) in the dynamips folder. I’ve posted the modified files here:

http://jsani.com/blog/wp-content/uploads/2007/06/dynamips-startup-scripts.zip

3: Run Dynmaips server as Administrator (either by modifying the shortcuts, or the right-click -> Run As Administrator process).

By the way, I doubt that your AMD CPU is at fault here (unless, your dynamips server is crashing, in which case, you’ll need to report the problem to its developer).

I hope this helps (if not, just ping me back with more info).

Johans

Hi Johan, Thanks for reply. I am the administrator and have

Ankit | July 18, 2007

Hi Johan,

Thanks for reply. I am the administrator and have full permision for the folder. I started the server and its running fine. But when i run the network device list i am getting error for Wincap file. I doubt it might be due to AMD processor. Please let me know is there any different exe file for AMD processor. If i need to contact the developer whom i should send an email for this.

Ankit

Ankit: I hope you've been able to resolve the issue

admin | July 23, 2007

Ankit: I hope you’ve been able to resolve the issue with the Network Device List utility (it’s been a few days since your messages); but, I’m certain the the problem is not due to your AMD processor. If you’re still experiencing issues, send me the exact message received.

Johans

Hi Mr. Johan, I have the same problem with dynagen. The

Dipal | August 7, 2007

Hi Mr. Johan,
I have the same problem with dynagen. The steps, youhave mentioned is been followed by me. But I get an error indicating ….could not connect to the server.
I am using windows xp system and dynamips is running as in administrator. I am new to ntworking field and new to all terms, so can you please help me solve this problem by giving explanations.
Thanks.
Dipal

Hi Guys can please help me as i did all

David | August 23, 2007

Hi Guys can please help me as i did all the installation but when comes to run i am getting an error message and when i press the enter key the of the network list close it self and the other one of dynagen.

the other thing that i don’t understand is do we just specify the the name of the image on the that notpad file or we have to download it and insert it in the the folder where we save the all lab thing .

thanks

david

Hi, I Just want to ask something. I'm having a difficulty

jaja18 | October 9, 2007

Hi,

I Just want to ask something. I’m having a difficulty in running the simulator because I don’t have any ios image. I am not authorized to download the ios from cisco site. Do you know where can i download an ios image aside from cisco site? thanks.

Hi Guys, I am running Windows Vista Home Preminum, I

Vincent | October 19, 2007

Hi Guys, I am running Windows Vista Home Preminum, I installed dynagen-0.10.1_dynamips-0.8.0-RC1 from sourceforge. But I keep getting this error when i attempt to run dynamips;
Cisco Router Simulation Platform (version 0.2.8-RC2-x86)
Copyright (c) 2005-2007 Christophe Fillot.
Build date: Oct 14 2007 10:54:51

ILT: loaded table “mips64j” from cache.
ILT: loaded table “mips64e” from cache.
ILT: loaded table “ppc32j” from cache.
ILT: loaded table “ppc32e” from cache.
12 [unknown (0x1B48)] dynamips-wxp 3932 _cygtls::handle_exceptions: Excepti
on: STATUS_ACCESS_VIOLATION
751 [unknown (0x1B48)] dynamips-wxp 3932 open_stackdumpfile: Dumping stack t
race to dynamips-wxp.exe.stackdump
Press any key to continue . . .

The stack dump trace is below
Exception: STATUS_ACCESS_VIOLATION at eip=75A121F4
eax=0481E4C0 ebx=00000000 ecx=00000000 edx=00000000 esi=0481E4C0 edi=00000000
ebp=0481E4A0 esp=0481E490 program=C:\Program Files\Dynamips\dynamips-wxp.exe, pid 3932, thread unknown (0×1B48)
cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
Stack trace:
Frame Function Args
0481E4A0 75A121F4 (00000000, 0481E4C0, 0481E4C0, 003193E0)
0481E5C4 75A12329 (00000002, 0481E5E0, 00000104, 00000000)
0481E5E8 75A1224F (00000002, 003193E0, 0481E60C, 00000104)
0481E614 75A340F8 (00000002, 00000000, 00000000, 0481E5D0)
0481E62C 75A3412A (00000002, 00000000, 0481E668, 0481E66C)
0481E684 75A32BFC (0481E6A4, 00000618, 00000000, 00321618)
0481E69C 75A3351B (00324D00, 00305988, 00321618, 0000041C)
0481E6B4 774B181D (00000618, 00305988, 00321618, 0000041C)
0481E8EC 762FA68E (00000618, 00305988, 00321618, 0000041C)
0481E924 763116EB (00305988, 00000618, 0481E96C, 303E9673)
0481E9E0 763105EA (0481EB40, 20008000, 0030C870, 00000618)
0481EA74 762FA618 (0481EB40, 00000618, 20008000, 0481EAA8)
0481EAD8 76338CD9 (0481EB40, 20008000, 00000000, 0481EB20)
0481EAF8 76338C3E (0481EB40, 20008000, 00000000, 0030C870)
0481EB14 763396D4 (0481EB40, 00000000, 00000000, 0481EB78)
0481EB54 7632E9D6 (00000000, 0000801C, 00000000, 00000000)
End of stack trace (more stack frames may be present)

Has anyone experienced this? please help

Sorry, I'm still running 0.9.2 on my Vista machine. It

admin | October 19, 2007

Sorry, I’m still running 0.9.2 on my Vista machine. It works great.

Hi, I am facing a problem with saving my running configurations

khan | November 10, 2007

Hi,

I am facing a problem with saving my running configurations in Vista, I changed priviles of Dynamips folder to give full permission to the user, still I cannot save my running config.

In IOS I get no erros with write mem
but when I stop and start the router, config is defaulting to whatever configuration is in network. initial folder.

Help is appreciated.

Hi, I am planning to buy a new Laptop (Dell

Rishi | December 1, 2007

Hi,

I am planning to buy a new Laptop (Dell 1520), 2GB RAM, Intel Core 2 Duo with Windows Vista Home Premium on it.

Is this configuration good for running DYNAGEN (6 38xx routers and 4 3500 switches)?

I came to know from my friends that Vista is not recomented for Dynagen. Is it True??

If I need to order the addtional RAM, Please advice.

Hi! i have installed dynagen on vista its working thanks. but

gaurav | December 8, 2007

Hi!
i have installed dynagen on vista its working thanks. but whenever i try to telnet any router and give the command like “telnet R1″ it shows the message “windows cannot find ‘telnet’ make sure you typed the name correctly,and then try again”.
can u plz. solve my problem thats will be a big favour to me thanks my email addr. is gauravgoyal022@gmail.com thanks very much again

Hey Johans, thanks for the detailed instruction, works great on

sepiraph@hotmail.com | December 27, 2007

Hey Johans, thanks for the detailed instruction, works great on my Vista!

Hi, Thank you for the file. Just I can´t create

Paola Gallegos | January 12, 2008

Hi, Thank you for the file. Just I can´t create a other session 7201 I can´t I tried to create it in the same way like in WinXp but I couldn´t ..can you help me.

Hi Does anybody has cisco image file. I am not Smartnet

Edwin | March 21, 2008

Hi

Does anybody has cisco image file. I am not Smartnet customer. Can somebody give me an image file pls ,for 7200 i will just want to use it for for my dynagen thankss..

Hello Mr.Johan I installed dynamip on my vista machine. I took

mabika lufuluabo | July 18, 2008

Hello Mr.Johan

I installed dynamip on my vista machine. I took a care about the recommandation that you defined.
Ereything is installed but once I tried to start dynamips server but it only started on TCP port 7200 not 7201. The results received from dynamip server and sample_lab internetworkexpert are below. Please, could you help me to fix this situation.

Cisco Router Simulation Platform (version 0.2.8-RC2-x86)
Copyright (c) 2005-2007 Christophe Fillot.
Build date: Nov 9 2007 09:54:39
ILT: loaded table “mips64j” from cache.
ILT: loaded table “mips64e” from cache.
ILT: loaded table “ppc32j” from cache.
ILT: loaded table “ppc32e” from cache.
Hypervisor TCP control server started (port 7200).
Shutdown in progress…
Shutdown completed.
Shutdown in progress…
Shutdown completed.

_______________________________

Reading configuration file…
*** Warning: Could not connect to dynamips server localhost:7201
*** Warning: Connecting R1 S1/0 to FRSW 1 resulted in:
nonexistent device FRSW
*** Warning: Connecting R2 F0/0 to SW2 F1/2 resulted in:
nonexistent device SW2
*** Warning: Connecting R2 S1/0 to FRSW 2 resulted in:
nonexistent device FRSW
*** Warning: Connecting R3 S1/0 to FRSW 3 resulted in:
nonexistent device FRSW
*** Warning: Connecting R3 S1/1 to FRSW 13 resulted in:
nonexistent device FRSW
*** Warning: Connecting R3 E0/1 to SW3 F1/3 resulted in:
nonexistent device SW3
*** Warning: Connecting R4 E0/0 to SW2 F1/4 resulted in:
nonexistent device SW2
*** Warning: Connecting R4 E0/1 to SW4 F1/4 resulted in:
nonexistent device SW4
*** Warning: Connecting R4 S1/0 to FRSW 4 resulted in:
nonexistent device FRSW
*** Warning: Connecting R5 E0/1 to SW3 F1/5 resulted in:
nonexistent device SW3
*** Warning: Connecting R5 S1/0 to FRSW 5 resulted in:
nonexistent device FRSW
*** Warning: Connecting R6 E0/0 to SW2 F1/6 resulted in:
nonexistent device SW2
*** Warning: Connecting R6 E0/1 to SW4 F1/6 resulted in:
nonexistent device SW4
*** Warning: Connecting R6 S1/0 to FRSW 6 resulted in:
nonexistent device FRSW
*** Warning: Connecting SW1 F1/7 to SW2 F1/7 resulted in:
nonexistent device SW2
*** Warning: Connecting SW1 F1/8 to SW2 F1/8 resulted in:
nonexistent device SW2
*** Warning: Connecting SW1 F1/9 to SW2 F1/9 resulted in:
nonexistent device SW2
*** Warning: Connecting SW1 F1/10 to SW3 F1/7 resulted in:
nonexistent device SW3
*** Warning: Connecting SW1 F1/11 to SW3 F1/8 resulted in:
nonexistent device SW3
*** Warning: Connecting SW1 F1/12 to SW3 F1/9 resulted in:
nonexistent device SW3
*** Warning: Connecting SW1 F1/13 to SW4 F1/7 resulted in:
nonexistent device SW4
*** Warning: Connecting SW1 F1/14 to SW4 F1/8 resulted in:
nonexistent device SW4
*** Warning: Connecting SW1 F1/15 to SW4 F1/9 resulted in:
nonexistent device SW4
*** Error: errors during loading of the topology file, please correct them
Press ENTER to continue

Thank you so much

Mabika

Hi, I have followed everything and i can see the =>

Siva | July 22, 2008

Hi,

I have followed everything and i can see the => prompt. However when i try to type console /all command, i get an error message ‘Windows cannot find telnet.make sure you type the name correctly and try again’.

Could u pls help me with this?

Thanks

Siva: The telnet client is not installed by default. Open

admin | July 24, 2008

Siva: The telnet client is not installed by default. Open “Programs and features” in Control Panel -> Choose “Turn Windows features on or off” -> Select “Telnet Client”!

OR

If you have PuTTY installed, you can modify the Dyngen config to launch it instead of telnet.exe.

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="">

 

May 2007
M T W T F S S
    Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Categories

  • development
  • howto
  • misc
  • networking
  • shoretel

Tags

.net c# c++/cli cisco cpp emulator geshi ios shoreware director shoretel installation vista windows profile cache domain account howto windows remote install

Blogroll

  • Howard Scholz
  • Will Sani

Company

  • Gearworx LLC
  • Veritix

Links

  • LinkedIn Profile
  • Register

Spam Blocked

1,569 spam comments
blocked by
Akismet
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox