Sadikhov IT Certification forums: Installing Dynamips And Running Sdm Over It(added Video Tutorials) - Sadikhov IT Certification forums

Jump to content

  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Installing Dynamips And Running Sdm Over It(added Video Tutorials) Try it.Its best for practicing ccnp stuff at home

#1 User is offline   imvarun 

  • Member
  • PipPip
  • Group: Members
  • Posts: 94
  • Joined: 02-May 07

Posted 15 November 2007 - 07:44 PM

Before we start.I would like to mention the website containing detailed installation and usage tutorial is at hxxp://www.dynagen.org/tutorial.htm#_Toc176827644

Installation for dynagen on windows(a detailed description):

step 1:visit hxxp://www.dynagen.org/tutorial.htm for the official dynagen tutorial. following lines are copied from the tutorial..

Dynagen runs on any platform that supports Python, which is to say nearly any platform. I have also put together a Windows installer package that includes Dynamips and provides a compiled version of Dynagen, eliminating the need to install Python. It also provides Explorer “integration” so you can double-click on network files in order to run them.

First, install libpcap, or winpcap depending on your platform on the machine on which you intend to run Dynamips. This is used to provide bridging router interfaces to physical network cards. Windows users will need to install Winpcap 4.0 or later, which is current in beta.

Then, Windows users should install the Windows installer package. This provides everything you need to run Dynamips / Dynagen on local or remote machines.

You can download winpcap from hxxp://www.winpcap.org/install/default.htm

step 2:download dynagen from here: hxxp://sourceforge.net/project/showfiles.php?group_id=160317&package_id=192619

step 3:after installation look into the folder where it was installed.You will see a file named "dynamips-start.cmd".Start the file.This will open the server.Note : keep this window open when you run any of your .net files and do not close it till you are done!

step 4:run a sample lab.set the application file(.net file) to run with dynagen i.e
rightclick->open with->choose program->browse and select "dynagen.exe" from the folder in whch it was installed

Now the routers in the lab will be opened.

To run sdm:

step 1:create a microsoft loopback adapter as described at:
hxxp://www.microsoft.com/technet/prodtechnol/virtualserver/2005/proddocs/vs_operate_using_loopback.mspx?mfr=true

step 2:goto control panel->network connection...You shall see your loopback adapter created.Go ahead and enable it by right clicking on it.

step 3:open the file named "Network device list.cmd" from the installed directory of dynagen.

step 4:you will see your loopback appear it also its address will appear(like NIO...)

step 5:copy this address and paste it in your .net file and bind this address to an interface of the router that you want to run(either from sample lab file or your own).Note: the .net file can be opened using notepad also(other than dynagen) to edit the topology.The binding process is well described in the tutorial page under the "Communicating with Real Networks" section.

step 6:open the router console enter the following commands:

-username name privilege 15 secret password
-ip http server
-ip http authentication local
-ip http secure-server
-line con 0
-login local
-line vty 0 4
-privilege level 15
-login local
-transport input telnet ssh
-line vty 5 15
-privilege level 15
-login local
-transport input telnet ssh

step 7:Use the correct ip address at the interface bound to loopback adapter.Also,goto control panel->network connection->rightclick on loopback adapter->properties->
tcp/ip settings->set the correct default gateway and i address.

step 8:from router ping the loopback adapter(Note:this has to be done 1st) and ping the router from "run" .(it should work)

step 9 :start the sdm (popup blockers on web browser should be disabled
also note you will need to download the ios for the router and specify the path for the ios in the .net file(usage is again showed in the tutorial).

Imp Note:on some ios dynagen(that is..even some that are ios for cisco isr line of routers) will not enable the firewall,ips and nac options will not be enabled.you can use the "c3725-adventerprisek9-mz.124-17.bin".I have uploaded this at:

hxxp://www.[nofileshares].com/file/29707795/a2729199/c3725-adventerprisek9-mz124-17.html

For your convenience i have given a sample topology below..You can directly paste this stuff in a .NET file(but change the location of the ios file)...have a look!

###Toplogy begins###
[localhost]

[[3725]]
image = \Program Files\Dynamips\images\c3725-adventerprisek9-mz.124-17.bin
model = 3725
ghostios = True
sparsemem = True
mmap = True
autostart = False
ram = 128
idlepc = 0x60a6808c

[[Router R1]] #this is the router with name R1.Note:this is not the hostname..its the name dynagen uses to refer to this rtr
model = 3725 #model of the router specified based on ios
console = 3725 #use diffierent console port for each router
slot1 = NM-4T #slot 1 has 4 T1 ports.Look under "Hardware Currently Emulated" section in tutorial for possible usages
slot2 = NM-1FE-TX #slot 2 has 1 Fast ethernet port
s1/0 = R2 s1/0 #connecting serial 1/0 of R1 to serial 1/0 of Router R2
#f2/0 = SW1 1 #connecting f2/0 to 1st port in switch sw 1(this statement is commented,so,it will not execute!You can
enable it when you change the loopback info below as per listed in you network devices list.)

