Cisco IOS on Unix, also known as Cisco IOU, is released for internal Cisco use only. IOU permits to run IOS natively on x86 platform while GNS3 must emulate the whole hardware. The big difference is that IOU can run more IOS instance than GNS3, but GNS3 can run real IOS version. The purpose of this article is to let you know how IOU can be integrated with GNS3 emulator software to practice switching concepts.
**Pay Attention:** Cisco IOU binaries are not for public use. If you are a Cisco guy you must ask your company how you can get IOU binary files and license. Other do not have rights to use IOU images.
Make sure you have...
Before we start I want to make sure that you all have the required tools and softwares. I have listed down them with download links below,
GNS3 - http://www.gns3.com
Virtual Box 4.3.12 (I had some bad experience with version 5.0, Check my article to know more VirtualBox EFAIL error) - https://www.virtualbox.org/wiki/Download_Old_Builds_4_3_pre24
IOU Images - As already mentioned, strictly for Cisco guys! But still you might get these images by Googling!
GNS3 IOU VM - Available from sourceforge, I downloaded and used a older version in this post. But you can use any version from this link. - http://sourceforge.net/projects/gns-3/files/IOU%20VMs/
IOURC - Cisco license file for IOU Images. It is not available for public use, but while surfing I found this link which could help you! http://forum.gns3.net/topic9032.html
Setting Up GNS3 IOU VM in Virtual Box
Download the IOU Virtual Machine from the given Sourceforge link.
In the above image I have marked the file which I downloaded, However you can use any of the available versions. Once downloaded extract the tar file using 7zip or Winzip. You would see below files inside the zip file,
Open Virtual Box 4.3.12 application from the start menu. Make sure that you have already downloaded and installed it. I downloaded it from the below URL,
In Virtual Box, Click on File -> Import Appliance. It will prompt below window,
Select the path of your ovf file (you can find it in extracted folder) and click Import as depicted in the above snapshot. And ensure that Network settings looks like below,
As shown, Make sure that VM is attached to Host-only Adapter before we start the VM. Now start the VM and check for the IP configuration using ifconfig command. Use username root and password cisco to login into the appliance. Refer the below image for example,
Now it's time to upload the IOU images. Well! I happened to find some IOU Images from this link. Type 192.168.56.101:8000/upload on your browser address bar. Click on 'Choose file', a file browser window will open. Select the downloaded IOU image and click 'Upload', this might take few minutes.
Make a note of displayed path, /home/gns3/GNS3/images/IOU/xxxxxxxx. Later you will have to enter this path in GNS3.
With this step, we have completed IOU end configuration. Let's start with GNS3...
GNS3 IOU Server Configuration
By default, GNS3 is binded with server address 127.0.0.0:8000. We have to change this value with our new IOU server address. Follow the below instructions to bind the new server.
Go to Edit -> Preferences -> GNS3 Server. Click on Local server tab. From the Host Binding drop down window select '192.168.56.101'. Make sure that port is also set to 8000. Then click Apply and OK.
Again go to Edit -> Preferences -> GNS3 Server. This time click on Remote access tab. Add a host by entering UNIX GNS3 IOU VM IP address that we found using ifconfig (mine 192.168.56.101) and 8000 as port.
Integrating GNS3 and Cisco IOU
Final step of this tutorial would be to add IOU templates to GNS3. Go to Edit -> Preferences -> IOS on UNIX. And click 'General Settings' tab, click browse to set the path to IOURC.txt file. IOURC license file would like below,
Once you have given license file details, click Apply. And now go to IOU Devices, click New button and select server type as Remote. Your remote server will be listed there → Next
Here you will receive a message “You have chosen to use a remote server, please provide the path to IOU image located on the server!”, just click OK.
Now type a Name for the IOU image and set IOU image path to be the one that you noted already while uploading the image through through browser. Refer the snapshot below to understand what I am trying to say,
Click Finish! Yes, we are done with all the configurations. By repeating the above steps, you can upload as many as images you want and you can add them to your GNS3 emulator window. For example I have uploaded 2 images (L3 and L2) as shown below.
Now go to GNS3 main window, pull the configured IOU devices. Power them on, start building your labs! Since you can configure all the devices inside your GNS3 itself, I guess this method is much better than IOU Web.
That's all folks! I believe I have covered all the required steps to get IOU running with GNS3, In case of any clarifications, do let me know through comment section below.
thank you very much
ReplyDeleteYou're Welcome!
Deletebro i was looking for gns3 iou image, i hv tried 100 of times but after doing all steps. I am getting error message in the end as of server cannot access this image o r denied. please send me gns3 iou images of l2 & l3. its request you to privide version of gns3 and gns3 vm server version, so i can do steps properly.
DeleteWhat is the error you are getting?
DeleteI like trains
DeleteThank you man!!! This post helped me a lot on my CCNP studies.
ReplyDeleteRegards.
You're most welcome :)
Deletethak you very much, and we can now connect l3 and l2 but we faces problem when connecting gns ios to iou
ReplyDelete"server 127.0.0.1 cannot communicate with server 192.168.56.101, most likely because your local server host binding is set to a local address"
Thanks a ton !!!
ReplyDeleteIt's really helpful.... Much appreciative you work... !!! :)
bro i was looking for gns3 iou image, i hv tried 100 of times but after doing all steps. I am getting error message in the end as of server cannot access this image o r denied. please send me gns3 iou images of l2 & l3. its request you to privide version of gns3 and gns3 vm server version, so i can do steps properly.
DeleteThank you ! this has been informative
ReplyDeleteYou're most welcome :)
DeleteHi Senthil,
ReplyDeleteI'm trying to integrate IOU with GNS3 1.3.11. I've following components with me;
1. GNS3 1.3.11 (downloaded from GNS portal)
2. GNS3.IOU.VM-1.3.11 (downloaded from GNS portal).
3. L2 and L3 images:
i86bi_linux-l3-adventerprisek9-ms.154-2
i86bi-linux-l2-ipbasek9-15.1g
I followed the same procedure mentioned by you above, but L2 and L3 IOU devices are not coming up. i.e I can't start the devices. Please help me to fix it.
Hi,
ReplyDeleteI'm trying to integrate IOU with latest version of gns3 (1.3.11). Tried with below components;
1. gns3 1.3.11
2. GNS3.IOU.VM-1.3.11
3. L3 and L2 images:
i86bi_linux-l3-adventerprisek9-ms.154-2.T
i86bi-linux-l2-ipbasek9-15.1g
The above listed L3 and L2 images worked fine with gns3 1.2.3 and corresponding IOU.VM, but with new version of gns3 1.3.11, the IOU devices(router and switch) are not coming up. i.e, not able to start the devices. Please help me to fix it....
Thanks
Basanna
check the message in the console box in gns3. i think it is IOURC mismatch
DeleteHi Senthil,
ReplyDeleteI have followed all the necessary steps to setup GNS3 IOU on VM.
But I keep getting error on gns3 (The node is intialized unknown error)
Kindly help.
Thanks
it works with GNS3 1.2 version
DeleteI am getting error in gns3. After all setting successful when i tried to run the router or switch then I am getting error that "This nod doesn't initialized unknown error". Please help on this.
ReplyDeleteWhere can we download the IOU image L2, L3, seems can't find it online? can you send me a link to download this Cisco ious ?
ReplyDeleteThanks a lot for detailing the integration of GNS3 with IOU.
ReplyDeleteHi senthil... I tried your tutorial and worked. But I have problem while I save my project and then I open again next time. The notification is "Server error from 192.168.56.101:8000: DLS1: Could not find a iourc file (IOU license)
ReplyDelete". I use GNS3 version 1.3.0. Do you know the reason? Thanks
thank you dude. it is very helpful for ccie workers :).
ReplyDeleteCan we configure HSRP by using IOU?
ReplyDeleteHy bro. where i must located the iourc file ? in server 192.168.56.101 or in local drive like drive D or C in Windows OS ?
ReplyDeleteand what file type the license ? IOURC.txt or .iourc ?
thanks before..
your license file is less semicolon in end line..
ReplyDelete[license]
gns3-iouvm = cd11acbc599f2364;
thank you bro.. :)
Could anyone send me i86bi_linux-l3-adventerprisek9 file?
ReplyDeleteI have tried searching on google but just shady sites and ads everywhere. Just downloaded a file and got WAJAM browser extension was installed instead :(
Thank you!! This info has helped me immensely.
ReplyDeleteGreat howto, made setting the whole thing up very easy!
ReplyDeletehow to connect asa with L2 and L3 switches do we need to import in VM 192.168.56.101 if yes please share procedure for same
ReplyDeleteI cant find any l2 IOUs on your link. Can you advise? Thanks
ReplyDeleteI recived the following message:
ReplyDelete"The virtual machine 'GNS3 IOU VM_1' has terminated unexpectedly during the start with the exit code 1 (0x1). More details may be avaliable in etc etc"
What would be the problem?
I started running oracle IOU VM and before Type login and password it appears "use your browser with http://:8000/upload" i really dont know what to do? I become crazy
ReplyDeletethanks lot... done successful installation!!!
ReplyDeletethank you, works awesomely
ReplyDeleteHi
ReplyDeletePlease suggest how to overcome the problem such as...
IOU SW imges opend but does not accept some command like. int vlan 1 and IP address to the same SW.Error massage is...invalid command.Request you to help me out in this regard.
Please help me to resolve this:
ReplyDelete=> Server error from 192.168.219.129:8000: IOU1: IOU image '/home/gns3/GNS3/images/IOU/i86bi-linux-l3-adventerprisek9-15.4.1T.bin is not accessible in gns3 1.3.13 and same iouvm on vmware in win7
=> Server error from 192.168.219.129:8000: IOU1: IOU image '/home/gns3/GNS3/images/IOU/i86bi-linux-l3-adventerprisek9-15.4.1T.bin is not accessible in gns3 1.3.13 and same iouvm on vmware in win7
ReplyDeleteHi Senthil, Thanks for this Step by Step procedure. It helped me in setup.
ReplyDeleteI faced the problem of getting the IP of Local server in the drop down list in GNS3 192.168.56.1 instead of 101. remote server is .101.
Please guide me to rectify this error. rest everything is going good. This is creating problem when I am trying to start router and it checks for Idle PC
working fine, but when i reopen a saved project the following error occur "Server error from 192.168.196.128:8000: IOU1: Could not find a iourc file (IOU license)" please suggest its resolution.
ReplyDeleteAlmacenamiento en Discos - Sistemas de
ReplyDeletealmacenamiento para empresas - Telextorage
Productos de almacenamiento diseƱados para permitir una transformaciĆ³n sin problemas a la
arquitectura moderna, a la vez que se protegen las inversiones existentes.
http://www.telextorage.com/almacenamiento-en- discos/
Thanks a lot
ReplyDeleteHello,
ReplyDeleteInstead of port number 8000, I always have 3080 on GNS 3. Can I work with it?
Thx
hi,
ReplyDeleteI have followed the steps, but am getting this message bellow, please help
Error while creating project: Client version 1.5.2 differs with server version 1.3.3
I guess this would fix your problem. http://letusexplain.blogspot.com/2016/04/fix-gns3-iou-error-error-while-creating.html
DeleteThanks a lot. Your efforts are truly appreciated.
ReplyDeletethank u
ReplyDeletewhen i start my IOU device it says can not connect to server, i stuck here since long. pls help
ReplyDeleteguys i wanted to create my ccnp lab similar to that on the students lab should i use l2 iou image for access layer switch
ReplyDeletethe lab with four switches dls2,DLS1,ALS1,ALS2 switches. should i used the layer 2 switch for all the switches
ReplyDeleteI have the IOU oracle vm and the iou bin file's but can get the GNS3 to configure
ReplyDeleteSo i have the local server configure as 55.1 and remote as 55.101 ifconfig show 55.1
i use http://192.168.55.101:8000/upload to upload the images
i86bi-linux-l2-adventerprisek9-15.1a.bin and l3 file is in /home/gns3/GNS3/images/IOU
I make sure the license file is loaded
And i click on iou devices and new
Im getting an error "error while getting the WM's cant connect to server"
Help me out
perincolony@gmail.com
Hi,
ReplyDeleteThanks for the post, i tried researching and couldnt find detail steps on setting up the vm. i went through all the process and got the vM commected however, i am getting errors once i try to add the iou image. the first error i get is "Error while getting the vms: Get/Iou/image not found". i however will proceed and add the image, how when i try adding the device to the workspace i get this error "Error while creating nodes :...node not found"
please help me as this is the only obstacle to be practicing my ccna
hii
ReplyDeletei have getting some issues that when i upload the image in web browser and success but upload file is showing in my gns3/iou folder
even on iou vm i m finding the directory for uoloaded file
cd home/gns3/Gns3/images/iou/i86bi
sheems no such directory
whats is problem
please help for that
thanx
Thanks man.
ReplyDeleteThis excellent website truly has all of the info I wanted concerning this subject and didn’t know who to ask.
ReplyDeletehttp://buyfore.com/best-digital-watch-under-30/
Your style is unique in comparison to other people I've read stuff from. Thanks for posting when you've got the opportunity, Guess I'll just book mark this site.
ReplyDeletehttp://buyfore.com/spigen-ultra-hybrid-iphone-x-case/
hi,
ReplyDeleteI am using gns3.1.2. when i am putting the iuo divce in project getting this error. Can you please help-
Error while getting the VMs: Cannot connect to compute 'IOU_server' with request GET /iou/images
Error while getting the VMs: Cannot connect to compute 'IOU_server' with request GET /iou/images
Error while creating node: Cannot connect to compute 'IOU_server' with request POST /projects
Hi Senthil,
ReplyDeleteThis info has indeed been informative. Can you please help me with the below error i a getting:
Error while creating node: The server 344cc25c-2039-4400-8610-632c8db9eb6b is not a GNS3 server or it's a 1.X server
Hello Guys,
ReplyDeleteGetting Error.
Error while creating node: Compute ID ac213ca1-933f-4da6-a21d-c2de2e276c72 doesn't exist
Compute ID ac213ca1-933f-4da6-a21d-c2de2e276c72 doesn't exist
Let me know if any solution for the same.
But what if I am a Cisco girl... :(
ReplyDeleteMr Sanjay Baghela focus to reflects as the best leader of SEO in the world, and his dedication and expertise in SEO field make him enable as the owner of the best BEST SEO Expert India. You can connect with him anytime and you can see his knowledge about SEO itself. Drop your request and dial his number now! Best seo expert india Top
ReplyDelete