How to set up Cisco ASA firewall 8.x on GNS3

by Ras 16. November 2011 16:38

Below are the configuration steps on GNS3 to get it working with Cisco ASA version 8.X.

1- Download and install GNS3

http://www.gns3.net/download

2- Download the below zip file which includes all required files:

http://rapidshare.com/files/444753211/asa.zip

or

http://www.mediafire.com/download.php?1ol3njom97v79mk

 

3- Configure GNS3 preferrences -> QEMU -> ASA with below settings

Qemu options: -hdachs 980,16,32 -vnc :1

Initrd:          C:\ASA\asa.gz
Kernel:          C:\ASA\vmlinuz
Kernel cmd line: -append auto nousb ide1=noprobe bigphysarea=16384 console=ttyS0,9600n8 hda=980,16,32


4- After you start the simulation on the openning window type the following commands:

modprobe e1000
ifconfig eth0 hw ether 00:00:AB:CD:10:10
ifconfig eth1 hw ether 00:00:AB:CD:10:11
ifconfig eth2 hw ether 00:00:AB:CD:10:12
ifconfig eth3 hw ether 00:00:AB:CD:10:13
ifconfig eth4 hw ether 00:00:AB:CD:10:14
ifconfig eth5 hw ether 00:00:AB:CD:10:15
ifconfig eth0 up
ifconfig eth1 up
ifconfig eth2 up
ifconfig eth3 up
ifconfig eth4 up
ifconfig eth5 up
cp /asa/bin/lina /mnt/disk0/lina
cp /asa/bin/lina_monitor /mnt/disk0/lina_monitor
cd /mnt/disk0
/mnt/disk0/lina_monitor

PS - For ASA version 8.4 I have created a new post, plz see below:

http://www.network-blog.com/ittech/post/2012/02/06/Configure-Cisco-ASA-firewall-version-84-on-GNS3.aspx

Tags:

Cisco | Security

Comments (20) -

CiscoTech
CiscoTech United States
11/21/2011 11:19:22 AM #

Great info, but what about those of us who don't have or don't want a rapidshare account?  Just how do you expect us to get the asa.zip file? How about just listing the files we need to download from Cisco?

Reply

rasoolg
rasoolg United States
11/23/2011 8:29:44 PM #

You don't need a rapidshare account to download. It is free for everyone.

Reply

FabParis
FabParis France
11/29/2011 2:02:29 AM #

Hi Ras, the Rapidshare link does not work anymore (The following download is not available)... Coukld you please re-upload the file ? Mediafire maybe ?

Reply

rasoolg
rasoolg United States
11/29/2011 5:34:07 PM #

I have added a mediafire link too, however it must be a geographical issue as the rapidshare link is working here too.

Reply

FabParis
FabParis France
11/30/2011 1:18:21 AM #

Thanks a lot, file downloaded.

Reply

Rod
Rod United States
12/21/2011 5:01:54 PM #

Hey,
The version included in your file is 8.02. Do you know if 8.2 can also be run using your method? I am assuming so since you said 8.x, but how would I get the bin files converted accordingly?
Thanks

Reply

rasoolg
rasoolg United States
12/23/2011 2:52:40 AM #

Hi,

I don't think 8.2 be a problem but I know you might need to try a couple of versions and models to get it working.
I could get it working with 8.3 once but don't have the IOS with me, will check if I can find it. I use winrar to unarchive the bin file to be honest!

Reply

john
john United States
1/15/2012 7:31:24 AM #

thanks for this

Reply

Lukasz
Lukasz United States
1/27/2012 7:56:51 PM #

That's awesome, thx for sharing this...could you explain how to run ver 8.3 please?

Reply

rasoolg
rasoolg United States
2/6/2012 9:43:21 PM #

I have posted a new article to get asa version 8.4 working on GNS3, plz see below:

www.network-blog.com/.../...ersion-84-on-GNS3.aspx

Reply

soemin
soemin Singapore
5/24/2012 10:58:10 AM #

May i know the login Password? thanks.

Reply

Sreenadh Kalissery
Sreenadh Kalissery India
5/2/2013 7:44:37 AM #

Can u send me the password ??

Reply

soemin
soemin Singapore
5/24/2012 10:59:15 AM #

I got it! Thanks for your post!! cheer!!!

Reply

Memphis
Memphis United States
6/10/2012 1:51:06 PM #

nothing happens after typing those commands on the window, whats the next step to console to the ASA.

Reply

neeraj
neeraj India
8/1/2012 6:50:07 PM #

After pasting the  script I am successfully able to login into ASA ver8.0. However I am unable to save running config. Could you please help how to save ?

ASA1(config)# wr mem
Building configuration...
Cryptochecksum: 9a8d9442 7e924dd6 fa30dfb9 551db509

%Error copying system:/running-config (Not enough space on device)
Error executing command
[FAILED]
ASA1(config)#
*******************
ASA1(config)# copy run disk0:/.private/startup-config

Source filename [running-config]?

Destination filename [/.private/startup-config]?
Cryptochecksum: 9a8d9442 7e924dd6 fa30dfb9 551db509

%Error copying system:/running-config (Not enough space on device)
******************

Reply

h2help
h2help Sri Lanka
8/6/2012 10:57:54 PM #

Really Good stuff, but after i did all the steps still i can open the console of ASA but nothing happens, what would be the reason, please help ???

Reply

nimesh
nimesh India
8/18/2012 2:02:05 AM #

nothing happens after typing those commands on the window, whats the next step to console to the ASA.
plz help me...

Reply

Marissol
Marissol Brazil
8/30/2012 7:51:27 AM #

Hello,

5585SSP10 necessary to run the ASA in GNS-3. The image I already have. Does anyone know the procedure for specification of kernel and initrd settings?

Who can help ..

Reply

zaz
zaz United States
9/8/2012 2:31:09 PM #

Hi ,
can anyone please tell me why Vlan command is not working in ASA , I tried this
ciscoasa(config)# interface vlan 12
                            ^
ERROR: % Invalid input detected at '^' marker.

please advise
thanks

Reply

Hamid
Hamid United Kingdom
12/25/2012 5:23:44 PM #

Works like a charm, Top man, thanks

Reply

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About the author

Ras is a network/Security professional working on multiple areas with multiple certificates like CCNP, CCIP, CCSP, CCSA, CCSE, LPI, PM, IPv6, ..

Month List