Jump to content


Installing Dynamips And Running Sdm Over It(added Video Tutorials)


  • Please log in to reply
57 replies to this topic

#1 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

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

Edited by imvarun, 24 November 2007 - 07:17 AM.


#2 certmagic

certmagic

    V.I.P. Member

  • Members
  • PipPipPipPipPip
  • 1603 posts
  • Location:UK
  • Interests:Certifications

Posted 15 November 2007 - 07:46 PM

Gr8 !!

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

Edited by TubigSuwah, 21 November 2007 - 03:00 PM.


#3 Alvaro Perez Unzueta

Alvaro Perez Unzueta

    Newbie

  • Members
  • Pip
  • 39 posts

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:

#4 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 16 November 2007 - 04:08 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:

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:

#5 deschil

deschil

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:somewhere in the eastern coast of Bay of Bengal
  • Interests:hmmmm, not interested`````

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://aycu13.websho...6916042_th.jpg' alt='Posted Image' class='bbc_img' />


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!!!!!!

#6 deschil

deschil

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:somewhere in the eastern coast of Bay of Bengal
  • Interests:hmmmm, not interested`````

Posted 17 November 2007 - 07:56 PM

my other 2 pics were missing :wacko:

#7 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 17 November 2007 - 10:58 PM

my other 2 pics were missing :wacko:

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

#8 deschil

deschil

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:somewhere in the eastern coast of Bay of Bengal
  • Interests:hmmmm, not interested`````

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:

#9 pacardoa

pacardoa

    Newbie

  • Members
  • Pip
  • 35 posts
  • Gender:Male
  • Location:Philippines

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

#10 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 19 November 2007 - 04:14 PM

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

#11 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 19 November 2007 - 04:21 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:

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

#12 deschil

deschil

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:somewhere in the eastern coast of Bay of Bengal
  • Interests:hmmmm, not interested`````

Posted 20 November 2007 - 09:10 AM

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

#13 Unborn

Unborn

    Member

  • Members
  • PipPip
  • 118 posts
  • Gender:Male
  • Location:Where am I
  • Interests:Computers ... Computers and some more Computers<br /><br />Networking, Security, Ubuntu, Suse Linux, Cisco toys, MS etc...<br /><br />To Live &amp; die with Cisco Devices.<br /><br />

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.

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..........

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


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

#14 natoy

natoy

    Advanced Member

  • Members
  • PipPipPip
  • 233 posts
  • Gender:Male
  • Location:Perlas ng Silangan
  • Interests:Networking and Routing

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.

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



#15 certmagic

certmagic

    V.I.P. Member

  • Members
  • PipPipPipPipPip
  • 1603 posts
  • Location:UK
  • Interests:Certifications

Posted 21 November 2007 - 09:31 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.

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..........

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 !!

#16 eightzero

eightzero

    Newbie

  • Members
  • Pip
  • 23 posts
  • Gender:Male
  • Location:Singapore

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?

#17 certmagic

certmagic

    V.I.P. Member

  • Members
  • PipPipPipPipPip
  • 1603 posts
  • Location:UK
  • Interests:Certifications

Posted 23 November 2007 - 03:40 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?

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

#18 sahni1982

sahni1982

    Newbie

  • Members
  • Pip
  • 10 posts
  • Gender:Male
  • Location:INdia

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.

#19 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 24 November 2007 - 04:45 AM

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

#20 debs_net

debs_net

    Newbie

  • Members
  • Pip
  • 11 posts

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.....

#21 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 04 December 2007 - 10:34 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.....

1)a loopback is only needed when you want to connect hosts to switch or router or for sdm...its not necessary otherwise..
2)u must change the location of the ios as per you local directory structure

Edited by imvarun, 04 December 2007 - 10:34 PM.


#22 Alvaro Perez Unzueta

Alvaro Perez Unzueta

    Newbie

  • Members
  • Pip
  • 39 posts

Posted 04 December 2007 - 11:22 PM

this method can apply in ACS server using virtual machine, or using 3725 mode switch with cisco network assistant or installing backtrack to proof the security ... etc many thing for do it ... only the imagine is the limit. if u want to the config ask me.

#23 ziadmesleh

ziadmesleh

    Newbie

  • Members
  • Pip
  • 14 posts

Posted 05 December 2007 - 12:41 AM

hi 2 all
i need a material to study ccnp plz anyone who help me
?????

#24 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 05 December 2007 - 02:20 AM

this method can apply in ACS server using virtual machine, or using 3725 mode switch with cisco network assistant or installing backtrack to proof the security ... etc many thing for do it ... only the imagine is the limit. if u want to the config ask me.

ok ok ok dude...i agree ure a big geek...but this guy is askin basic stuff man...hez onto the 1st step of runin a sample lab...dont u think its too early for configurin an acs server??

