cool ! pix SIM
cool ! pix SIM ,
Wow, it is great to see a pix
simulator working.
I used the binary and this is what I did:
Step
1:
Create flash disk
Code:
dd if=/dev/zero of=FLASH bs=1k count=16kStep
2:
Get Pix 7.2.1 image and copy it into my pixemu directory.
Step
3:
unzip it
Code:
unzip pix721.bin
mv target/f1/pix
./
Step 4:
edit pixemu.ini, i just used the
defaults to test it out
Step 5:
Run it
Code:
./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
[root@dynamips
pixemu_public2007-04-11_bin]# ./pixemu -netnic,vlan=1,macaddr=00:aa:00:00:02:01
-net tap,vlan=1,script=if1up -netnic,vlan=2,macaddr=00:aa:00:00:02:02 -net
tap,vlan=2,script=if2up-serial stdio -m 128 FLASH
Could not open '/dev/kqemu'
- QEMU acceleration layer not activated
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# sh ver
Cisco PIX
Security Appliance Software Version 7.2(1)
Compiled on Wed 31-May-06
14:45 by root
System image file is "Unknown, monitor mode tftp booted
image"
Config file at boot was "startup-config"
pixfirewall up 52
secs
Hardware: PIX-525, 128 MB RAM, CPU Pentium II 1
MHz
Flash E28F128J3 @ 0xfff00000, 16MB
BIOS Flash AM29F400B @ 0xfffd8000,
32KB
0: Ext: Ethernet0
: address is 00aa.0000.0202, irq 9
1: Ext: Ethernet1
: address is 00aa.0000.0201, irq
11
The Running Activation Key is not valid, using default
settings:
Licensed features for this platform:
Maximum Physical
Interfaces : 6
Maximum VLANs
: 25
Inside Hosts
: Unlimited
Failover
:
Disabled
VPN-DES
: Disabled
VPN-3DES-AES
:
Disabled
Cut-through Proxy
: Enabled
Guards
:
Enabled
URL Filtering
: Enabled
Security
Contexts : 0
GTP/GPRS
:
Disabled
VPN Peers
: Unlimited
This platform has a
Restricted (R) license.