[[Router R2]]
model = 3725
console = 3727
slot1 = NM-4T
slot2 = NM-1FE-TX
s1/1 = R3 s1/1

[[Router R3]]
model = 3725
console = 3726
slot1 = NM-4T
slot2 = NM-1FE-TX

[[ethsw SW1]] #followin is the config for an ethernet switch named SW1
1=access 1 #1st port of the switch is access port in vlan 1
#2= access 1 NIO_gen_eth:\Device\NPF_{8D2CDA83-7BB8-4335-B8AE-311AD828AB07} #connecting the loopback.

###Topology Ends###

I have also uploaded a few video tutorials(you need to have a flash player for these.Try playing from your internet browser by directly entering the location of the file(after downloading the following videos) in your local hard drive:

1) How to install dynamips on Windows: hxxp://www.[nofileshares].com/file/29758696/aa3a3532/dynagen-all.html

2) Connecting to a Windows Loopback Interface: hxxp://www.[nofileshares].com/file/29758866/273c04f7/dynagen-loopback.html

3) How to Connect Dynamips to a physical network(Wan connectivity): hxxp://www.[nofileshares].com/file/29759048/441d7daf/dynagen-static-routing.html

Note: Posted Link on this Topic has been Authorized by the Moderators

This post has been edited by imvarun: 24 November 2007 - 07:17 AM

0


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

Other Replies To This Topic

#2 User is offline   certmagic 

  • V.I.P. Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1603
  • Joined: 05-November 06

Posted 15 November 2007 - 07:46 PM

Gr8 !!

You re the man !! i will try to simulate this too !

This post has been edited by TubigSuwah: 21 November 2007 - 03:00 PM

0

#3 User is offline   Alvaro Perez Unzueta 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 39
  • Joined: 19-September 07

Posted 16 November 2007 - 02:41 AM

i've installed SDM with dynagen using IOS 7200 4 months ago and i've configure my ACS using virtual machine the last saturday :rolleyes:
0

#4 User is offline   imvarun 

  • Member
  • PipPip
  • Group: Members
  • Posts: 94
  • Joined: 02-May 07

Posted 16 November 2007 - 04:08 AM

View PostAlvaro Perez Unzueta, on Nov 16 2007, 02:41 AM, said:

i've installed SDM with dynagen using IOS 7200 4 months ago and i've configure my ACS using virtual machine the last saturday :rolleyes:

well then go ahead and create gre over ipsec tunnels and configure and vpn remote server and run the client on a host to access the other side of the tunnel :rolleyes:
0

#5 User is offline   deschil 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 10
  • Joined: 03-November 07

Posted 17 November 2007 - 07:55 PM

I DONT KNOW WHETHER I CAN PUT THIS HERE OR NOT, AM SORRY IF AM WRONG

Hi imvarun,
i followed the procedure which you said, but am not able to install dynamips :wacko:

when i first run the dynamips server it comes like this:

http://allyoucanuplo...86916042_th.jpg


i created the microsoft loop back adapter then i tried to open ethsw1, which is inside the sample labs, i get this:



and now the first image turn like this:




please help me!!!!!!
0

#6 User is offline   deschil 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 10
  • Joined: 03-November 07

Posted 17 November 2007 - 07:56 PM

my other 2 pics were missing :wacko:
0

#7 User is offline   imvarun 

  • Member
  • PipPip
  • Group: Members
  • Posts: 94
  • Joined: 02-May 07

Posted 17 November 2007 - 10:58 PM

View Postdeschil, on Nov 17 2007, 07:56 PM, said:

my other 2 pics were missing :wacko:

well..i really have not understood ure question!!
0

#8 User is offline   deschil 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 10
  • Joined: 03-November 07

Posted 18 November 2007 - 06:16 PM

Hi IMVARUN, am sorry....

when is first run the dynamips server i got the following messages in a new command prompt:

Cisco Router Simulation Platform (version 0.2.8-RC1-x86)
Copyright ©xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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),

AND THEN WHEN I OPEN THE NETWORK DEVICES LIST, OR TRY TO OPEN ANY OF THE SAMPLE LABS, I GET THIS ERROR MESSAGE IN A NEW COMMAND PRO

Network adapters on this machine:
rommon_load_file: unable to create file c7200_i0_rommon_vars (No such file or di
rectory)
NIO_gen_eth:\Device\NPF_GenericDialupAdapter
Desciption: Adapter for generic dialup and VPN capture

NIO_gen_eth:\Device\NPF_{3B778F2B-0A0A-4C04-9C63-6C69008A2A40}
Name : LOOPFRONT
Desciption: MS LoopBack Driver