#25 afsandhk

afsandhk

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 05 December 2007 - 04:11 PM

After completing the 3rd step.....when I move to 4th step where try to open sample lab .net file with dynagen (rightclick->open with->choose program->browse and select "dynagen.exe")........The commmand window apppears but quickly disappears.....why its happening.....??????

Edited by TubigSuwah, 07 December 2007 - 11:07 AM.


#26 imvarun

imvarun

    Member

  • Members
  • PipPip
  • 94 posts
  • Gender:Male
  • Location:India

Posted 05 December 2007 - 05:29 PM

as per the output given by u earlier...i see that therz problem with the ios...it can be 1)you are specifying wrong path for ios or 2)the ios image is invalid or 3)the ios does not support the modules specified in simple lab... i am uploading an ios named "c7200-advipservicesk9-mz.124-15.T.bin" for u...download this...its works fine with the simple lab..

hxxp://www.[nofileshares].com/file/31201896/bac40788/c7200-advipservicesk9-mz124-15T.html

#27 Lord Flasheart

Lord Flasheart

    All Rise For The Lord

  • Veterans
  • PipPipPipPipPip
  • 2848 posts
  • Gender:Male
  • Location:England

Posted 07 December 2007 - 05:06 AM

Hi all,

I'm using GNS3 as a GUI and when I run the Network Device list.cmd it doesn't show any adapters. All I have is:

Network adapters on this machine:

'dynamips' is not recognized as an internal or external command,
operable program or batch file.


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


Press any key to continue . . .

Any ideas how I can view the adapters as Dynamips works ok.?

#28 Unborn

Unborn

    Member

  • Members
  • PipPip
  • 118 posts
  • Gender:Male
  • Location:Where am I
  • Interests:Computers ... Computers and some more Computers<br /><br />Networking, Security, Ubuntu, Suse Linux, Cisco toys, MS etc...<br /><br />To Live &amp; die with Cisco Devices.<br /><br />

Posted 07 December 2007 - 05:24 PM

According to me,

The problem is with the Environmental variable.

Pls check it , Bcoz of it "dynamips is not considered as internal or external command"

if possible post the content of the "Network Device list.cmd" file.

#29 Lord Flasheart

Lord Flasheart

    All Rise For The Lord

  • Veterans
  • PipPipPipPipPip
  • 2848 posts
  • Gender:Male
  • Location:England

Posted 07 December 2007 - 06:50 PM

According to me,

The problem is with the Environmental variable.

Pls check it , Bcoz of it "dynamips is not considered as internal or external command"

if possible post the content of the "Network Device list.cmd" file.

Hi,

Yeah, it must be the environment variable as it works for me ok at work. I used to do a lot of Java programming and mucked about with the environment variable loads of times so I probably dislodged the variable I need and need to put it at the start of the path again.

Cheers for jogging my memory!

Chris

#30 Lord Flasheart

Lord Flasheart

    All Rise For The Lord

  • Veterans
  • PipPipPipPipPip
  • 2848 posts
  • Gender:Male
  • Location:England

Posted 08 December 2007 - 07:18 PM

Hi,

Just to let you know that I needed to reinstall GNS3/Dynamips as I think I may have cleaned out the required registry key using CCleaner. Anyway, I found an easier way of doing stuff in GNS3 instead of having to adjust the .net file.

Step-by-step guide for GNS3

1. Create loopback adapter as pointed out in the main post
2. Use the network command list.bat file to find out the address of the loopback adapter
3. Open GNS3 and drag a cloud and a router onto the stage.
4. Right-click the cloud, then Configure, then choose the cloud number (e.g. C0) and you are presented with Generic Ethernet NIO drop-down list. Choose the one that maps to the Loopback Adapter as discovered in Step 2. Click Add to add it to the cloud then Apply, then OK.
5. Now click on the Add A Link button and choose Manual.
6. Click on the router and choose one of your FastEthernet interfaces then click on the cloud and choose the Loopback Adapter that you added in Step 4.
7. Configure your FastEthernet interface on the router with an IP address (e.g. 192.168.5.1/24) and bring it up.
8. Go into Properties of your Loopback Adapter in Control Panel --> Network Connections and choose TCP/IP. Set the IP address to be another address in the same subnet as your router's FastEthernet interface (e.g. 192.168.5.2/24) and the default gateway being the router's FastEthernet IP address. Click Apply and close down those windows.
9. Go into GNS3 Emulation mode and start the IOS and set up http and all of the other stuff on the router as outlined in the first post.
10. Ping the router from a command prompt then from the router to the loopback adapter. Try the other way around if it doesn't work).
11. Start SDM and input the username and password you outlined in Step 9.

HTH,

Chris





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users