Friday, February 15, 2008

Dynamips / Dynagen on Linux

My environment: RH FC8 x86_64

Before start, make sure you have the IOS files with you, but please don't ask me where to get it!

1. Grab the rpms from sourceforge:
http://sourceforge.net/project/showfiles.php?group_id=160317

dynagen-0.10.1-1.noarch.rpm
dynamips-0.2.8RC1-1.i386.rpm

When installing dynamips RPM, there is a dependency needs to be resolved and you need to downgrade the libpcap from 0.9.8 to 0.9.4 before you can install dynamips.

2. Prepare your .net config files, the easiest way is to modified the sample config files come with the installation:
/usr/share/doc/dynagen-0.10.1/sample_labs

3. Start your dynamips daemon:
/etc/init.d/dynamips start

4. Then you can start your lab simulation!
dynagen your_conf_file.net

Before you load the IOS, you can decompress it by standard zip utilities, the loading speed will be much faster!

Dynagen official page: http://dynagen.org/
Dynagen Tutorial: http://dynagen.org/tutorial.htm

2 comments:

Anonymous said...

Hi!

I am trying to install Dynamips/Dynagen on Fedora 7, but I have the problem with libpcap. How did you downgraded to libpcap 0.9.4.

Thanks

Unknown said...

I uninstalled libpcap by

rpm -e -nodeps

then install the older version 0.9.4.