Friday, October 2, 2009

PEMU 10 Steps Guide

Dynamips has changed the network world and it helped many network fans to obtain the network labs without paying any fee. The new simulator PEMU makes the security lab available on your computer.
Following the name last time, just call it
PEMU 10 Steps for Dummies
by CiscoSpot
Any distribution is welcome, please feel free to contact net@netap.com
1. Download PEMU and decompress it to any folder.
2. Copy PIX OS to the same folder with PEMU.
3. Change the image in pemu.ini file, take pix802.bin for example.
4. Create one .bat file and edit it with the following contents. It’s in ONE line.
Pemu -net nic,vlan=1,macaddr=00:00:0c:00:00:01 -net udp,vlan=1,sport=8000,dport=9000,daddr=127.0.0.1 -net nic,vlan=2,macaddr=00:00:0c:00:00:02 -net udp,vlan=2,sport=8001,dport=9001,daddr=127.0.0.1 -net nic,vlan=3,macaddr=00:00:0c:00:00:03 -net udp,vlan=3,sport=8002,dport=9002,daddr=127.0.0.1 -serial telnet::4444,server -m 128 FLASH
5. Make a copy of FLASH.empty and change the name to FLASH.
6. Run the .bat file that created.
7. Telnet to 127.0.0.1 4444. If any problem occurred when decompressing the image, you have one option that you change the pix.bin to pix.rar and decompress then get the file pix. Copy it to the PEMU folder and change the pemu.ini to map to this image, “image=pix”.
8. The CPU utilization will be 100%, and there is no tool integrated in PEMU. Download BES and run it to control the CPU utilization.
9. Change your dynagen .net file as follows. If you’re not familiar with Dynamips, please see the post “Dynamips 10 Steps for Dummies” in this blog.
[[2610XM]]idlepc = 0×803f4b40image = F:\EMU\pemu\routers\c2600-is-mz.122-32.binram = 64
[[ROUTER R1]]f0/0 = NIO_udp:9000:127.0.0.1:8000[[ROUTER R2]]f0/0 = NIO_udp:9001:127.0.0.1:8001[[ROUTER R3]]f0/0 = NIO_udp:9002:127.0.0.1:8002
10. Now the PIX can communicate with the routers you configured and the result is,

No comments:

Post a Comment