Skip Links

Network World

Wendell Odom

Can Santa Deliver a Hummin' Dynamips Platform for Christmas?

The Beginning of Wendell's Journey Towards a Dedicated Dynamips Server

By wendell on Tue, 12/01/09 - 2:23pm.

Bam! A quick idea about how something works on a router pops into your head. 5-10 clicks later, you're typing in the config you want to test, while waiting 5-10 minutes for one of your saved Dynamips pods to boot up. Soon, you're consoled in to the 12 routers in one of you standard topologies, tweaking a baseline config before testing out the config you just created for this latest brainstorm.

Many Cisco cert candidates have taken the time to learn Dynamips well enough to do exactly that - and I'm frankly a little bit jealous. I've finally got a little time to do something about it, and thought my journey towards getting serious with Dynamips might be of interest to ya'll - whether you learn from what I do, or whether you use your experience to help me get there with the least pain and suffering.

So, here's the backstory. We probably all have a list of work-related things we'd like to do if there was ever some time available. Well, as of today, I have a window of time with absolutely no writing projects hanging over my head - no deadlines, no one waiting on something from me. It's really weird - I frankly can't remember the last time I had such a window in between projects.  Sure, there's always something that needs to be written for my real job, but I've decided to try and tackle some of these "when I have some time" tasks. Maybe I'll even learn something unrelated to any particular book (gasp!) In my case, I'll have at least the whole month of December to catch up on things I've put off literally for years. I'm taking off Christmas week and the week after - a luxury in itself - plus a little time for other events, which gives me 12 days of work before Christmas. It's kinda my personal 12 days of Christmas. Part of the time I'll be learning how to use my new iMAC (I'll have to upgrade my PC clothes to look more like the MAC guy on the commercials).

(Also... if you're wondering what the whole Dynamips thing is about, check out this post, which gives an overview.)

Now on to today's story: When I've used Dynamips in the past, I never had time to dig in and learn it well, and I was already bumping into performance problems. So, in the next few months, maybe even before Christmas, I want to build a solid Dynamips platform. I want to be able to boot one or more OS images, bring up Dynamips, have it work well, with plenty of routers for CCIE level study, running just as fast from he CLI perspective as real gear. My second goal, which I think I can reach as a side effect of the first, is to build solid skills using Dynamips. I'll know if I was successful if I get to the point that building a new topology, building initial baseline configs, and saving the topology/configs is around the same time and effort on Dynamips as it is with real gear. That means I need to build some Dynamips skills, and it means I need a much better performing Dynamips platform.

So, let me paint the big picture first. When the dust settles, here's what I hope to have working in my home lab:

One (or more as needed) instances of Linux running on new server hardware

Reasonable performance when running 12-15 router images

Enough LAN adapters that support 802.1Q so that each router image can trunk to an external switch

The ability to restore a topology, from power-on to stable working IOS's, in 10 minutes

Ability to run Wireshark concurrent with the lab, to capture packets on any emulated LAN/WAN connection

Ability to run additional Linux instances on the same hardware as hosts inside the topologies

I have only a general idea if these are all reasonable goals, but you gotta have goals. I already know that I can't just put all this stuff on my current laptop. It's 3 year old technology, running XP (1 Ghz Pentiom 4 with 2.5 Gig RAM), and from past experience, I could never get past 3-4 router images working concurrently, even after all the Dynamips tuning stuff was set. So, I figure I need more hardware. Figuring out how much will be part of the fun. I also need some research and play time, but that should be fun. I also need to learn how to make Dynamips communicate outside the box - again, it appears to require only some reading/practice, plus some LAN NICs that support 802.1Q.

So, to start the journey, I'm going to take these next steps:

1) Research/choose a Linux flavor, choose/buy 802.1Q LAN NICs, and do a proof of concept on an old klonker PC. I want to see Linux installed, 1 router running, and communicating outside the PC using trunking to an external switch.

2) Research CPU, speed, and memory requirements, and then buy a rack-mount server. The tradeoff hear is to not overspend, but at the same time to make sure it has enough power to run the larger and busier topologies without bogging down.

Experienced folks, any suggestions? What am I missing? Inexperienced folks, what else would you want to look at when you embark on your similar journey? Jump in and give me your thoughts.

Dynamips Platform

0

I am interested in knowing what hardware you finally pick. I hope you write a follow up article on that. As someone who is lookinig at setting up his own lab but I don't have the entire month of December to play with Dynamips. Have fun.

Plan to say more

0

