GNS3 – How to communicate with Pemu
Posted by Josh on Wed 23 Apr 2008Categories: Cisco , GNS3 , PEMU - [50] Comments
In this tutorial, you will learn how to connect an MS Loopback interface on your PC to the PEMU Pix emulator using GNS3. The trick is to use a switch between the cloud and the virtual PIX.
The same theory works to connect your virtual PIX to a physical interface on your PC. I have successfully created a lab that allows me to connect to the inside interface of the PIX to the loopback interface and the outside interface to a physical interface on my PC.
Maybe I will create a tutorial for the above scenario. Stay tuned.
MS Loopback Tutorial
GNS3 – Pix Emulator Tutorial


April 23rd, 2008 at 4:47 am
thanks so much will give a try
April 23rd, 2008 at 11:11 am
Great as usual, Josh.
I may try to get this running on an old box to simulate a PIX in a real network.
April 28th, 2008 at 3:56 am
What about cisco webvpn (ssl VPN) video soon? Thanks
April 28th, 2008 at 11:02 pm
Todendi,
If you have an ASA firewall, I would like to do a tutorial on SSL VPN with the new AnyConnect Client.
I have installed it on an ASA and it is very nice.
The problem is that it only runs on ASA ver 8.0 and on an ASA firewall and not a pix. Pemu does not emulate an ASA (only a Pix). I have not been able to get ver 8.0 to run with pemu.
Josh
May 1st, 2008 at 11:58 am
What kind of software do you use to create this wonderful video? Thanks,
May 1st, 2008 at 11:18 pm
I used Camtasia Studio for this video. I have also used Wink in the past.
May 18th, 2008 at 4:13 pm
just one word
brilliant
May 22nd, 2008 at 9:55 pm
Is there any one can write the steps by step for connect pc to pix?
please
i cant see the video
thanks in advance
May 31st, 2008 at 2:02 am
[...] Since I discovered Dynamips and Pemu, I have been trying to figure out a way to test Pix configurations with a single PC running Windows XP. The real trick has always been communicating with the virtual Pix. With Linux, it was not a problem but Windows has always been another story until I recently figured out how to communicate with pemu using GNS3. [...]
June 17th, 2008 at 3:41 pm
I am having problem saving the topology. The network consist one cloud, one switch, and a PIX. Everything is working fine (can telnet to the PIX from my PC) but if I saved the network and re-launch the .net file. The switch will no longer there and the cloud will no longer work. I have to re-create another cloud and put in a switch again. I have this error when I tried to save the network. “KeyError: u’localhost:7200′. Can someone help?
June 24th, 2008 at 9:22 am
I have the same save problem
June 24th, 2008 at 9:39 am
I am working on a tutorial for saving labs. It is a little tricky. – josh
June 30th, 2008 at 4:10 am
Thanks Josh, yeah I still have that problem.
July 1st, 2008 at 1:12 pm
I am new to PEMU and GNS3 and I need some guidance on the basic setup for PIX.
When I setup the PEMU PIX information (i.e. path, SN, KeyCode), I receive a PEMU error ‘…Pemu cannot start on port 10525…’ as soon as I place the PIX icon in the workspace. I am running MS Vista and using PIX 7.24
Any help would be appreciated.
TomK
July 12th, 2008 at 2:27 am
No matter what i do, i am unable to ping the inside interface of the PIX in PEMU, the outside interface works fine, When i connect the cloud to the router, i can ping the router from my PC, but not the PIX.
I have used the switch, so thats not the problem.
i have connected two PIX using switches parallely, i can mutually ping their outside interfaces but, not the inside interfaces.
Could anyone suggest a solution.
July 12th, 2008 at 8:25 am
Hi
Im facing all kinds of strange problems with PEMU, i have connected a PC’s loopback interface to a switch and then to a PIX, the PIX is then connected to the router, i can ping the firewall outside from the router and vice versa
this image represents the setup, ignore the second PIX
http://i342.photobucket.com/albums/o410/vj_v1/test1.jpg
The problem is i am not able to ping the PIX from the PC, the loopback interface etc are fine, when i ping from the PIX to the pc and simultaneously from the PC to the PIX, i get the ping every now and then. this seems somewhat strange,
http://i342.photobucket.com/albums/o410/vj_v1/test2.jpg
Could anyone suggest a solution
Thanks in advance
July 13th, 2008 at 1:44 am
@Vj,
Could it be an ARP issue between the loopback interface and the PIX? Maybe try connecting the pix to your ethernet interface instead of the loopback.
Use arp -a to see arp resolution on the PC and show arp on the firewall.
Josh
July 13th, 2008 at 8:08 am
Thankyou for the reply
arp appears to be fine but the problem still persists.
http://i342.photobucket.com/albums/o410/vj_v1/test3.jpg
July 17th, 2008 at 12:11 am
outstanding tutorials and tips…
keep it up…
thanks
July 17th, 2008 at 12:12 am
i am adding you to my site…
July 31st, 2008 at 2:48 am
Hi All,
I have added LoopBack adapter on my pc but still not able to telnet the PIX.(Done connectivity).
Help me out of this problem.
Regards
Akshay
July 31st, 2008 at 3:21 am
Hi ALl,
do i need PIX IOS for implementing the firewall network.If yes which IOS is recommended..
August 1st, 2008 at 2:44 am
Hi,,
I am not able to ping the PIX from PC(Vice-versa).But i m learning the MAC-Address of both the interfaces..
I hope u can resovle the issue..Waiting for ur repsonce..
August 2nd, 2008 at 10:13 pm
Haris,
Thanks!
Josh
August 2nd, 2008 at 10:17 pm
Akshay,
Use the following command to enable telnet to an inside ip address.
telnet 0 0 inside
You will need software specifically for the Pix. The Pix does not run IOS.
Also, watch this tutorial. It may answer some of your questions.
http://www.blindhog.net/pemu-pix-emulator-with-gns3/
Josh
September 22nd, 2008 at 2:51 am
When I setup the PEMU PIX information (i.e. path, SN, KeyCode), I receive a PEMU error ‘…Pemu cannot start on port 10525…’ as soon as I place the PIX icon in the workspace. I am running window xp 64bit edition and using PIX 7.24
Any help would be appreciated.
September 23rd, 2008 at 10:34 pm
nwachonky,
Try this:
If you do not need a license key, skip step 1.
1) Search google and ebay for show version output of a Pix firewall with an unrestricted license.
http://www.blindhog.net/gns3-how-to-find-pix-images-pix-serial-numbers-and-ios-images-using-google/
2) Set the default serial number of Pix firewalls in GNS3 to match the serial number of the output you found on ebay or google.
3) Boot the virtual firewall
4) Enter the activation key from the CLI
5) Save the GNS3 topology as a project.
http://www.blindhog.net/gns3-how-to-save-labs-with-router-configs/
Josh
November 1st, 2008 at 1:50 am
guys I’m stranded here in the field,i’m on a real asa firewall and I can’t seem to get the right mac address for the interface.The ISP requires one to map with the IP address….please help…
November 4th, 2008 at 2:53 pm
Hi
I am new to PEMU and GNS3 and I need some guidance on the basic setup for PIX.
I am able to set up the PIX with OS 7.2.4 and able to telnet to it. The problem is the cloud that I cannot configure. I can’t choose an adaptor to be associated. I have install MS loopback and configured the LAN and Loopback IP. I have also bridge these 2 adapters. Is there something else I need to do? I am however using Vista, don’t know if it can be an issue? Please help. Thanks.
November 24th, 2008 at 11:10 am
hey guys,I have configured SSL VPN on an 1800 router.I can connect to almost everything except my outlook is not working,not connecting,and I can’t connect to the server as well,authentication keeps failing…is it because I’m authenticating locally on the router?please help..
December 4th, 2008 at 10:27 pm
Hi guys,
The software is excellent for pix. But I am unable !#@$!#$ to save a topology, or the configuration when I setup a cloud to connect to the pix from my pc. I run windows XP with GNS3. Any ideas? I get the following error when saving…….
Dynagen management console for Dynamips (adapted for GNS3)
Copyright (c) 2008 GNS3 Project
=> ———Traceback lines (saved in exception.log)———-
Traceback (most recent call last):
File “GNS3\Workspace.pyo”, line 545, in __action_NewProject
File “GNS3\Workspace.pyo”, line 580, in __action_Save
File “GNS3\NETFile.pyo”, line 809, in export_net_file
File “GNS3\Dynagen\configobj.pyo”, line 532, in __getitem__
KeyError: u’localhost:7200′
———————————————————–
Thanks.
December 5th, 2008 at 8:19 am
Chaminda,
Try this link for saving projects. Post back if you are still having problems.
http://www.blindhog.net/gns3-how-to-save-labs-with-router-configs/
Josh
December 11th, 2008 at 4:19 am
I got the reason why I wasn’t connecting,I need to add the FQDN of the exchange server in my etc/hosts file in my client OS.
March 17th, 2009 at 10:30 am
@ nwachonky
Im using XP 32-bit and PIX 7.23 also recv same error. I launched pemuwrapper.exe and restarted the program and problem went away.
July 23rd, 2009 at 3:39 am
Hi, josh.
firstly i wana thank you for all your videos initially i was struggling a lot with gns3 now i am in love with it,i just love it,i work for cisco partner company so for me ios and other softwares not at all prob.
finally i see many people they dnt respond to their blogs, even with this busy schedule your replying to almost every one. i appreciate your kindness and patient. i wish you all success to you in future. i am preparing my ccsp and as i see there are lot of videos on voice soon i may join you guys in voice but still i havent got chance to implement it. sorry guys for writing such long.
Thanks and Regards,
Praveen
July 27th, 2009 at 9:58 pm
I need to configure some IP on my microsoft Adapter. Can Any tell me how to do that.
January 15th, 2010 at 4:52 am
Hi I am using gns3.7 the latest release and I dont know wahts happeneing but 2 problems I am facing with.
1. I dont see any loopback interface on my windows pc (I hate windows but have to use it no choice)
2. Since there is Qemu other than Pemu, PIX is not allowed to connect to the switch.
Kindly let me know what should I do to fix this.
March 17th, 2010 at 6:38 pm
Zeeshan follow this
1–> just restart your pc and loopback will come up, it happened to me.
2–>I am using GNS3.07, no issue as such, i upload asa7.2 image to pix and valid serial and activation (license) key. I implemented above lab without any problem.
hope it helps
For those who have communication issue with inside interface, hope you have given ip address in same subnet of your loopback interface…
August 10th, 2010 at 10:30 pm
This comment is about your video about connecting Pix to real internet. Do you have to have static IP addresses from your ISP?Where do you get the ip address for outside interface on ASA?
I have loopback 172.16.1.1/24 gateway 172.16.1.15 connected to inside 172.16.1.15/24 and they can ping eachother. I have outside connected to physical NIC. I loose connectivity to internet when I remove GW from it. I assign that gateway to outside int and assign it ip one less than the NIC ip like you do in the video, but it does not work. What am I missing?
Thanks.
August 11th, 2010 at 11:29 am
Moody,
The post was setup in a lab environment behind a firewall/nat router. If you want to connect directly to an ISP, you will need to do things a bit.
Josh
September 26th, 2010 at 9:49 pm
Thanks Josh
I finally got it to work by sharing my physical NIC with loopback, which assigned IP 192.168.0.1 to loopback. I assigned 192.168.0.2 to ASA outside and I can ping the internet now. I connected ASA inside to another loopback and connected a virtual XP to it, I can surf the net on virtual XP through the ASA. Just wanted to share in case someone wanted to try it out.
October 25th, 2010 at 1:10 pm
could you please let us know how to run ASA 8.2 in GNS3 ?
November 8th, 2010 at 2:31 am
[...] How to communicate with Pemu [...]
February 10th, 2011 at 5:56 am
i m facing the problen like
“”Cant connect to Qemu on port 10525″”
help me
February 10th, 2011 at 5:59 am
Dynamips error
could not connect to qemuwrapper at localhost:10525
June 4th, 2011 at 9:28 am
Hi josh ,
I wanna know is der any way to create a vpn using virtual machine ,i m using Gns3 and emulate to Pix , i want to configure vpn on it,my problem is how to communicate 2 VM’s to Pix,and how to create a IpSec vpn on it.
Thanks
June 11th, 2011 at 10:50 am
Suhail,
There is a way to test vpns between VMWare and GNS3. There are several tutorials on this site to help connect virtual machines to GNS3.
What host OS are you using for VMWare?
Josh
June 15th, 2011 at 12:32 pm
Hi,
I have configure ASA on gns3 but i dont have connection to my pc trough the cloud with a loopback interface.
if anyone knows please help.
thanks
July 3rd, 2011 at 6:50 am
hi, guys i start ASA 5800 in GNS3 with Qemu then i right click and start fine then again right click try to access console then one black screen appearing then with in 4 or 5 seconds close
Any help Highly Appreciated
July 16th, 2011 at 9:07 am
Hi,
Having same problem as you Eitan. Have VirtualBox running WinXPSP3-32 bit and can’t seem to find out how to ping loopback (10.1.1.2) from my virtual ASA (IP 10.1.1.1). Keep getting back ????.
Guess I’m close. Any help would be really appreciated!