pixemu模拟器出来啦,可以用真实的
pix的
ios来做实验了.
我用的是linux Fedora6 试验成功的!
第一步:安装qemu这个模拟器
在linux下用yum install qemu -y可以自动的安装qemu模拟器.
第二步:下载并安装dkms-kqemu-1.3.0-0.1.pre11.noarch.rpm进行安装 这个地方可以下载到[url]http://fedoranews.org/tchung/qemu/0.9.0/fc6/dkms-kqemu/dkms-kqemu-1.3.0-0.1.pre11.noarch.rpm[/url]
第三步:下载安装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#