Saturday, 25 July 2015

Cisco IOU L2 L3 lab with GNS3 | Switching in GNS3

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,

Virtual Box 4.3.12 (I had some bad experience with version 5.0, Check my article to know more VirtualBox EFAIL error) -
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. -
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!

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 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 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 ''. 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 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. 



  1. Replies
    1. 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.

    2. What is the error you are getting?

  2. Thank you man!!! This post helped me a lot on my CCNP studies.


  3. thak you very much, and we can now connect l3 and l2 but we faces problem when connecting gns ios to iou

    "server cannot communicate with server, most likely because your local server host binding is set to a local address"

  4. Thanks a ton !!!

    It's really helpful.... Much appreciative you work... !!! :)

    1. 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.

  5. Thank you ! this has been informative

  6. Hi Senthil,

    I'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:

    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.

  7. Hi,

    I'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:

    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....


    1. check the message in the console box in gns3. i think it is IOURC mismatch

  8. Hi Senthil,

    I 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.


    1. it works with GNS3 1.2 version

  9. I 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.

  10. Where 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 ?

  11. Thanks a lot for detailing the integration of GNS3 with IOU.

  12. Hi 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 DLS1: Could not find a iourc file (IOU license)
    ". I use GNS3 version 1.3.0. Do you know the reason? Thanks

  13. thank you dude. it is very helpful for ccie workers :).

  14. Can we configure HSRP by using IOU?

  15. Hy bro. where i must located the iourc file ? in server or in local drive like drive D or C in Windows OS ?

    and what file type the license ? IOURC.txt or .iourc ?

    thanks before..

  16. your license file is less semicolon in end line..

    gns3-iouvm = cd11acbc599f2364;

    thank you bro.. :)

  17. Could anyone send me i86bi_linux-l3-adventerprisek9 file?
    I have tried searching on google but just shady sites and ads everywhere. Just downloaded a file and got WAJAM browser extension was installed instead :(

  18. Thank you!! This info has helped me immensely.

  19. Nice Website...
    Hey JOIN now and Increase Facebook Likes your profile and websites.
    Increase Facebook Likes and check your website worth worth my websites
    FB Likes and check your website worth Website Value Calculator
    Hot Wallpapers seo tools website
    its may be very beneficial for you also really

  20. Great howto, made setting the whole thing up very easy!

  21. how to connect asa with L2 and L3 switches do we need to import in VM if yes please share procedure for same

  22. I cant find any l2 IOUs on your link. Can you advise? Thanks

  23. I recived the following message:

    "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?

  24. 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

  25. thanks lot... done successful installation!!!

  26. thank you, works awesomely

  27. Hi
    Please 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.

  28. Please help me to resolve this:
    => Server error from 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

  29. => Server error from 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

  30. Hi Senthil, Thanks for this Step by Step procedure. It helped me in setup.

    I faced the problem of getting the IP of Local server in the drop down list in GNS3 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

  31. working fine, but when i reopen a saved project the following error occur "Server error from IOU1: Could not find a iourc file (IOU license)" please suggest its resolution.

  32. Almacenamiento en Discos - Sistemas de

    almacenamiento 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. discos/

  33. Hello,
    Instead of port number 8000, I always have 3080 on GNS 3. Can I work with it?

  34. hi,
    I 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

    1. I guess this would fix your problem.

  35. Thanks a lot. Your efforts are truly appreciated.

  36. These ways are very simple and very much useful, as a beginner level these helped me a lot thanks fore sharing these kinds of useful and knowledgeable information.
    Mobile App Development Company in Chennai
    Android app Development Company in Chennai
    ios app development Company in Chennai

  37. It's interesting that many of the bloggers your tips helped to clarify a few things for me as well as giving.. very specific nice content. And tell people specific ways to live their lives.Sometimes you just have to yell at people and give them a good shake to get your point across.
    Mobile App Development Company
    Android app Development Company
    ios app development Company
    Mobile App Development Companies

  38. when i start my IOU device it says can not connect to server, i stuck here since long. pls help

  39. guys i wanted to create my ccnp lab similar to that on the students lab should i use l2 iou image for access layer switch

  40. the lab with four switches dls2,DLS1,ALS1,ALS2 switches. should i used the layer 2 switch for all the switches

  41. I have the IOU oracle vm and the iou bin file's but can get the GNS3 to configure
    So i have the local server configure as 55.1 and remote as 55.101 ifconfig show 55.1

    i use 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

  42. Hi,
    Thanks 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

  43. hii
    i 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

  44. Hi, thanks for this wonderful article. I found it very informative. Well, if someone is looking to buy an ethernet switch then it is important to check different features before buying. I would like to recommend this list of ethernet switches. I bet you will find the best one for your needs.

  45. This excellent website truly has all of the info I wanted concerning this subject and didn’t know who to ask.

  46. 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.


  47. Hi friend the information that you provide that was awesome.I really like your way but few days ago i was visiting a site which also provide cracktaking software download way and here any one can download all kinds of crack software,so if you have much time you also can visit the site and check it out

  48. hi,

    I 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

  49. Hi Senthil,

    This 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

  50. Hello Guys,

    Getting 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.

  51. Software Development Company We specialize in Blockchain development, Artificial Intelligence, DevOps, Mobile App development, Web App development and all your customised online solutions. Get best impression at online by our services, we are familiar for cost effectiveness, quality, delivery and support.