我去完全按照这里作的:
CentOS 5.1安装d.ynamips详解.
搭建CCNP_BSCI环境
先下载以下三个软件:
d.ynagen-0.10.1.tar.gz 婚庆
dyn.amips-0.2.8-RC.2-x86.bin( 游戏 )
libpcap-0.9..8.tar.gz.
在/root下建立一个dynamips文件夹,作为运行目录,把ios..,net以及运行用的其它文件放这个文件夹中。 女人
下载完后按照以下步骤进行:
1.安装libpcap
tar .-zxvf libpcap-0.9.8.ta.r.gz健康
./configure
make
make install
2.复制/root/dynamips-.0.2.8-RC2-x86..bin到/usr/local/bin/下健康
c.p dynamips-0.2.8-RC2-x86.bin /usr/local/bi.n域名
chmod 777 dynamip.s-0.2.8-RC2-x86.bin..
l.n -s dynam.ips-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 /ro.ot/dy.namips.
cd /usr/loc.al/bin/投资
ln -s /root/dynamips/dynagen-.0.10.1./dynagen dynagen电脑
获得idle_pc
dynamips -P 7200 -t 7200 /root/dynam.ips/unzip-c7200-js-mz..123-20.bin 电子
等到进入到route>命令行后,按."ctr.l+]"松开后按i,可以获得很多idle_pc号,复制count最大的那个到net文件里 汽车
启动dynamips:
n.ice dynamips -H 7200 健康
启动控制台:
dynagen /root/dyna.mips/net/route.n.et.
进入.控制台后,大家应该知道怎么做了,呵呵!虚拟主机
设备全启动
下面是我的NET文件
autostart =. false.
[localhost]
port = 7200
udp = 10000
workingdir = ../tmp./.
[[router P1R.1]] 鲜花
image = ../ios/unzip-c7200-js-m.z.123-20.b.in.
model = 7200
console = 3001
npe = npe-400
ram = 96
confre.g = 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/unz.ip-c7200-js-mz.123-20.bin.
model = 7200
console = 3002
npe = npe-400
ram = 96
confreg = .0x2142 汽车
idlepc = 0.x60671c74 乙肝
exec_area = 64
mmap = true
slot1 = PA-4T
f.0/0 = P1R4 f0/0服务器
s1/0 = FR1 2
[[route.r P1R3]] 健康
image = ../ios/u.nzip-c7200-js-mz.123.-20.bin 乙肝
model = 7200
console = 3003
npe = npe-400
ram = 96
confreg = 0x21.42 婚庆
idlepc = 0x60671c.74 女人
exec_area = 64
mmap = true
slot1 = PA-4T
s1/0 =. P1R4 s1/0电影
[[rout.er P1R4]] 女人
image = ../ios/unzip-c7200.-js-mz.12.3-20.bin 婚庆
model = 7200
console = 3004
npe = npe-400
ram = 96
confreg .= 0x2142( 游戏 )
i.dlepc = 0x60671c74( 游戏 )
exec_area = 64
mmap = true
slot1 = PA-4T
[[r.outer BBR1]] 美容
image = ../ios/.unzip-c.7200-js-mz.123-20.bin.
model = 7200
console = 3005
npe = npe-400
ram = 96
confreg = 0x2.142.
idle.pc = 0x60671c74.
exec_area = 64
mmap = true
slot1 = PA-4T
f0/0 = BB.R2 f0/0.
s1/0 = FR1 3
[[router BBR2.]] 外汇
image = ../ios/unzip-c7.200-js-mz.123-.20.bin电影
model = 7200
console = 3006
npe = npe-400
ram = 96
confreg = 0x2.142.
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
后面没有反应:
大家帮看看怎么回事?
[
root@loca.lhost downl.oa.d]# dynamips -P 7200 -t 7200 /root/dynamips/unzip-c7200-advsecurityk9-mz.124-11.T.rar .
Cisco Router Simulation Platform (.vers.ion 0.2.8-RC2-x86).
Copyright (c) 2005-2007. Christophe Fillo.t.教育
Build. date: Oct 14 20.07 10:41:26 建材
C7200 'default': unknown NPE ty.pe '7200.'. 电子
IOS image file: /root/dy.namips/unzip.-c7200-advsecurityk9-mz.124-11.T.rar健康
ILT.: loaded table "mips64j" from cache..学习
ILT: loaded table "mips64.e" f.rom cache.教育
ILT: loaded table "ppc32j" fro.m .cache.--- 印刷
ILT: load.ed table "ppc32.e" from cache.健康
CPU0: carv.ed JIT exec zone of 64 Mb into 2048 pages of 32 Kb...
NVRAM is emp..ty, setting config register to 0x2142.
C7200. instance 'd.efault' (id 0): 鲜花
VM Status :. 0--- 印刷
.RAM size : 256 Mb--------------彩票
IOMEM size .: 0 Mb电影
.NVRAM size : 128 Kb 电子
NPE model. : npe-200( 游戏 )
.Midplane : vxr 女人
IOS image : /root/dynamips./unzip-c7200-advsecurityk9-mz.124-11..T.rar.
load_.elf_image:. invalid ELF file.
C7200 'defau.lt': failed to load Cisco. IOS image '/root/dynamips/unzip-c7200-advs.ecurityk9-mz.124-11.T.rar'..
Unabl..e to initialize router instance.<性病>
[
root@local.ho.st download]# nice dynamips -H 7200健康
Cisco. Router Simulati.on Platform (version 0.2.8-RC2-x86) 女人
Copyright (c) 2005-2.007 Christoph.e Fillot.外贸
Bui.ld date: Oct 14 2007 10.:41:26 女人
ILT: loaded table "mips64j" from cac.h.e..
ILT: loaded table. "mips64e" fr.om cache.电脑
ILT.: loaded table. "ppc32j" from cache.教育
ILT: .loaded table ".ppc32e" from cache.投资
Hypervisor .TCP control server sta.rted (port 7200). 杀毒
dyna.gen /root/dynamips/net/ro.ute.net 鲜花