Many folks are likely practicing for certifications and have trouble being able to get thier hands ahold of real equipment to praactice on. GNS3 is a great tool for basic emulation of routers, switches (with some tricks) and firewalls!
Most folks want to emulate an ASA, which I am not currently aware of any product thaat will do this, but for the moment, the PIX code is virtually identical! The primry differences what most people will notice (from an emulation perspective anyway) is that the interfaces have slight differences (Ethernet0-5 vs. Ethernet0/0-3 & Management0/0) and the SSM modules are not present and the IPS and Content inspection commands for the service policies won't exist.
But what aabout licensing? This is where the real trouble happens, your emulated PIX by default won't have an activation key or serial number. Ooops! This means no VPN, not even DES! No failover either! Therefore you can't test any config that requires these features. What you need to do is to locate a valid PIX somewhere. In my case, I have a PIX 515E at work in our lab.
I pulled a show ver from that PIX and made note of the Serial Number and Activation Key. Once I had these, I go into GNS3 and right click on my PIX (from the network topology window) and select configure. Obviously you need to select your PIX code file here, but you can also paste in the activation key. You will get an error if you just paste it in though. You must change the spaces in the activation key into commas ",". The serial number field requires the information to be entered in hex. So open your handy calculator and enter the decimal serial number from the real unit or from the show ver and convert it to hex. You can then past this number into the field in GNS3 with a "0x" in front of it. Depending on the code you choose, the activation key may or may not work at this point. If it doesn't simply enter config mode on your virtual PIX and enter the activation-key command. after a save and reboot the PIX should accept the key and work with the same license as the real one.
Just as an important note: This is NOT intended as a way to bypass Cisco's licensing. You should not even think about using a GNS3/PEMU emulated firewall for production security purposes. If you have a production need, eBay a PIX or better yet, buy a shiney new ASA 5505. Only use this information in a lab. Also, don't even think about asking me for activation keys or serial numbers.
