Saturday, April 4, 2009

running dynagen on linux

the IOS file supposed to unzipped first ..
then follow like below

Pretty simple:
1) Install your Linux distro.
2) Download the latest version of Dynamips and place it in somewhere like /opt/dynamips
3) Download Dynagen and place it in somewhere (like /opt)
4) Create links to dynamips and dynagen in /usr/local/bin. Example:
Code:

ln -s /opt/dynagen-0.9.0/dynagen /usr/local/bin/dynagen
ln -s /opt/dynamips/dynamips-0.2.7-RC1-x86.bin /usr/local/bin/dynamips



5) Create your .dynagen network confoguration (.net) file(s). Note that most of the examples you see is for Windows. If you are going to use them you have to edit the Paths; Linux/Unix use slash ( / ) in their filesystem whereas Windows uses backslash ( \ )

6) Run Dynamips in Hypervisor mode. Exampe:
Code:
dynamips -H 7200


7) Run dynagen with your config file:
Code:
dynagen My-Lab.net


important!!! # cd /usr/local/bin and chmod 755 dynamips / chmod 755 dynagen

No comments:

Post a Comment