Many thanks to dmz for providing the script as I'm sure this was a very difficult process to reverse engineer and debug. The script essentially unpacks the original ASA software binary file, performs patch operations, and repacks the files (and optionally creates a bootable ISO image file). Web forum member dmz is the author of the script that allows us to run the Cisco ASA 8.4(2) software on virtualization hypervisors. $ cp $HOME/Downloads/Labs/asa842-k8.bin $HOME/Documents/ASAVM In my example, I will copy the file from my Downloads/Labs directory to the Documents/ASAVM directory. Copy/Move the Cisco ASA image file to the ASAVM directoryĪgain, feel free to copy/move the file in the GUI, but I will use the command line method. Run the following command from Terminal:Ģ. You can create the folder (directory) in the GUI, but I will use the command line method in my example. This will be the working directory for our project. The following components were used for this tutorial: Since VMware Fusion 6 can integrate with GNS3 (check out my previous post), we now have another hypervisor option to bring the Cisco ASA into the GNS3 environment. Why do this? Well, the most documented method to integrate the Cisco ASA with GNS3 is by having it run on the QEMU hypervisor. This post provides a solution on how to create a Cisco ASA device in VMware Fusion for the Mac. Follow the steps below to do this:Ģ.) Drag and drop ‘Cloud’ to the GNS3 work-space and connect it with an Ethernet Switch. You can connect ASA from the computer from which you are running GNS3. (or download from )ģ.) Download asa842-initrd.gz and asa842-vmlinuzĤ.) Now Open GNS3 and go to Edit -> Preferences -> Qemu -> Qemu VMsĥ.) Click New and type a name of your ASA deviceĦ.) Select the type as ASA 8.4(2) and click Nextħ.) Leave the Qemu binary and RAM as it is and click NextĨ.) Now browse the initrd and Kernal image which you downloaded and click Finishĩ.) Last thing you need to do is add a few more interfaces by clicking Edit -> Network and change adapters from 4 to 6ġ1.) Now in the main GNs3 window click the Browse Security Device and drag your new ASA into the workspace. You can get it from your live ASA device by copying the image to a TFTP server. You may need to register/login to get the software.Ģ.) Get a copy of ASA 8.4.2 code. Please make sure that your computer has at least 4GB of RAM before you begin.ġ.) Download and install GNS3. In GNS3, QEMU is an emulator which emulates the hardware environment for a Cisco ASA device. This post will take you through a step-by-step guide to emulate Cisco ASA 8.4.2 on GNS3. I recommend signing up for Cisco VIRL and running the virtual appliances in the new GNS3 using VMWare Workstation. This guide is no longer my recommended way of running an ASA in GNS3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |