Dynamips Gotchyas

Dynamips is a great tool. Not everyone can afford to spend $15k or whatever on a rack with real routers but with Dynamips you can get most of the functionality out of a $750 PC.

I went down to MSY recently and got a PC to do the job. You need lots of RAM (4GB for my box), a beefy CPU (2.66GHz Core2Duo) and you’re on your way. Windows is a pain for Dynamips for a variety of reasons. I am using Ubuntu 7.10 as my OS. I am a Mac user normally but I couldnt be bothered trying to get OSX running on a yum-cha beige box when I can get Linux running in about 10 minutes…

GNS3 is the GUI version of Dynamips. I have made a Narbik topology in GNS3 and it does the job very well. Pitfalls are:

No Switch emulation. I run a 3640 with an NM-16ESW as a switch. It does probably half the job a real 35[56]0 does. No MST, no auto vlan creation from the interface (must use vlan database first), no vlan creation from conf t (once again use vlan database) and also cant auto detect duplex settings. I got around this by hard coding the duplex on the connected router ports.

Frame-relay wont auto-detect lmi-type. Simple… frame-relay lmi-type ansi.

3640s arent used in the real lab. No big deal. The IOS is the same (almost)… the only difference is interface numbering. What you need to watch out for though is the NM-16ESWs are only Ethernet and you cant get FE or GE blades for the 3640s. This affects spanning-tree costs and the like but its no big deal. If you are really pedantic you could manually asssign spanning-tree port costs and the like to interfaces… But I didnt bother unless my scenario asked me to.

2 comments so far

  1. Roger May 10, 2008 0:03

    Hi Matt

    I am planning to use dynamips going forward but I only have one computer(windows machine) and there are applications there that I need for various purposes.

    What in your opinion makes the windows/dynamips combo so problematic?

  2. Matt Hill May 10, 2008 10:29

    Hi Roger,

    One drama with Windows (32 Bit) is it can only recognise 3GB RAM. This is ok for most setups, but you may find if you have a whole IE/IPExpert/Narbik etc topology with 10 or so routers running you may find you would run out of RAM, especially when the OS function might occupy quite a bit of it.

    You might have a bit of luck running an Ubuntu partition on your Windows box to run Dynamips/GNS3 from. I am not big on Linux and I found Ubuntu easy to install, and I could get GNS3 running with my own designed Narbik topology in a few hours. If you already have a .net from elsewhere it should be even easier.

    I’m not bagging Windows here… Not at all. My philosphy is “use whats best for you and dont stress too much. It’s only a computer” :) On the same token, I found it much easier to get Dynamips working on Ubuntu than what I did on OSX which is my preferred system.

    The dynamips forums http://7200emu.hacki.at/index.php are a good resource. There are some people there talking about their fun and games with their various OSes. There are some legendary video tutorials at http://www.blindhog.net I had my Linux box sitting next my main PC and all I had to do was click on what the guy in the video was doing at the same time and it was all up and running in nothing flat.

    I hope I’m not dribbling too much and I hope this helps you out a bit.

    Cheers,
    Matt

Leave a comment

Please be polite and on topic. Your e-mail will never be published.