- Should Have Gone With Cisco - http://shouldhavegonewithcisco.com -

Dynamips config for CCNP

Posted By ted On April 30, 2008 @ 11:28 pm In Routing&Switching, Cisco | No Comments

A lot of people have been asking for this, so here you go. It goes with the new Routing CCNP self-study book. Remember, you have to have some experience with Dynamips for this. I was running everything on one box, with two separate instances of the executable for stability reasons. If I remember right, I didn’t need to use both pods at the same time either (I only started what routers I needed). There are obvious adjustments you will have to make too. The BB router configs you can get from online if you bought the book. I believe I reference them in the config below.

# this lab has two routers connected together via serial link
# R1 serial 1/0 connects to R2 Serial 1/0

autostart = false
model = 3660
ghostios = true

[localhost:7200]

# Below is an example of a working dir. This directory MUST EXIST.
# Be sure to create this directory before trying to run this file!!!!

workingdir = C:\Documents and Settings\Ted\Desktop\labs\pod\test

[[3660]]

# location of ios. shouldnt change
image = c:\program files\dynamips\images\image.bin

# Ram 96 should be fine
ram = 96

# mmap uses real memory vs. disk file. set to false to use real memory
mmap = true

# this is set for this ios image. needed so cpu isnt 100%
# idlepc = 0×60529294
idlepc = 0×6043ad80

# Start the routers you need for your particular lab below
# The Frame relay switch is automatically started

# —————

# BackBone Routers

[[ROUTER BBR1]]
f0/0 = LAN 1
s1/0 = FRAMERELAY 1
cnfg = C:\pod\BBR1.txt

[[ROUTER BBR2]]
f0/0 = LAN 1
s1/0 = FRAMERELAY 2
cnfg = C:\pod\BBR2.txt

# ——————

#POD 1 Routers

[[ROUTER P1R1]]
s1/0 = FRAMERELAY 3
s1/1 = P1R2 s1/1
f0/0 = LAN 2

[[ROUTER P1R2]]
s1/0 = FRAMERELAY 4
f0/0 = LAN 3

[[ROUTER P1R3]]
s1/0 = P1R4 s1/0
f0/0 = LAN 2

[[ROUTER P1R4]]
f0/0 = LAN 3

# ————————————————

[localhost:7201]

udp = 15000

# Below is an example of a working dir. This directory MUST EXIST.
# Be sure to create this directory before trying to run this file!!!!

workingdir = C:\Documents and Settings\Ted\Desktop\labs\pod\test

[[3660]]

# location of ios. shouldnt change
image = c:\program files\dynamips\images\image.bin

# Ram 96 should be fine
ram = 96

# mmap uses real memory vs. disk file. set to false to use real memory
mmap = true

# this is set for this ios image. needed so cpu isnt 100%
# idlepc = 0×60529294
idlepc = 0×6043ad80

# ———————-

# POD 2 Routers

[[ROUTER P2R1]]
s1/0 = FRAMERELAY 5
s1/1 = P2R2 s1/1
f0/0 = LAN 4

[[ROUTER P2R2]]
s1/0 = FRAMERELAY 6
f0/0 = LAN 5

[[ROUTER P2R3]]
s1/0 = P2R4 s1/0
f0/0 = LAN 4

[[ROUTER P2R4]]
f0/0 = LAN 5

# —————–
# Frame Relay Switch Config

# Syntax

# “Incoming Framerelay interface” : “incoming DLCI on that interface” = “Outgoing Frame relay interface” : “outgoing DLCI”

[[FRSW FRAMERELAY]]

# BBR1 –> FR Switch port 1
# BBR2 –> FR Switch port 2
# P1R1 –> FR Switch port 3
# P1R2 –> FR Switch port 4
# P2R1 –> FR Switch port 5
# P2R2 –> FR Switch port 6

# Connection to BBR1
1:111 = 3:111
1:112 = 4:112
1:121 = 5:121
1:122 = 6:122

# Connection to BBR2
2:211 = 3:211
2:212 = 4:212
2:221 = 5:221
2:222 = 6:222

# Connection to P1R1
# 3:111 = 1:111
3:122 = 4:221
# 3:211 = 2:211

# Connection to P1R2
# 4:112 = 1:112
# 4:212 = 2:212
# 4:221 = 3:122

# Connection to P2R1
# 5:121 = 1:121
5:122 = 6:221
# 5:221 = 2:221

# Connection to P2R2
# 6:122 = 1:122
# 6:221 = 5:122
# 6:222 = 2:222


Article printed from Should Have Gone With Cisco: http://shouldhavegonewithcisco.com

URL to article: http://shouldhavegonewithcisco.com/2008/04/30/dynamips-config-for-ccnp/

Click here to print.