Tuesday, February 19, 2008

Dynamips for CCIE R/S

The IdlePC Values and IOS Versions that i used to build the CCIE R/S Lab are:

[[3725]]
image = /ccie/base/c3725-adventerprisek9-mz.124-17.bin
ram = 128
disk0 = 0
disk1 = 0
mmap = True
ghostios = True
idlepc = 0x60a6d020

[[3640]]
image = /ccie/base/c3640-js-mz.124-17.bin
ram = 128
disk0 = 0
disk1 = 0
mmap = True
ghostios = True
idlepc = 0x604c37fc

For Instance 1: The 3725's were used for Routers R1 - R6.
For Instance 2: All 3640's were used for SW1 - SW4 and BB1 - BB3.

In Linux, i have noticed that 3725 performs much better as compared to 3640. On full load, means IGP, BGP, Redistribution, Multicasting and Security the CPU Load was 40%.

The Dynamips Server Configuration was:
AMD Athlon X2 64Bit 4400+
2 GB Corsair DDR2
80 Gb HDD
Fedora Core 6, 32Bit

The Dynagen Client runs on my laptop in Windows XP.

1 comment:

gringo said...

Hi !
I tried to modify me .net file, with your suggestion, but get following errors (I`ll paste the errors and my .net file config)please help :

Reading configuration file...

*** Warning: received dynamips error:
R1 slot 0 is already occupied!
*** Warning: received dynamips error:
R2 slot 0 is already occupied!
*** Warning: received dynamips error:
R3 slot 0 is already occupied!
*** Warning: received dynamips error:
R4 slot 0 is already occupied!
*** Warning: received dynamips error:
R5 slot 0 is already occupied!
*** Warning: received dynamips error:
R6 slot 0 is already occupied!
*** Warning: Connecting FRSW 1:102 to 2:201 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:103 to 3:301 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:113 to 13:311 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:104 to 4:401 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:105 to 5:501 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 2:203 to 3:302 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 2:213 to 13:312 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 2:204 to 4:402 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 2:205 to 5:502 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 3:304 to 4:403 resulted in:
switchport 3 is not connected to anything
*** Warning: Connecting FRSW 3:305 to 5:503 resulted in:
switchport 3 is not connected to anything
*** Warning: Connecting FRSW 13:314 to 4:413 resulted in:
switchport 13 is not connected to anything
*** Warning: Connecting FRSW 13:315 to 5:513 resulted in:
switchport 13 is not connected to anything
*** Warning: Connecting FRSW 4:405 to 5:504 resulted in:
switchport 4 is not connected to anything
*** Warning: Connecting FRSW 6:51 to 21:51 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:100 to 21:100 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:101 to 21:101 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:201 to 21:201 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:301 to 21:301 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:401 to 21:401 resulted in:
switchport 6 is not connected to anything

*** Error: errors during loading of the topology file, please correct them
Press ENTER to continue



-----------------------
.net file configuration
------------------------

##############################################################################################
#
# Internetwork Expert Routing & Switching topology Version 4.0 mappings for dynamips/dynagen
# by: Brian McGahan, CCIE #8593
# bmcgahan@internetworkexpert.com
#
# For more information:
# Dynamips: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
# Dynagen: http://dyna-gen.sourceforge.net/
# Hacki’s Forum: http://hacki.at/7200emu/index.php
# Internetwork Expert's Forum: http://forum.internetworkexpert.com
#
##############################################################################################

##################################################
#
# Define global router parameters for instance 1
#Hi I`m trying to do following :

The IdlePC Values and IOS Versions that i used to build the CCIE R/S Lab are:

[[3725]]
image = /ccie/base/c3725-adventerprisek9-mz.124-17.bin
ram = 128
disk0 = 0
disk1 = 0
mmap = True
ghostios = True
idlepc = 0x60a6d020

[[3640]]
image = /ccie/base/c3640-js-mz.124-17.bin
ram = 128
disk0 = 0
disk1 = 0
mmap = True
ghostios = True
idlepc = 0x604c37fc

For Instance 1: The 3725's were used for Routers R1 - R6.
For Instance 2: All 3640's were used for SW1 - SW4 and BB1 - BB3.

==================================================

After I edit my .net file, and start the show, i`m getting following error.

Reading configuration file...

*** Warning: received dynamips error:
R1 slot 0 is already occupied!
*** Warning: received dynamips error:
R2 slot 0 is already occupied!
*** Warning: received dynamips error:
R3 slot 0 is already occupied!
*** Warning: received dynamips error:
R4 slot 0 is already occupied!
*** Warning: received dynamips error:
R5 slot 0 is already occupied!
*** Warning: received dynamips error:
R6 slot 0 is already occupied!
*** Warning: Connecting FRSW 1:102 to 2:201 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:103 to 3:301 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:113 to 13:311 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:104 to 4:401 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 1:105 to 5:501 resulted in:
switchport 1 is not connected to anything
*** Warning: Connecting FRSW 2:203 to 3:302 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 2:213 to 13:312 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 2:204 to 4:402 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 2:205 to 5:502 resulted in:
switchport 2 is not connected to anything
*** Warning: Connecting FRSW 3:304 to 4:403 resulted in:
switchport 3 is not connected to anything
*** Warning: Connecting FRSW 3:305 to 5:503 resulted in:
switchport 3 is not connected to anything
*** Warning: Connecting FRSW 13:314 to 4:413 resulted in:
switchport 13 is not connected to anything
*** Warning: Connecting FRSW 13:315 to 5:513 resulted in:
switchport 13 is not connected to anything
*** Warning: Connecting FRSW 4:405 to 5:504 resulted in:
switchport 4 is not connected to anything
*** Warning: Connecting FRSW 6:51 to 21:51 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:100 to 21:100 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:101 to 21:101 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:201 to 21:201 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:301 to 21:301 resulted in:
switchport 6 is not connected to anything
*** Warning: Connecting FRSW 6:401 to 21:401 resulted in:
switchport 6 is not connected to anything

*** Error: errors during loading of the topology file, please correct them
Press ENTER to continue


My . net file looks like this, pleas advice, my lab doesn`t work, it`s

making me sad ;-).


== . net file ==



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

autostart=false
[localhost:7200]

workingdir = C:\Program Files\Dynamips\sample_labs\internetworkexpert\working

[[3725]]
#
# Specify 3640 IOS image on Windows here:
image = C:\Program Files\Dynamips\images\c3725-adventerprisek9-mz.124-17.bin
#
# Specify 3640 IOS image on Linux here:
# image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
#

disk0 = 0
disk1 = 0
# Choose an idlepc value from the below
# idlepc = 0x60530870
# idlepc = 0x60530890
# idlepc = 0x60530a58
# idlepc = 0x60530abc
# idlepc = 0x605310c4
# idlepc = 0x605e92e8
# idlepc = 0x605e9364
# idlepc = 0x60531394
# idlepc = 0x605313d0
# idlepc = 0x605313ec
idlepc = 0x60a6d020
mmap = true
ghostios = true


###########################
#
# Define router instances
#
###########################

[[Router R1]]
model = 3725
console = 2001
autostart = false
slot0 = NM-1FE-TX
slot1 = NM-4T
ram = 100
F0/0 = SW1 F1/1
S1/0 = FRSW 1
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\R1.initial.config.txt

[[Router R2]]
model = 3725
console = 2002
autostart = false
slot0 = NM-1FE-TX
slot1 = NM-4T
F0/0 = SW2 F1/2
S1/0 = FRSW 2
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\R2.initial.config.txt

[[Router R3]]
model = 3725
console = 2003
autostart = false
slot0 = NM-4E
slot1 = NM-4T
ram = 100
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
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\R3.initial.config.txt

[[Router R4]]
model = 3725
console = 2004
autostart = false
slot0 = NM-4E
slot1 = NM-4T
ram = 100
E0/0 = SW2 F1/4
E0/1 = SW4 F1/4
S1/0 = FRSW 4
S1/1 = R5 S1/1
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\R4.initial.config.txt

[[Router R5]]
model = 3725
console = 2005
autostart = false
slot0 = NM-4E
slot1 = NM-4T
ram = 100
E0/0 = SW1 F1/5
E0/1 = SW3 F1/5
S1/0 = FRSW 5
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\R5.initial.config.txt

[[Router R6]]
model = 3725
console = 2006
autostart = false
slot0 = NM-4E
slot1 = NM-4T
ram = 100
E0/0 = SW2 F1/6
E0/1 = SW4 F1/6
S1/0 = FRSW 6
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\R6.initial.config.txt


##################################################
#
# 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-17.bin
#
# Specify 3640 IOS image on Linux here:
# image = /ios/c3640-jk9o3s-mz.123-14.T7.extracted.bin
#

disk0 = 0
disk1 = 0
# Choose an idlepc value from the below
# idlepc = 0x60530870
# idlepc = 0x60530890
# idlepc = 0x60530a58
# idlepc = 0x60530abc
# idlepc = 0x605310c4
# idlepc = 0x605e92e8
# idlepc = 0x605e9364
idlepc = 0x604c37fc
# idlepc = 0x60531394
# idlepc = 0x605313d0
# idlepc = 0x605313ec
mmap = true
ghostios = true


###########################
#
# Define router instances
#
###########################

[[Router SW1]]
model = 3640
console = 2007
autostart = false
slot1 = NM-16ESW
ram = 100
F1/7 = SW2 F1/7
F1/8 = SW2 F1/8
F1/9 = SW2 F1/9
F1/10 = SW3 F1/7
F1/11 = SW3 F1/8
F1/12 = SW3 F1/9
F1/13 = SW4 F1/7
F1/14 = SW4 F1/8
F1/15 = SW4 F1/9
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\SW1.initial.config.txt




[[Router SW2]]
model = 3640
console = 2008
autostart = false
slot1 = NM-16ESW
ram = 100
F1/10 = SW3 F1/10
F1/11 = SW3 F1/11
F1/12 = SW3 F1/12
F1/13 = SW4 F1/10
F1/14 = SW4 F1/11
F1/15 = SW4 F1/12
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\SW2.initial.config.txt

[[Router SW3]]
model = 3640
console = 2009
autostart = false
slot1 = NM-16ESW
ram = 100
F1/13 = SW4 F1/13
F1/14 = SW4 F1/14
F1/15 = SW4 F1/15
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\SW3.initial.config.txt

[[Router SW4]]
model = 3640
console = 2010
autostart = false
ram = 100
slot1 = NM-16ESW
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\SW4.initial.config.txt

[[Router BB1]]
model = 3640
console = 2011
autostart = false
slot1 = NM-4T
ram = 100
S1/0 = BB3 S1/0
S1/1 = FRSW 21
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\BB1.initial.config.txt

[[Router BB2]]
model = 3640
console = 2012
autostart = false
slot0 = NM-4E
ram = 100
E0/0 = SW2 F1/0
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\BB2.initial.config.txt

[[Router BB3]]
model = 3640
console = 2013
autostart = false
slot0 = NM-4E
slot1 = NM-4T
ram = 100
E0/0 = SW3 F1/0
#cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\BB3.initial.config.txt

[[Router TermServ]]
model = 3640
console = 2000
autostart = false
#
# Specify your local host's loopback here from the network device list
# Too add a loopback in windows:
# http://support.microsoft.com/kb/839013
#
# E0/0 = NIO_gen_eth:\Device\NPF_{4065B11C-2A6C-4FD2-8204-A12A9A8328A4}
cnfg = C:\Program Files\Dynamips\sample_labs\internetworkexpert\initial.configs\RSTermServ.initial.config.txt

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


================

Please help and advice.

Thanx in advance.