热门标签 | HotTags
当前位置:  开发笔记 > IOS > 正文

CentOS5.1安装dynamips详解

CentOS5.1安装dynamips详解--Linux企业应用-Linux服务器应用信息,下面是详情阅读。
搭建CCNP_BSCI环境

先下载以下三个软件:

dynagen-0.10.1.tar.gz

dynamips-0.2.8-RC2-x86.bin

libpcap-0.9.8.tar.gz

在/root下建立一个dynamips文件夹,作为运行目录,把ios,net以及运行用的其它文件放这个文件夹中。

下载完后按照以下步骤进行:

1.安装libpcap

tar -zxvf libpcap-0.9.8.tar.gz
./configure
make
make install

2.复制/root/dynamips-0.2.8-RC2-x86.bin到/usr/local/bin/下
cp dynamips-0.2.8-RC2-x86.bin /usr/local/bin

chmod 777 dynamips-0.2.8-RC2-x86.bin
ln -s dynamips-0.2.8-RC2-x86.bin dynamips

3.解压dynagen-0.10.1.tar.gz
tar -zxvf dynagen-0.10.1.tar.gz

mv dynagen-0.10.1 /root/dynamips
cd /usr/local/bin/
ln -s /root/dynamips/dynagen-0.10.1/dynagen dynagen

获得idle_pc
dynamips -P 7200 -t 7200 /root/dynamips/unzip-c7200-js-mz.123-20.bin

等到进入到route>命令行后,按"ctrl+]"松开后按i,可以获得很多idle_pc号,复制count最大的那个到net文件里

启动dynamips:
nice dynamips -H 7200

启动控制台:
dynagen /root/dynamips/net/route.net

进入控制台后,大家应该知道怎么做了,呵呵!

设备全启动

下面是我的NET文件

autostart = false


[localhost]

port = 7200

udp = 10000

workingdir = ../tmp/


[[router P1R1]]

image = ../ios/unzip-c7200-js-mz.123-20.bin

model = 7200

cOnsole= 3001

npe = npe-400

ram = 96

cOnfreg= 0x2142

idlepc = 0x60671c74

exec_area = 64

mmap = true

slot1 = PA-4T

f0/0 = P1R3 f0/0

s1/1 = P1R2 s1/1

s1/0 = FR1 1


[[router P1R2]]

image = ../ios/unzip-c7200-js-mz.123-20.bin

model = 7200

cOnsole= 3002

npe = npe-400

ram = 96

cOnfreg= 0x2142

idlepc = 0x60671c74

exec_area = 64

mmap = true

slot1 = PA-4T

f0/0 = P1R4 f0/0

s1/0 = FR1 2



[[router P1R3]]

image = ../ios/unzip-c7200-js-mz.123-20.bin

model = 7200

cOnsole= 3003

npe = npe-400

ram = 96

cOnfreg= 0x2142

idlepc = 0x60671c74

exec_area = 64

mmap = true

slot1 = PA-4T

s1/0 = P1R4 s1/0


[[router P1R4]]

image = ../ios/unzip-c7200-js-mz.123-20.bin

model = 7200

cOnsole= 3004

npe = npe-400

ram = 96

cOnfreg= 0x2142

idlepc = 0x60671c74

exec_area = 64

mmap = true

slot1 = PA-4T



[[router BBR1]]

image = ../ios/unzip-c7200-js-mz.123-20.bin

model = 7200

cOnsole= 3005

npe = npe-400

ram = 96

cOnfreg= 0x2142

idlepc = 0x60671c74

exec_area = 64

mmap = true

slot1 = PA-4T

f0/0 = BBR2 f0/0

s1/0 = FR1 3


[[router BBR2]]

image = ../ios/unzip-c7200-js-mz.123-20.bin

model = 7200

cOnsole= 3006

npe = npe-400

ram = 96

cOnfreg= 0x2142

idlepc = 0x60671c74

exec_area = 64

mmap = true

slot1 = PA-4T

s1/0 = FR1 4


[[FRSW FR1]]

1:102 = 2:201

1:103 = 3:301

1:104 = 4:401

2:203 = 3:302

2:204 = 4:402

3:304 = 4:403
推荐阅读
author-avatar
ian
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有