Welcome To suyashjain.blogspot.com

For Latest and more contents visit http://www.i3w.in

Thursday, July 31, 2008

Dynagen and Dynamips , Cisco Router Simulator

Dynagen and Dynamips are frontend and backend application for Cisco router simulator. It uses the actual ios image files of cisco , so you will be able to user all commands which are  available in that ios version.


For starting you require three things.

1. Dynamips executable file  = > something like dynamips-0.2.8-RC2-x86.bin

http://www.ipflow.utc.fr/dynamips/dynamips-0.2.7-x86.bin

2. Dynagen => download the dynagen tar.gz
3. Cisco IOS image - At this time, dynamips is able to boot a large number of Cisco IOS releases available for the 7200, 3600, 3700 and 2600 platforms, including the latest 12.2S and 12.4T.



Lets Start Now

First create a network lab file like this. and save as network.net

##########################################################
[localhost]

    [[7200]]
    image =/Yash/c7200-is-mz.123-6b.bin
    npe = npe-400
    ram = 160

    [[router R2]]
    s1/1 = R3 s1/1

    [[router R3]]
    s1/2 = R4 s1/2

    [[router R4]]
    s1/1 = R2 s1/2

    [[router R5]]
    s1/3 = R2 s1/3
    # No need to specify an adapter here, it is taken care of
    # by the interface specification under Router R1

###############################################################
In this file

first line says that server has to run on localhost
second line says the cisco router version for which we will run it.
third line is the specification of image file.
4/5 i don;t know

from 6 i have created the network topology.


now run

./dynamips-0.2.8-RC2-x86.bin 7200 -H c7200-is-mz.123-6b.bin

this will run dynamips server.

than run

./dynagen network.net ,

this will give you the access of IOS image

No comments: