Sunday, March 31, 2013

emulate CISCO ASA 8.4 on GNS3

This tutorial is outdated. New tutorial can be found at  . It is our new blog :-)

Today, I would like to share how to setup ASA 8.4 Firewall on GNS3.

[1] Download asa image for GNS3

here is the link :-
This file contain with initrd, vmlinuz and asdm 6.4

In any case above link is not working use below alternative link to download the file :-
link 1 :-
link 2 :-

[2] Download & Install GNS3

You can download latest version from

[3] Configure GNS3 for ASA

go to "Edit" --> "Preferences..."
On "Preferences" window, select "Qemu" and then choose "ASA" from the tabs

Fill the ASA setting & ASA Specific Settings as below . Screen capture is attached for your reference.

GNS3 Preferences

Qemu Options  & Kernel cmd line is important

Identifier name :     ( you can give any name )
RAM :     1024MB  ( at least 1024MB)
Qemu Options :     -vnc none -vga none -m 1024 -icount auto -hdachs 980,16,32
Kernel cmd line :     -append ide_generic.probe_mask=0x01 ide_core.chs=0.0:980,16,32 auto nousb console=ttyS0,9600 bigphysarea=65536

Click " save " and then "OK" and exit form that window.
drag and drop ASA firewall into work enviroment and run, It may take some time to boot please be patient !

[4] Configure activation keys

you can use one of below activation key
0x4a3ec071 0x0d86fbf6 0x7cb1bc48 0x8b48b8b0 0xf317c0b5
0xb23bcf4a 0x1c713b4f 0x7d53bcbc 0xc4f8d09c 0x0e24c6b6

for example :-

ciscoasa#conf t
ciscoasa(config)#activation-key 0x4a3ec071 0x0d86fbf6 0x7cb1bc48 0x8b48b8b0 0xf317c0b5

