Here’s an explanation of how to install dynamips and gns3 on Linux Mint 12.
# uname -ri 
3.0.0-15-generic x86_64 
# tail -1 /etc/lsb-release 
DISTRIB_DESCRIPTION="Linux Mint 12 Lisa" 
 | 
[ install dynamips and gns3 ]
dynamips is Cisco Router emulator and gns3 is GUI tool for dynamips.
# apt-get install -y dynamips gns3 
 | 
[ initial setup ]
start gns3
$ gns3 & 
 | 
do step1 ( configure working directory ) and then step2 ( load IOS )
step1 ( click OK. default settings )
step2
select the IOS image you want to run.
I used c3640-jk9s-mz.124-13a.bin.
click “Save”
drag and drop “Router c3600” icon like this.
start c3600
configure Idle PC
By default , the dynamips process uses around 100% CPU consumption.
# top -b -n 1 | grep dynamips 
25472 hattori   20   0  363m 185m  65m S   99  1.5   3:17.27 dynamips 
 | 
To reduce CPU consumption
select Router icon , right-click , Idle PC
Dynampis will calculate an appropriate Idle PC values.
Click “Apply”
After configuring Idle PC values.
# top -b -n 1 | grep dynamips 
25472 hattori   20   0  363m 185m  65m S    8  1.5   6:57.80 dynamips 
 | 
CPU consumption is 8%.
Configuration file is stored under .gns/ directory. ( gns3.ini file )
# head -5 /home/hattori/.gns3/gns3.ini 
[GNS3] 
version=1795 
lang=en 
project_startup=true 
relative_paths=true 
 | 
どうもありがとう :)
ReplyDeleteコメントありがとうございますxD
ReplyDeleteE: Package 'dynamips' has no installation candidate
ReplyDeletennn , I think I have not added an extra repo for dynamips.
ReplyDeleteWould you please check your machine's repo list ?
mint-1 ~ # tail -1 /etc/lsb-release
DISTRIB_DESCRIPTION="Linux Mint 12 Lisa"
mint-1 ~ # uname -ri
3.0.0-17-generic x86_64
mint-1 ~ # cat /etc/apt/sources.list
deb http://packages.linuxmint.com/ lisa main upstream import
deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ oneiric partner
deb http://packages.medibuntu.org/ oneiric free non-free
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb games
deb http://gb.archive.ubuntu.com/ubuntu/ natty main
deb http://gb.archive.ubuntu.com/ubuntu/ natty universe
mint-1 ~ # apt-get update
mint-1 ~ # apt-cache search dynamips
dynagen - Cisco 7200 Router Emulator Command Line Interface
dynamips - Cisco 7200/3600/3725/3745/2600/1700 Router Emulator
gns3 - graphical network simulator
Thanks