红联Linux门户
Linux帮助

Installation dynamips ubuntu

发布时间:2007-10-14 11:06:20来源:红联作者:Procedure
1.download
dynamips-0.2.8-RC1-x86.bin
dynagen-0.10.1.tar.gz
ios- 1700, 2600, 3600, 3700, 7200

2.tar
tar xvf dynagen-0.10.1.tar.gz

3.make dir
#mkdir /opt/dynamips
#mkdir /opt/dynamips/images

4.copy
#cp -r dynagen-0.10.1 /opt/dynamips
#cp dynamips-0.2.8-RC1-x86.bin /opt/dynamips
#chmod 755 dynamips-0.2.8-RC1-x86.bin
and copy ios images to /opt/dynamips/images

5. make soft link
#ln -s /opt/dynamips/dynamips-0.2.8-RC1-x86.bin /usr/sbin/dynamips
#ln -s /opt/dynamips/dynagen-0.10.1/dynagen /usr/sbin/dynagen

6.modify .net file
#cd /opt/dynamips/dynagen-0.10.1/sample_labs/simple1
#vi simple1.net
modify the image path and ram to the correspondent value

7. start
#dynamips -H 7200 &
#dynagen simple1.net
==>list

8. config idlepc
==>telnet R1
==>idlepc get R1
select the one with *
==>idlepc save R1 db

==>telnet R2
==>idlepc get R2
select the one with *
==>idlepc save R2 db

after that, the CPU will be down to the normal load.

Enjoy it.
文章评论

共有 0 条评论