Hey Scott,
My plan is to blog about this each time I make some noticable progress. I won't get all the month just on this one project, but I should get several days worth of time, which I think should be enough to get through the stuff I laid out today. At least that's the goal!
Wendell

I would be interested to

0

I would be interested to know if you are going to go with Dynamips straight up or if you will be working with GNS3.

Ive worked closely with GNS3 throughout my CCNA and CCNP and am looking forward to your in-depth review.

For my future home lab i am planing on setting up a solid server that can handle a CCIE lab.

That1guy15

Sorry, I should know better by now

0

Hey... that1guy15,
Sorry. Should've clarified. I mean Dynamips/Dynagen/GNS3 and whatever else I need to make the whole package work. (EG, my brief reading so far implies that I won't need WINPCAP on Linux, as I believe was needed on XP.) I'm a big fan of making it as easy as possible, and GNS3 certainly does that. My goal is to get from current standing, to being productive doing lots of good router/switch stuff, with as little distraction as I can in between.
Wendell

Glad Your Trying It Out

0

Wendell,

I've been reading your blog for quite some time now, I'm glad to see you're writing about Dynamips. I recently just completed my CCNP and a lot of my lab work was done using GNS3/Dynamips. I originally wanted to build a lab but Dynamips is some much more cost effective. When I eventually move on to the CCIE, I'm sure I'll be using Dynamips.

I'm using a Dell T110 as my

0

I'm using a Dell T110 as my ESX/Dynamips server. It came with a Quad Core Xeon, 2gb of RAM and 2x250gb HDDs, for around $350. I have since upgraded it to 8gb of RAM (it can support 16gb total!) It also has a few PCI-E slots to support multi-port NICs. I found out about it on a popular deal site, the deal has probably expired, but the T110s are still dirt cheap.

I've run a 12 router topology with a lot of BGP, MPLS, OSPF and EIGRP. I think my CPU usage was around 30%. I think I could run 20 routers and some serious labs without fazing this thing.

Thanks - but what OS

0

Vito,
Thanks - that's dead center of where I want to be performance-wise. To enlighten me (and maybe others)... you're using VMWare's ESX, but what OS are you running Dynamips under?It can't run directly on ESX can it? Sorry for the potentially dumb question...
W

Wendell, Sorry about that.

0

Wendell,

Sorry about that. I'm running Ubuntu 8.10 under ESXi 4U1. If anyone is planning on running ESXi on a T110, you need to use U1 as the the initial release doesn't support the T110's SATA controller.

If you, or anyone has further questions, let me know and I'll answer them when I come back around.

Vito

Go big or.....

0

Core i7 920 or bigger with 12g ram. You don't really even need to O.C. it, but you can for fun. If you get the right MB you can RAID 0 the OS drives and the Data Drives.

I have 4 W.D. 7200 rpm 1TB drves in Raid 0 confguration and mine runs Dynamips on Win7 like it was Linux, plus just about anything else you can think of. Make sure you have a FAT power supply. Put it all in a CoolerMaster HAF case.

My neighbor built the same box with Velociraptors as the OS drive and it is even faster.

Hd capacity for Dynamips, or other stuff

0

Hey Tim,
Thanks - I was thinking i7 920 already, just cause that seems to be where the CPU price/performance curve spikes right now... but 4TB disk space seems overkill to me for a server just for Dynamips. Can you clarify - is the disk space for other reasons, not so much for Dynamips? I was actually thinking that a relative light 500 Gig drive would be plenty.
I also was looking at building rather than buying pre-built, but I'll probably buy something already assembled to save the time. But I think the build-your-own path makes sense if trying to save some $$. Thanks for the tips there as well.
Wendell

PS - what's O.C.? Other than Orange County? ;-)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use BBCode tags in the text.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <p> <strong> <i> <br /> <br> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Welcome, visitor. Register Log in
About Cisco Cert Zone

Odom, CCIE No, 1624, splits time between writing books for Cisco Press and teaching classes for Skyline ATS. In his 25-ish years in the networking industry, he has worked as as a pre-sale and post-sale SE for a few networking vendors, as well as a network engineer implementing network technology. Wendell has spent the majority of the last 15 years teaching, consulting, and writing about networking technologies, most of which in some way relate to Cisco products. His books include titles on QoS, CCIE R/S, as well as several titles related to CCNA certification, including the September 2007 book CCNA Official Exam Certification Library (CCNA Exam 640-802) (Read a sneak peek of chapter 7). Click for the list of current titles by Wendell.