NIO_gen_eth:\Device\NPF_{B6B1477E-082E-4F11-8821-C6402B10F40C}
Name : LANorHIGH SPEED
Desciption: Broadcom NetXtreme Gigabit Ethernet Driver
Use as follows:
F0/0 = NIO_gen_eth:\Device\NPF_{...}
Press any key to continue . . .
MPT:

NOTE: i create the microsoft virtual adapter, status: limited or no connectivity

thanksinadvance for your help :rolleyes:
0

#9 User is offline   pacardoa 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 35
  • Joined: 16-July 07

Posted 19 November 2007 - 12:23 AM

using step 3, i encountered an error that wpcap.dll was missing or cannot find. what could be the problem?pls help tnx
0

#10 User is offline   imvarun 

  • Member
  • PipPip
  • Group: Members
  • Posts: 94
  • Joined: 02-May 07

Posted 19 November 2007 - 04:14 PM

View Postpacardoa, on Nov 19 2007, 12:23 AM, said:

using step 3, i encountered an error that wpcap.dll was missing or cannot find. what could be the problem?pls help tnx

thats coz u have not been thru step 1 !!!...you need to download winpcap...please visit the tutorial mentioned
0

#11 User is offline   imvarun 

  • Member
  • PipPip
  • Group: Members
  • Posts: 94
  • Joined: 02-May 07

Posted 19 November 2007 - 04:21 PM

View Postdeschil, on Nov 18 2007, 06:16 PM, said:

Hi IMVARUN, am sorry....

when is first run the dynamips server i got the following messages in a new command prompt:

Cisco Router Simulation Platform (version 0.2.8-RC1-x86)
Copyright ©xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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),

AND THEN WHEN I OPEN THE NETWORK DEVICES LIST, OR TRY TO OPEN ANY OF THE SAMPLE LABS, I GET THIS ERROR MESSAGE IN A NEW COMMAND PRO

Network adapters on this machine:
rommon_load_file: unable to create file c7200_i0_rommon_vars (No such file or di
rectory)
NIO_gen_eth:\Device\NPF_GenericDialupAdapter
Desciption: Adapter for generic dialup and VPN capture

NIO_gen_eth:\Device\NPF_{3B778F2B-0A0A-4C04-9C63-6C69008A2A40}
Name : LOOPFRONT
Desciption: MS LoopBack Driver

NIO_gen_eth:\Device\NPF_{B6B1477E-082E-4F11-8821-C6402B10F40C}
Name : LANorHIGH SPEED
Desciption: Broadcom NetXtreme Gigabit Ethernet Driver
Use as follows:
F0/0 = NIO_gen_eth:\Device\NPF_{...}
Press any key to continue . . .
MPT:

NOTE: i create the microsoft virtual adapter, status: limited or no connectivity

thanksinadvance for your help :rolleyes:

as of now your dynamips server is startin without any error as i can figur out from the output..you should not close this window and start a .net file using the dynagen exe file in the source directory.You should disable any other ethernet or internet connectivity while using the loopback for sdm...dont forget to restart you computer after you disable other network connections and enable your loopback
0

#12 User is offline   deschil 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 10
  • Joined: 03-November 07

Posted 20 November 2007 - 09:10 AM

oh ok, i will do it and let you know the results...thanksindeed
0

#13 User is offline   Unborn 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 27-January 07

Posted 21 November 2007 - 09:10 PM

Hi,

I came across these interesting links................... Hope this will help you guys.

If you are in lookout for sample labs or readily available .net files to be used with Dynamips, hope every one interested in Dynamips is ............. Then

This is the place to visit.

Quote

h**p://www.rasyid.net/2007/05/31/lab-topology-for-your-ccna-ccnp-ccie-or-just-playing-around/


Give a try for any help or discussion over here..........

Quote

h**p://7200emu.hacki.at/viewforum.php?f=8


If possible send a Thanks to Chris & Greg for developing & continuously improving this wonderful tool.
0

#14 User is offline   natoy 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 233
  • Joined: 11-August 07

Posted 21 November 2007 - 09:27 PM

@imvarun,

my friend, mind if I give another link as a help for Dynamips Installation and Configuration? I run thru this just right here at Sadikhov, and because of my excitement I forgot to see who posted the link here, and I hope others might be able to see it here just to lessen those Sadikhovers who always ask bout dynamips installations and configurations. and to that Sir Sadikhovan who originally post it here, I apologize if I didn't get your name :blush: . I'm just putting it here for I believe this is where it should be, and if not, dear Moderators you can freely move it.

here is the link and just click the image on the site and a video tutorial will be launched.

Quote

h**p://www.blindhog.net/cisco-router-emulation-software-dynamips-video-tutorial/

