CCIE Pursuit Blog

August 13, 2007

Dynamips Is Up

Filed under: Cisco,Cisco Certification,Dynamips,Home Lab,IOS — cciepursuit @ 10:35 am

I finally spent a little bit of time messing with Dynamips.  I am using a Lenovo Z61m 1.66Ghz Duo Core laptop with 512M of RAM.  I decided not to attempt to run the entire Internetwork Expert lab, but rather just to alter their .net file so that I’m running 5 routers with a Frame Relay switch.  After I set the idlepc values and turned on ghostbios and mmap, I was able to get all 5 routers running at the same time with less than 15% CPU utilization (usually in the 2% – 5% range – with big jumps when writing the configuration) and less than 90M or RAM.  Take the time to read this document along with the Internetwork Expert COD on Dynamips and you’ll be up and running efficiently in no time.  My biggest stumbling block was figuring out why I could not telnet to 127.0.0.1 (Symantec Personal Firewall was blocking it).  The Dynamips emulation is very good.  There are a couple of differences compared to the real thing (reloads are handled differently), but overall I am extremely impressed.

I plan to use this 5 router Dynamips lab to do the vast majority of the Internetwork Expert Volume I labs until I get remote access to my work lab (probably 2 – 4 weeks away).  I will also be upgrading the RAM in this laptop (it’s my wife’s laptop) to 2Gig and attempting to run the entire Internetwork Expert lab.  This should be an easy sell, “Honey, I think that we should upgrade your laptop memory.”  🙂

Here’s my .net file if anyone is interested:


autostart=false
[localhost:7200]
[[3640]]

image = C:\Program Files\Dynamips\images\c3640-jk9o3s-mz.123-14.T7.bin
 ram = 128
 disk0 = 0
 disk1 = 0
 mmap = true
 ghostios = true

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

[[Router R1]]
  model = 3640
  console = 2001
  autostart = false
  slot0 = NM-1FE-TX
  slot1 = NM-4T
  S1/0 = FRSW 1

[[Router R2]]
  model = 3640
  console = 2002
  autostart = false
  slot0 = NM-1FE-TX
  slot1 = NM-4T
  S1/0 = FRSW 2

[[Router R3]]
  model = 3640
  console = 2003
  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

[[Router R4]]
  model = 3640
  console = 2004
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  S1/0 = FRSW 4
  S1/1 = R5 S1/1

[[Router R5]]
  model = 3640
  console = 2005
  autostart = false
  slot0 = NM-4E
  slot1 = NM-4T
  S1/0 = FRSW 5

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

Advertisements

3 Comments »

  1. You could probably run ‘ram = 96’ if you want to tune it down some more. 🙂

    Comment by r0ckwell@hotmail.com — August 13, 2007 @ 4:32 pm | Reply

  2. Good tip! Thanks. I lowered the RAM to 96 and my performance improved.

    Comment by cciepursuit — August 14, 2007 @ 12:41 pm | Reply

  3. Hi

    You may also want to combine BB1 thru BB3 configs into a single one and add it to the mix – so that you can learn redistribution nuances as well.

    You cannot learn things that have chip set dependencies such as CEF or QoS type of things which I am sure you are aware of.

    Rama

    Comment by Rama — August 16, 2007 @ 11:37 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: