Wednesday, June 27, 2007

Run Cisco IOS on your PC

Started in August of 2005 by Christophe Fillot, Dynamips is a Linux and Windows based application that is used to emulate the hardware of the Cisco 7200 and 3600 series routing platforms. Unlike traditional router “simulators" Dynamips allows you to boot real Cisco IOS software images and build complex network topologies to test the functionality of IOS on your desktop PC. As of November 2006 Dynamips currently supports Ethernet, Serial, ATM, and POS interfaces for the 7200 series routers and Ethernet, Serial, and Etherswitch modules for the 3600 series routers. Best of all Dynamips is open-source and free to download!

To run Dynamips first you must install libpcap or winpcap depending on your platform. Windows users will need to install winpcap 4.0 or later which is currently in beta.

Next download the appropriate Linux or Windows executables for Dynamips. To do this I would recommended to download the Dynagen installer package, a front end written by Greg Anuzelli which uses an INI-like configuration file to provision the Dynamips emulator.

Next you'll need a Cisco IOS software image for a 7206, 3620, 3640, or 3660 router depending on which platform you will be emulating. IOS can be downloaded from http://www.cisco.com for users with a valid service contract. Once you have downloaded the appropriate IOS image it is recommended that you extract the image to save time in the Dynamips booting process. This can be accomplished with programs such as gunzip for Linux or WinRAR for Windows.

Next you need to build a Dynagen .net file to provision the Dynamips emulator, or you can download prebuilt ones to emulate the Internetwork Expert Routing& Switching and Service Provider topologies from here:

Click here to download the Internetwork Expert Topologies for Dynagen

Note that these files may need minor modification to specify your working directories and the names and locations of your Cisco IOS images. Also included in the Internetwork Expert topologies for Dynagen is a router instance that is designated as a Terminal Server (Access Server). This instance can be used like a Cisco 2511 series router to reverse telnet to the console ports of the virtual Dynamips router instances, similar to how the Terminal Server is used in the CCIE Lab Exam.

To use the Terminal Server instance first create a Loopback interface on your PC with the IP address 169.254.0.1/16. For Windows clients see http://support.microsoft.com/kb/839013 for instructions how to add a Loopback interface in Windows. Once the Loopback is created reboot your PC and then run the Dynamips shortcut “Network Device List" located on the desktop. This output will show you the hardware address for the Loopback which will look something like {4065B11C-2A6C-4FD2-8204-A12A9A8328A4}. Next edit the .net file for the appropriate Internetwork Expert topology, and under the [[Router TermServ]] entry edit the line E0/0 = NIO_gen_eth:\Device\NPF_{4065B11C-2A6C-4FD2-8204-A12A9A8328A4} to insert the hardware address of your Loopback. If successful you should be able to ping the IP address of the Terminal Server (169.254.0.2) from your local PC when the Dynamips instance for it is booted.

Next boot the Dynamips hypervisor. For Windows users this will be the “Dynamips Server" shortcut on your desktop that was created by the Dynagen installer package. Next run the appropriate .net file for Dynagen, and “start" your devices from the Dynagen command line. Once booted the Dynamips router processes can be telneted to with any terminal emulation software such as SecureCRT, PuTTY, HyperTerminal, or command line telnet.

Note that as the number of device you boot in Dynamips increases as do the processor, memory, and disk space requirements of your desktop.
More >>

11 comments:

Anonymous said...

I would like to exchange links with your site www.blogger.com
Is this possible?

Anonymous said...

Superb, what a website it is! This website gives valuable information to us,
keep it up.
Review my weblog : "how to write" lewis philips

Anonymous said...

Thanks to my father who informed me regarding this web site, this web site is really awesome.
Also see my webpage: funnymariogames

Anonymous said...

Hi to every body, it's my first pay a quick visit of this weblog; this webpage consists of remarkable and in fact excellent data in support of visitors.
My site ... yachtzubehor

Anonymous said...

geotorelxzp credit card debt
consolidate credit cards

Anonymous said...

I constantly spent my half an hour to read this website's articles or reviews all the time along with a cup of coffee.

Also visit my web page ... dental Implants Cost

Anonymous said...

Hello there, You have done a great job. I will definitely digg it and personally
recommend to my friends. I'm sure they will be benefited from this web site.

Feel free to surf to my page :: http://forum.Vdn.dp.Ua

Anonymous said...

I always spent my half an hour to read this website's articles or reviews all the time along with a mug of coffee.

my site - average cost of braces

Anonymous said...

Hi, i read your blog from time to time and i own a similar one and i was just curious
if you get a lot of spam responses? If so how do you stop it, any plugin
or anything you can recommend? I get so much lately it's driving me mad so any support is very much appreciated.

My site berlinisrael.blogspot.com

Anonymous said...

Exactly Where Topsoil Originates Out Of And How To Get It
Supplied In New Jersey Know What Your Mulching Options Are!


Feel free to surf to my weblog :: jiujitsumatch.com

Anonymous said...

I'll right away grasp your rss feed as I can not to find your email subscription link or newsletter service. Do you've any?

Please allow me realize in order that I could subscribe.
Thanks.

Also visit my website - Http://Www.Articlesdirectory.Com2.Ws/