now it is done.


  1. Hi,, thanks .... 1st time i am running cisco ASA image.... till now i was using pix well as oi can do labs based on ASA software 8.4 which is little different config then 8.2////

    thanks for the post...very helpful.


  2. Hi there,
    I tried first time this ASA image , it works perfect .
    Thanks a lot :-)

  3. Please help.. Its not working form me.. its stopped after the mount command as instructed. I'm using windows XP..

    Please press Enter to activate this console.
    # cd /mnt/disk0
    # ls
    lina lina_monitor
    # pd
    -ash: pd: not found
    # pwd
    # /mnt/disk0/lina_monitor

    Processor memory 728686592, Reserved memory: 41943040 (DSOs: 0 + kernel: 41943040)
    Guest RAM start: 0xb4800080
    Guest RAM end: 0xdd400000
    LINA unit number: 1
    Guest RAM brk: 0xb4801000

    MKDIR failed No such file or directory for /var/log/
    Welcome to LINA - ( F1-on-Linux platform ) desktop version!

    * *
    * This product is for Cisco internal use ONLY!!! *
    * *

    i2c_read_byte_w_wait() error, slot = 0x4, device = 0xb0, address = 0 byte count = 1. Reason: RT

    Total SSMs found: 0
    Ignoring PCI card in slot:0 (vendor:0x0 deviceid:0x0)
    Ignoring PCI card in slot:1 (vendor:0x0 deviceid:0x0)
    Ignoring PCI card in slot:2 (vendor:0x0 deviceid:0x0)
    Ignoring PCI card in slot:3 (vendor:0x0 deviceid:0x0)
    Ignoring PCI card in slot:4 (vendor:0x0 deviceid:0x0)
    Ignoring PCI card in slot:5 (vendor:0x0 deviceid:0x0)
    Ignoring PCI card in slot:6 (vendor:0x0 deviceid:0x0)

    Total NICs found: 6
    setup_irq: irq handler mismatch

    Unable to open /proc/irq/15/irq error: Device or resource busy
    Panic: kernel - intr_establish: open interupt descriptor irq 15

    Traceback output aborted.
    Flushing first exception frame:
    Abort: Assert failure
    vector 0x00000000
    edi 0x0000000f
    esi 0xb4e4a7c8
    ebp 0xb47f7658
    esp 0xb47f764c
    ebx 0x000000e5
    edx 0xb47f7690
    ecx 0x00000006
    eax 0x00000000
    error code n/a
    eip 0xdd6a72a1
    cs 0x00000073
    eflags 0x00000246
    CR2 0x00000000
    Nested traceback attempted via signal, from:
    Page fault: Address not mapped
    vector 0x0000000e
    edi 0xb47f70db
    esi 0xb47f70bf
    ebp 0xb47f6fe8
    esp 0xb47f6fa0
    ebx 0xb47f70bf
    edx 0x08acd5d8
    ecx 0x00000000
    eax 0x00000000
    error code 0x00000004
    eip 0x0805ee77
    cs 0x00000073
    eflags 0x00000286
    CR2 0x00000084

    An internal error occurred. Specifically, a programming assertion was
    violated. Copy the error message exactly as it appears, and get the
    output of the show version command and the contents of the configuration
    file. Then call your technical support representative.

    assertion "_vf_mode_init" failed: file "vf_api.c", line 99

    Restarting system.

  4. ASA got a password ? what is it

  5. just hit "[ENTER]" key. I guess there is no password

  6. i can't download. it says the user is out of bandwidth

  7. This comment has been removed by the author.

  8. Hey what are you guys using for Qemu? It keeps telling me "failed to start qemu"

    1. That's because you're not using the GNS3 all-in-one file. Get qemu from, expand it and point the qemu and qemu-img path's in GNS3 appropriately. It'll work.

  9. Everything works ok, I use the version of GNS3 0.8.5 select preconfiguration ASA 8.4(2) and follow the instructions.

    Tested with Win7 64 Bits and WinXP 32 Bits


  10. Thank you! its working for me as well. it failed in first 3 attempts but surprisingly with same setting it started! wondering why it did not start first. anyways thanks ! :) am using GNS3 0.8.6 latest all in one version and Win 7 64 bit

  11. THanks it is great.

  12. Thanks friend its really very useful for me.

  13. Hi!
    I 'm not able to create a managment interface, Can you help me?

  14. Hi i have 1024 Mb RAM in PC will it work or not? As i have installed the file and putty the session but it is giving me the network connection refused...restarting in 4..3..2..1 sec and this continues for long time for 30 min.. Please help me..

  15. as above instructions I did same but m while dragging asa on work area page it giving me error " connection lost"

  16. activation-key 0x9933e843 0x88a03a01 0xdd60b0f8 0xd2886c64 0x0f28fd93

  17. A IEEE project is an interrelated arrangement of exercises, having a positive beginning and end point and bringing about an interesting result in Engineering Colleges for a particular asset assignment working under a triple limitation - time, cost and execution. Final Year Project Domains for CSE In Engineering Colleges, final year IEEE Project Management requires the utilization of abilities and information to arrange, plan, plan, direct, control, screen, and assess a final year project for cse. The utilization of Project Management to accomplish authoritative objectives has expanded quickly and many engineering colleges have reacted with final year IEEE projects Project Centers in Chennai for CSE to help students in learning these remarkable abilities.

    Spring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Spring Framework Corporate TRaining the authors explore the idea of using Java in Big Data platforms.
    Specifically, Spring Framework provides various tasks are geared around preparing data for further analysis and visualization. Spring Training in Chennai

  18. It’s difficult to find experienced people in this particular topic, however, you seem like you know what you’re talking about! Thanks
    Tech news

  19. This site truly has all the develop information and facts I needed concerning this subject and didn’t know who to ask.

  20. Way cool! Some very valid points! I appreciate you writing this article and gadgets up also the rest of the site is also very good.

  21. So the digital marketing industry is going to be the next hopes for better business results and career growth in coming years. data science course syllabus


Related Posts