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
|