From: Ben Holko (ben.holko@datacom.com.au)
Date: Sat Jan 13 2007 - 04:19:56 ART
Hi all,
Based of Brian's supplied config file for v3, I have modified it to work with v4, pasted below.
Note - as the physical topology calls for 24 port switches, I have used 2 x 16 port switch modules in the 3600's that are acting as the switches. For the numbering for the ports on this I have used slot 1 ports 1-12 and slot 2 ports 1-12, so ignore port f1/0 and f2/0, and the switchport numbering looks like this:
 
virtual switch port = 3600 interface
f1/1    = slot 1, f1/1
f1/2    = slot 1, f1/2
f1/3    = slot 1, f1/3
...
...
f1/12    = slot1, f1/12
f1/13    = slot2, f2/1
f1/14    = slot2, f2/2
...
...
f1/23   = slot2, f2/11
f1/24   = slot2, f2/12
You need to bear this in mind obviously when the lab workbook says "switch port f1/18" it means f2/6 (12 + 6 = 18) in this config
You will need to tune your idlepc values to match your system.
 
#------------------------------------------
#Begin Dynagen config file
 
###############################################################################
#
# For more information:
#  Dynamips: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator <http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator> 
#  Dynagen:  http://dyna-gen.sourceforge.net/ <http://dyna-gen.sourceforge.net/> 
#  Hacki's Forum: http://hacki.at/7200emu/index.php <http://hacki.at/7200emu/index.php> 
#  Internetwork Expert's Forum: http://forum.internetworkexpert.com <http://forum.internetworkexpert.com> 
#
###############################################################################
##################################################
#
# Define global router parameters for instance 1
#
##################################################
autostart=false
[localhost:7200]
workingdir = C:\Program Files\Dynamips\sample_labs\internetworkexpert\working
[[3640]]
 #
 # Specify 3640 IOS image on Windows here:
 image = C:\Program Files\Dynamips\images\c3640-js-mz.124-10a.bin
 #
 # Specify 3640 IOS image on Linux here:
 # image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
 #
 ram = 128
 disk0 = 0
 disk1 = 0
 idlepc = 0x604eb4b0
 mmap = true
###########################
#
# Define router instances
#
###########################
 [[Router R1]]
  model = 3640
  autostart = false
  slot0 = NM-1FE-TX
  slot1 = NM-4T
  F0/0 = SW1 F1/1
  S1/0 = FRSW 1
 [[Router R2]]
  model = 3640
  autostart = false
  slot0 = NM-1FE-TX
  slot1 = NM-4T
  F0/0 = SW2 F1/2
  S1/0 = FRSW 2
 [[Router R3]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  S1/0 = FRSW 3
  S1/1 = FRSW 13
  S1/2 = R1 S1/1
  S1/3 = R2 S1/1
  E0/0 = SW1 F1/3
  E0/1 = SW3 F1/3
 [[Router R4]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW2 F1/4
  E0/1 = SW4 F1/4
  S1/0 = FRSW 4
  S1/1 = R5 S1/1
 [[Router R5]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW1 F1/5
  E0/1 = SW3 F1/5
  S1/0 = FRSW 5
 [[Router R6]]
  model = 3640
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW2 F1/6
  E0/1 = SW4 F1/6
  S1/0 = FRSW 6
    
 [[Router SW1]]
  model = 3640
  autostart = false
  slot1 = NM-16ESW
  slot2 = NM-16ESW
  F2/1 = SW2 F2/1
  F2/2 = SW2 F2/2
  F2/3 = SW2 F2/3
  F2/4 = SW3 F2/1
  F2/5 = SW3 F2/2
  F2/6 = SW3 F2/3
  F2/7 = SW4 F2/1
  F2/8 = SW4 F2/2
  F2/9 = SW4 F2/3
 
##################################################
#
# Define global router parameters for instance 2
#
##################################################
[localhost:7201] # Talk to the 2nd dynamips process on port 7201
 udp = 11000     # Change the base udp port to 11000 (the default is 10000) 
 workingdir = C:\Program Files\Dynamips\sample_labs\internetworkexpert\working
 [[3640]]
 #
 # Specify 3640 IOS image on Windows here:
 image = C:\Program Files\Dynamips\images\c3640-js-mz.124-10a.bin
 #
 # Specify 3640 IOS image on Linux here:
 # image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
 #
 ram = 128
 disk0 = 0
 disk1 = 0
 idlepc = 0x604eb4b0
 mmap = true
 
 
###########################
#
# Define router instances
#
###########################
 [[Router SW2]]
  model = 3640
  console = 2007
  autostart = false
  slot1 = NM-16ESW
  slot2 = NM-16ESW
  F2/4 = SW3 F2/4
  F2/5 = SW3 F2/5
  F2/6 = SW3 F2/6
  F2/7 = SW4 F2/4
  F2/8 = SW4 F2/5
  F2/9 = SW4 F2/6
 [[Router SW3]]
  model = 3640
  console = 2008
  autostart = false
  slot1 = NM-16ESW
  slot2 = NM-16ESW
  F2/7 = SW4 F2/7
  F2/8 = SW4 F2/8
  F2/9 = SW4 F2/9
 [[Router SW4]]
  model = 3640
  console = 2009
  autostart = false
  slot1 = NM-16ESW
  slot2 = NM-16ESW
 [[Router BB1]]
  model = 3640
  console = 2010
  autostart = false
  slot1 = NM-4T
  S1/0 = BB3 S1/0
  S1/1 = FRSW 21
 [[Router BB2]]
  model = 3640
  console = 2011
  autostart = false
  slot0 = NM-4E
  E0/0 = SW2 F2/12
 [[Router BB3]]
  model = 3640
  console = 2012
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  E0/0 = SW3 F2/12
 
 [[FRSW FRSW]]
  # R1 to FRSW
  1:102 = 2:201
  1:103 = 3:301
  1:113 = 13:311
  1:104 = 4:401
  1:105 = 5:501
  # R2 to FRSW
  2:203 = 3:302
  2:213 = 13:312
  2:204 = 4:402
  2:205 = 5:502
  # R3 to FRSW
  3:304 = 4:403
  3:305 = 5:503
  13:314 = 4:413
  13:315 = 5:513
  # R4 to FRSW
  4:405 = 5:504
  # R6 to FRSW
  6:51 = 21:51
  6:100 = 21:100
  6:101 = 21:101
  6:201 = 21:201
  6:301 = 21:301
  6:401 = 21:401
#End Dynagen config file
#------------------------------------------
This archive was generated by hypermail 2.1.4 : Thu Feb 08 2007 - 23:46:56 ART