Issue with Dynamips - Beginner

Hi, 

 

I am a beginner with dynagen/dynamips. I am in the pursuit of achieving CCIE. I need Dynamips to work for me. I am trying to start real small, with GNS3. Please find my INI file here below. I get these errors below when i run this INI file.

 


---------------------------------------------------------------------------------------------------------------------------------------

 

*** Warning:  Could not set working directory to /tmp on server localhost:7200

*** Warning:  Could not connect to dynamips server localhost:7201

*** Warning:  Connecting R1 F0/0 to R2 F1/1 resulted in:

        attempt to connect to non-existent interface in slot 1 on device R2

*** Warning:  Connecting R2 F1/1 to R1 F0/0 resulted in:

        attempt to connect to non-existent interface in slot 1 on device R2

 

*** Error:  errors during loading of the topology file, please correct them

Press ENTER to continue


------------------------------------------------------------------------------------------------------------------------------------

 

################################################## 

# Define global router parameters for instance 1 

################################################## 

 

autostart=false 

 

[localhost:7200] 

 

workingdir = /tmp 

 

[[3640]] 

# Specify 3640 IOS image on XP here: 

image = Program FilesDynamipsimages 

#npe = npe-400 

ram = 160 

# Choose an idlepc value from the below 

#idlepc = 0x62b1c780 

 

 

########################### 

# Define router instances 

########################### 

 

[[Router R1]] 

model = 3640 

console = 2001 

autostart = false 

slot1 = NM-4T 

F0/0 = R2 F1/1 

cnfg = /Program Files/Dynamips/INE/Intial_configs/R1.txt 

 

[[Router R2]] 

model = 3640 

console = 2002 

autostart = false 

slot1 = NM-4T 

F1/1 = R1 F0/0 

cnfg = /Program Files/Dynamips/INE/Intial_configs/R2.txt

 

 

 

################################################## 

# Define global router parameters for instance 2 

################################################## 

 

[localhost:7201] 

 

workingdir = /tmp 

 

[[3640]] 

# Specify 3640 IOS image on Mac OS X here: 

image = Program FilesDynamipsimages 

#npe = npe-400 

ram = 160 

# Choose an idlepc value from the below 

# idlepc = 0x62b1c780 

 

########################### 

# Define router instances 

########################### 

 

If there is someone who can help me in doing this, would be a great help. Thanks in advance.

 

Warm Regards

Sandeep

Comments

  • I'm not using GNS but I'd reccomend you start here and look it over including the part on "hardware currently emulated":

    http://dynagen.org/tutorial.htm

    A couple of problems I see - your using NM-4T modules - those are for Serial ports "S 0/0", but in your config you are saying "F X/Y" for fast ethernet.  If you want to use ethernet ports you could use module "NM-4E" that will give you ethernet ports and then it would be "E 0/0" Also pay attention to the slots you are specifying.  If you say "slot1 = NM-4E" then the first port would be F1/0.  If you say "slot0 = NM-4E" than it would be F0/0.

    Another thing is you only need to specify one side of the connection in the file.  If you connect R1 to R2 - you only need to put in the R1 side, don't specify the same connection back on R2.

    With the working directory error you have - you need to create a directory on you system first like "C:Program FilesDynamipsworking" and then in your file it should say  workingdir = C:Program FilesDynamipsworking not workingdir = mp.

    With the "cannot connect to dynamips error" I see that if I have not started dynamimps first with "dynamips-start.cmd"  I'm guessing this is the same for you.

    This is all without using GNS - so I'm not sure how that will affect things - but thats what the errors are.

     

  • Thank you David for the reply :)

Sign In or Register to comment.