0

#15 User is offline   certmagic 

  • V.I.P. Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1603
  • Joined: 05-November 06

Posted 21 November 2007 - 09:31 PM

View PostUnborn, on Nov 21 2007, 03:10 PM, said:

Hi,

I came across these interesting links................... Hope this will help you guys.

If you are in lookout for sample labs or readily available .net files to be used with Dynamips, hope every one interested in Dynamips is ............. Then

This is the place to visit.

Quote

h**p://www.rasyid.net/2007/05/31/lab-topology-for-your-ccna-ccnp-ccie-or-just-playing-around/


Give a try for any help or discussion over here..........

Quote

h**p://7200emu.hacki.at/viewforum.php?f=8


If possible send a Thanks to Chris & Greg for developing & continuously improving this wonderful tool.



Pay my regards as well , i think this is a wonderful emulator and it is a valuable tool for all the aspirants !!
0

#16 User is offline   eightzero 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 08-February 07

Posted 23 November 2007 - 03:36 PM

Can someone teach me how to download the free SDM from Cisco, it always asked for username and password, i typed anonymous and my email as password but still it keeps on asking me to login? Can somebody help?
0

#17 User is offline   certmagic 

  • V.I.P. Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1603
  • Joined: 05-November 06

Posted 23 November 2007 - 03:40 PM

View Posteightzero, on Nov 23 2007, 09:36 AM, said:

Can someone teach me how to download the free SDM from Cisco, it always asked for username and password, i typed anonymous and my email as password but still it keeps on asking me to login? Can somebody help?

not required to type wrong username and password , you got to have proper CCO Login otherwise you cant open the software download page,

the sdm is already shared in the section and other IOS ..( I guess it is done by tyroon007)

try searching
0

#18 User is offline   sahni1982 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 15-November 07

Posted 23 November 2007 - 06:25 PM

Hi varun,

Thnx for sharing wonderfull resource...
I was trying to installl it yesterday night. but din't get it successfully.

I installed winpcap, and the patcher. I just want to confirm tht if sdm is also required to installl...I havn't installed tht and evn download tht.
0

#19 User is offline   imvarun 

  • Member
  • PipPip
  • Group: Members
  • Posts: 94
  • Joined: 02-May 07

Posted 24 November 2007 - 04:45 AM

View Postsahni1982, on Nov 23 2007, 06:25 PM, said:

Hi varun,

Thnx for sharing wonderfull resource...
I was trying to installl it yesterday night. but din't get it successfully.

I installed winpcap, and the patcher. I just want to confirm tht if sdm is also required to installl...I havn't installed tht and evn download tht.

well..sdm is not a requirement..its just a wizard that you use to configure routers in an easy way...its in no way related to being a requirement for the dynamips installation
0

#20 User is offline   debs_net 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 11
  • Joined: 13-July 07

  Posted 04 December 2007 - 07:54 PM

:unsure:

Dear Varun,

whenever i am starting simple1.net configuration,I see these outputs

1.for Network device list



Network adapters on this machine:

rommon_load_file: unable to create file c
rectory)
NIO_gen_eth:\Device\NPF_GenericDialupAdap
Desciption: Adapter for generic dialup a

NIO_gen_eth:\Device\NPF_{1BAC6A12-07B2-44
Name : Local Area Connection
Desciption: Intel® PRO"



Use as follows:
F0/0 = NIO_gen_eth:\Device\NPF_{...}


Press any key to continue . . .

2.For Dynamips Server


Cisco Router Simulation Platform (version 0.2.8-RC1-x86)
Copyright © 2005-2007 Christophe Fillot.
Build date: Sep 7 2007 17:17:20

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.
rommon_load_file: unable to create file c7200_R1_rommon_vars (No such file or di
rectory)
rommon_load_file: unable to create file c7200_R2_rommon_vars (No such file or di
rectory)
CPU0: carved JIT exec zone of 16 Mb into 512 pages of 32 Kb.
NVRAM is empty, setting config register to 0x2142
C7200 instance 'R1' (id 0):
VM Status : 0
RAM size : 160 Mb
IOMEM size : 0 Mb
NVRAM size : 128 Kb
NPE model : npe-400
Midplane : vxr
IOS image : \Program Files\Dynamips\images\c7200-jk9o3s-mz[1].123-24.image

load_elf_image: invalid ELF file
C7200 'R1': failed to load Cisco IOS image '\Program Files\Dynamips\images\c7200
-jk9o3s-mz[1].123-24.image'.
Shutdown in progress...
Shutdown completed.


Now my question is :

1.do i must create loopback interface???

2.what will happen if i change the ios image name in simple1.dat file to the ios image that i have stored in
c:\programs\dynamips\image location?


Please help me regarding this.....
0

Share this topic:


  • (3 Pages)
  • +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users