免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1240 | 回复: 0
打印 上一主题 下一主题

PIX模拟器 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-28 23:31 |只看该作者 |正序浏览
[color="#295200"]

pixemu模拟器出来啦,可以用真实的pix的ios来做实验了.
我用的是linux Fedora6 试验成功的!
第一步:安装qemu这个模拟器
在linux下用yum install qemu -y可以自动的安装qemu模拟器.
第二步:下载并安装dkms-kqemu-1.3.0-0.1.pre11.noarch.rpm进行安装 这个地方可以下载到
http://fedoranews.org/tchung/qemu/0.9.0/fc6/dkms-kqemu/dkms-kqemu-1.3.0-0.1.pre11.noarch.rpm
第三步:下载安装pixemu_public2007-04-13.tar.bz2这个文件,安装完后把下载的pix的ios拷到到这个pixemu_public2007-04-13
第四步:解压ios:这是721的ios (1)unzip pix721.bin (2)mv target/f1/pix ./
第五步:在pixemu_public2007-04-13输入dd if=/dev/zero of=FLASH bs=1k count=16k,如果出错就把bs=1k去掉!

五步:运行./pixemu -net nic,vlan=1,macaddr=00:aa:00:00:02:01 -net
nic,vlan=1,script=if1up -net nic,vlan=2,macaddr=00:aa:00:00:02:02 -net
nic,vlan=2,script=if2up -serial stdio -m 128 FLASH
就可以了!
关于pixemu可以在liunx下面输入./pixemu就可以看到了
[root@
pixemu_public2007-04-11_bin]# ./pixemu -net
nic,vlan=1,macaddr=00:aa:00:00:02:01 -net tap,vlan=1,script=if1up -net
nic,vlan=2,macaddr=00:aa:00:00:02:02 -net tap,vlan=2,script=if2up
-serial stdio -m 128 FLASH
Values read from ini file::
serial=12345678 (305419896)
image="pix"
key=0,0,0,0
image file  read 18374703 bytes, @100000
128MB RAM
Total NICs found: 2
     i82559 Ethernet at irq 11  MAC: 00aa.0000.0201
     i82559 Ethernet at irq  9  MAC: 00aa.0000.0202
BIOS Flash=am29f400b @ 0xd8000
Could not determine the file system type. Data in the flash will be lost.
Initializing flashfs...
flashfs[7]: Checking block 0... checksum (61666 != 61425)
flashfs[7]: erasing block 0...done.
flashfs[7]: Checking block 1...block number was (0)
.
.
.
flashfs[7]: flashfs fsck took 3 seconds.
flashfs[7]: Initialization complete.
Need to burn loader....
Erasing sector 0...[OK]
Burning sector 0...[OK]
INFO: Unable to read firewall mode from flash
       Writing default firewall mode (single) to flash
Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
This activation key is not valid, use default settings only
  --------------------------------------------------------------------------
                                 .            .                              
                                 |            |                              
                                |||          |||                           
                              .|| ||.      .|| ||.                          
                           .:||| | |||:..:||| | |||:.                        
                            C i s c o  S y s t e m s                        
  --------------------------------------------------------------------------
Cisco PIX Security Appliance Software Version 7.2(1)
Copyright (c) 1996-2006 by Cisco Systems, Inc.
                Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
                Cisco Systems, Inc.
                170 West Tasman Drive
                San Jose, California 95134-1706
Type help or '?' for a list of available commands.
pixfirewall>
pixfirewall> en
Password:
pixfirewall#

               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19769/showart_288487.html
  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP