Professional Documents
Culture Documents
How To Setup and Configure Cisco IOU
How To Setup and Configure Cisco IOU
How To Setup and Configure Cisco IOU
UNIX) to GNS3-1.1
Posted by vpjaseem in Cisco CCNA on Nov 3, 2014 2:33:38 AM
How to Setup and Configure Cisco IOU to GNS3-1.1 Today Im going to discuss How to
install and configure Cisco IOU in GNS3-1.1. In this way you can emulate Cisco Switch in
GNS3. This article explains to get a working layer 2 switch in GNS3-1.1. Cisco IOS on
UNIX (IOU) is a fully working version of IOS that runs UNIX/LINUX platform. Cisco IOS on
UNIX is intended for Cisco employees for research and experiments. Distribution of IOU
images to customers or external persons is strictly prohibited.
Table of Contents
1.
2.
3.
4.
5.
Tools required
Import GNS3 IOU VM.ova
Uploading IOU image to UNIX
GNS3 Local and Remote Server
IOS on UNIX Configuration for GNS3
Tools required
1.
2.
3.
GNS3-1.1
Oracle VirtualBox
GNS3 IOU VM.ova:- Is the Virtual UNIX platform to run IOU image. It is a virtual
box OVA file.
4.
IOU image: IOU image is intended to use only for Cisco employees, distribution
of IOU is strictly prohibited. Please dont ask me! Google is your friend always.
5.
iourc.txt file: Is the license of Cisco IOU image. I have no privilege to provide it
publically, but I found a discussion related to it here. It may help you.
Check the IP address of the GNS3 IOU VM by issuing ifconfig command and note down
the IP (mine 192.168.56.102) Now open any web browser in host machine and enter the
following link in the address bar http://192.168.56.102:8000/upload
Go to IOU Devices New button and select server type as Remote. Your remote
server will be listed there. Next
Put a Name for the IOU image and set IOU image path that you noted already in Step
2. (/home/gns3/GNS3/images/XXXXXXXXXXXXXXXXXXX)
Type the image must be L2 if switch IOU.
Licences
hostname- gns3-iouvm
hostid- 00000000
Created by danieldemers
There seems to be lacking some documentation on the steps for how to setup Virtual
Box and any common issues people run into. I hope this brief post will alliviate any
issues and if it does not feel free to post it as a question and tag me in it and I can assist
or message me =)!
(This is also a blog post but I realized it should probably be a document instead)
Steps:
Here We Go!
Download your OS's version of Virtual Box. I will be explaining this from a Windows 8
perspective but its nearly identical.
The installation will force any VPN, Network, or Appliances depending on the Network to
have a bump in connection for a split second. This is Virtual Box modifying your network
connections for integration with Virtual Box VM's and Appliances.
Now that Virtual Box is installed and waiting open on your desktop (or a remote
machine which I can explain further down) download the Applaince for GNS3 IOU.
http://sourceforge.net/projects/gns-3/files/IOU%20VMs/GNS3%20IOU
%20VM.ova/download
With this Done you can save it somewhere and then go back to Virtual Box for
Importing. Where ever you save it you will be running the VM from that location.
Go to File > Import Appliance > Hit the Folder on the Right and Select the Appliance File
You Just Downloaded.
Confirm Settings:
Go to Settings > Network > Check to Make sure Attached to: = Host-only Adapter.
Alternatively if you want to have this Virtual Box Appliance Running ALL THE TIME say
on an ESXi or HyperV deployment so you do not need to start it up manually each time
you would alternatively select bridged. When you select bridged it will be apart of the
same subnet as the host device be that a VM or physical machine. It will do DHCP
request to find itself an IP Address. I will show both.
ALTERNATIVE VIEW IF YOU ARE HAVING THIS APPLIANCE RUN ON REMOTE MACHINE!!!!
The Above IMAGE ONLY REFLECT A CONFIGURATION where you want the box to be
running on a REMOTE MACHINE! The only change is that the Network Adapter is running
in bridged mode. Allowing it to share the NIC on the same subnet.
Open GNS3 1.1 and go to Edit > Preferences > GNS3 Server > Remote Servers > By
Default Host Field has 192.168.56.101 which should be the default of your Appliance if
you left the Network Adapter in Host-Only mode. Leave the port as 8000 and click ADD.
If you did a REMOTE MACHINE install of Virtual Box and the Appliance which would mean
you also set it to Bridge Mode for the Network Adapter then use the command "ifconfig"
after logging in with the credentials of:
Username: root
Password: cisco
Like So:
If you ran it in Bridge Adapter Mode where it got a IP Address from your Network You Will
see a different IP Address under the inet addr field highlighted above. Use that Address
for the Host Field in GNS3 Remote Server Add.
In GNS3 go to:
Edit > Preferences > IOS on UNIX > General Settings Tab > Click Browse and Add the
location of your IOURC.txt file.
Hint Go to the 3rd post and download the file found here: http://forum.gns3.net/topic9032.html
Now once this is completed you can now go back to your Virtual Box Appliance in a way
=)! If you noticed when it booted up a URL was pasted right above the Log In?
Find the IOU Images you want access to and UPLOAD THEM to this VM.
Adding IMages now in GNS3 is easy but it does require you keep the image above open
which shows you the directories in which the images are stored. The reason being is you
have desigated WHERE the remote server is be it local on the same machine or remote.
Now you must use those directories to tell where GNS3 will go to retrieve the images.
Edit > Preferences > IOS on UNIX > IOU Devices > Click New > Leave as Remote >
Make sure to put the full path in the second box and any name you want in the first so
for example:
Name: i86bi-linux-l2-adventerprisek9-15.1a.bin
IOU Image: /home/gns3/GNS3/images/i86bi-linux-l2-adventerprisek9-15.1a.bin
Go to your Topology and Drag over Whatever Image you have Added!!!!
Message Me if you have Issues or if your really KIND! Post Your Question then Message
me the Link and I can answer there =)))
Also...Make this your homepage going forward for all your browsers! Live It Breath It Be
It!
1HELPFUL
41 Comments
Add a comment
Actions
Hi everyone, It's a great guide! I think that in the step "6" is important to say that
if you want to connect IOU devices with IOS routers then the "local server" must
have an Local IP Address instead of "127.0.0.1" . If you don't, you will receive an
error...
o
Actions
Actions
Hi:
The images,Where to download
Alsowhen I start my GNS3,error:Server error [-3200] from
192.168.56.101:8000: IOU3: A iourc file is necessary to start IOU.
Actions
o
twv Oct 30, 2014 2:18 AM (in response to 564627110@qq.com)
You need to include the location of the IOURC file. This is a license file in
the format of:
[license]
*hostname* = *license*
---------------------------
COUGH... COUGH...
http://forum.gns3.net/post27784.html?
sid=7e3d1bfaa433f3661d548704b0904012#p27784
Actions
Thank you
Actions
o
danieldemers
I updated my How To. Check out number 7 =)! Also @Todd M has spoken
the truth!
Actions
o
jdwegner Nov 8, 2014 9:39 PM (in response to 564627110@qq.com)
As an FYI: you can upload the iourc using the browser just like uploading
the IOU images. They all go in the same directory on the Linux VM.
Actions
Nice one :-D thanx very much, I was wondering if there is an idiots guide to
running Juniper on GNS3, i have seen some but i have no experience with Linux
and to be honest it freaks me out a lil :-(
Thanx in advance
o
Actions
It is working for LINUX . can anyone guide with screenshot for Windows 7 Os
not able to fined for windows
o
Actions
o
twv Oct 30, 2014 8:29 PM (in response to arun)
This guide is for Windows. Linux doesn't require the use of the IOU VM.
Actions
o
danieldemers
If your running Windows follow this guide exactly and you will succeed.
Dan
Actions
ericandrewsmillerjractionmystiquemark.blackwellForum
Hello
When I start Virtual Box IOU it gives me an error .. I dont know how to put screen
shots in the message. well I am just writing here what error i am getting when i
start running my IOU VBox machine.
NtCreateFile(\Device\VBoxDrvStub)failed: 0*0000034
Status_Object_NAME_NOT_FOUND (0 retries)
Driver is probably stuck stopping/starting. Try 'sc.exe query vboxdrv' to get more
information about its state. Reebooting my actually help. (rc=-101)
Muhammad Faisal
o
Actions
o
twv Nov 1, 2014 10:16 PM (in response to gns42607)
Actions
Hello Todd,
use Qemu , Vmware and Virtual box but I dont know what is the
problem.
regards
Actions
The fixes I've seen suggest trying a repair install and then
rebooting or completely uninstalling rebooting, then
reinstalling and rebooting.
Actions
Actions
Just want to know I have added IOU images on gns3 using VM ware. the
problem is that gns3 taking default local address for connecting ios
192.168.56.101, where my local address is 192.168.119.131. when ever i try to
grab an IOS in gns3 working area it start looking on 192.168.56.101 address
which is not my vm ware address can you please tell me how to resolve this
issue .
o
Actions
o
epereza10 Nov 8, 2014 11:11 AM (in response to gns42607)
Actions
o
epereza10 Nov 8, 2014 1:38 PM (in response to gns42607)
Actions
Hello
I followed the guide and I could use one IOU device at once, if I tried to add a
second device I receive this error:
=> Server error [-3200] : There are 2 clients connected, the GNS3 server cannot
handle multiple clients yet
I ugraded to GNS3 v1.1 and now it's solved (apparently something in the
GNS3server was changed)
I'm only writing this because I read a lot of posts asking for a solution for the
same issue.
Great Guide!!, thank you for taking the time to help us.
o
Actions
Actions
on the L3 device:
interface Ethernet0/0
ip address 10.0.0.1 255.255.255.0
!
interface Ethernet0/0.10
encapsulation dot1Q 10
ip address 10.10.10.1 255.255.255.0
!
interface Ethernet0/0.20
encapsulation dot1Q 20
ip address 10.20.20.1 255.255.255.0
!
......
IOU2#ping 10.0.0.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/9/10 ms
TIA
o
Actions
o
ajn Nov 11, 2014 11:21 AM (in response to jdwegner)
Hi J. D. Wegner,
I could reproduce this when pinging a non-existing (or non-reachable) IP
through a layer2 device either layer2 IOU ou generic layer2 switch:
IOU1#ping 192.168.2.75
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.2.75, timeout is 2 seconds:
*Nov 11 17:56:22.648: ether_vencap:(1975)
.
*Nov 11 17:56:24.652: ether_vencap:(1975)
.
*Nov 11 17:56:26.652: ether_vencap:(1975)
.
*Nov 11 17:56:28.654: ether_vencap:(1975)
.
*Nov 11 17:56:30.655: ether_vencap:(1975)
.
Success rate is 0 percent (0/5)
IOU1#
After googling the log message, it looks like it is related to IOU image and
layer2. This is observable with ARP.
Actions
HI Jive:
I have got this issue before.if you link two IOU L2 device,you
may check the switchinterface configure.make sure the link
between two devices interface have got same configure .
Like
interface Ethernet0/0
duplex auto
end
then check you route table ,if its empty.make sure you open the
interface with command no shutdown.
: ajn
: 2014 11 12 2:21
:
: Re: - Setting Up Virtual Box to Work with IOU (IOS On Unix)
Images and GNS3
<http://new.gns3.net/jive/emailtemplates/images/GNS3JungleLogo
_header.png>
Setting Up Virtual Box to Work with IOU (IOS On Unix) Images and
GNS3
Actions
Actions
I keep getting this error when I try to launch the IOU VM in VBox. Same thing on
two different computers, they are both MacBook Pros running Win7 via
Bootcamp. Any ideas? Haven't had much luck figuring this on out.
Actions
o
mikeadkins@gmail.com Nov 23, 2014 5:43 AM (in response to
mikeadkins@gmail.com)
Referencing the error above, I went back to VBox version 4.3.12 and now
everything is working great!
1 of 1 people found this helpful
Actions
Actions
Actions
matt.raio
Good Job! I'm trolling now looking for the best IOU guides to be featured in an
upcoming L2/L3 IOU Guide. I think this one is right up there.
I think there also needs to be a simple explanation of local host networks and
remote host networks with nice diagrams that show how the packets flow. I know
you guys are a bunch of 'wiz kids', but my job is to keep it simple.
-Matt
o
Actions
Hi guys,
What if Windows doesn't let you use any other local IP, besides 127.0.0.1
Do you know any reasons for it ?
o
Actions
Already tried with 2 different computers and 2 different GNS3 versions (now I'm
using the latest more darkside looking recent one )
Actions
o
gns38029 Dec 18, 2014 12:44 PM (in response to gns38029)
GOT IT fixed!!!!!
Actions
Hi Daniel,
Thank you for document, I have a problem met ipv4 address of Linux machine.
And http://192.168.56.101:8000/upload
do not work. Plz help.
o
Actions
o
korlems Dec 18, 2014 3:23 PM (in response to aotholland)
Actions
Actions
Good!!
o
Actions
Thanks for the guide and link regarding the iourc file. By the way is the l2 iou
means and L2 SW and l3 means and L3 SW?
o
Actions
Actions
hi
did as per the instruction but facing the problem of connecting any other device
to L2 or L3 IOU
o
Actions
Well, whats up? Today Im going to discuss an interesting GNS3 Cisco simulator tutorial on how to
connect Cisco IOU to GNS3-1.1. This is an alternate way of emulating Cisco switches in GNS3.
So I hope this article will answer how to get a working layer 2 switch in GNS3-1.1
By the way what is a Cisco IOU device? Cisco IOS on UNIX (IOU) is a fully working version of IOS
that runs as a user mode UNIX/LINUX platform. IOU is built as an image and runs just like any other
program. Layer 2 and layer 3 IOU images are available for switching and routing respectively. Cisco
IOS on UNIX is aimed for internal uses only (Cisco employees). Distribution of IOU images to
customers or external persons is strictly prohibited.
The new version of GNS3 (1.1) supports IOS on UNIX, thereby providing fantastic Cisco switch
simulator to the users. Usually people who are preparing for CCIE Routing and Switching will be
using IOS on UNIX facility.
The process to connect Cisco IOU to GNS3-1.1 is a little bit hassle though, but Im gonna give you
simple explanation with step by step procedures.
Tools Required
2.
from here
Oracle VirtualBox: Download from here
3.
GNS3 IOU VM.ova: Is the Virtual Unix platform to run IOU image. It is a virtual box OVA
1.
GNS3-1.1: Download
file: Download
4.
from here
IOU image: IOU image is intended to use only for Cisco employees, distribution of IOU is
strictly prohibited. Please dont ask me! Google is your friend always.
5.
iourc.txt file: Is the license of Cisco IOU image. I have no privilege to provide it publicly, but
I found adiscussion related to it. It may help you.
Double click GNS3 IOU VM.ova , it will open up in VirtualBox (if you have installed VMware please
right click on the GNS3 IOU VM.ova file and change the open with to Oracle VM VirtualBox).
Then clickOK.
Start the GNS3 IOU VM, then login with following credentials.
User name: root
Password: cisco
Now come to the host machine and open any browser (Im a Chrome fan). Enter the following link in
the address bar http://192.168.56.102:8000/upload.
Now go to IOU Devices, click New button and select server type as Remote. Your remote server will
be listed there Next
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 that you noted already in Step 2.
Type should be L2 for switch IOU.
Bridged: the VM will share the physical link of the computer host.
Host-only: the VM will be connected to a routed and separated network. The computer
host will act as DHCP/DNS server and as default gateway.
1:0/0 2:0/0
ID 1 is a simple IOU instance, ID 2 is a Cloud instance bound to eth1:
Router-IOU#ping 192.168.245.1
Start the GNS3 router and assign an IP address in the same network where IOU router is.
Now Microsoft Windows must configured with a Loopback adapter: add new hardware devices
selecting Microsoft as vendor and Microsoft Loopback Adapter (Windows XP/7) or Microsoft
KM-TEST Loopback Adapter (Windows 8).
Open Network Connections and select both VMnet1 and Loopback Adapter: right click and make
a bridge. Host IP address is lost, so must be configured if needed (using the Bridge adapter).
Router-GNS3#ping 192.168.245.129
Device ID
Local Intrfce
Holdtme
Capability
Platform
Linux Uni
Port ID
R1.iou
Eth 0/0
Fas 0/0
147
Select Next
Select Settings
In the Settgs, ensure Network Adapter 1 is Host-only Adapter on VirtualBox Host-Only Ethernet Adapter.
Login into the GNS3 IOU VM console with login:password as root / cisco.
Click upload
Upon complete, the IOU path will be printed on the Files on 192.168.56.101:8000
Select Add to add the "Virtualbox GNS3 1.0 IOU VM" host IP address into the Remote servers. Apply. Do
not click OK yet, we going to configure the IOS on UNIX.
For Cisco IOS, it required a license number to operated hence a license key is required to be pushed to
the server. The licence can be download in this link. If you run into any issue with licensing, visit this
forum http://forum.gns3.net/topic9032.html .
My personal reference is copy and paste the file iourc.txt that I download into C:\Program Files\GNS3
making it easy for me to just browse to one location.
Once the iourc.txt is specify, select Apply. Do not click OK yet, there is additional settings to be configure
in IOU devices.
Adding the IOU device, before that the IOU path field is required. Let take a look how to quickly copy the
path.
Remember this, there is trick. Using any Internet Browser, open up 192.168.56.101:8000 and the Files on
192.168.56.101:8000 will be displayed. Highlight the path and copy to the next step. I am going to use
this L2 Switch image for this illustration.
Select Remote and ensure that Run on server with 192.168.56.101:8000 is selected. It can be on different
IP address as long the remote servers is selected corrected.
Copy and paste the IOU image path. For the name, any name can be specify as I choose to use the
image name. L2 image is for this illustration, as L3 image is the same procedure.
Drag the IOU L2 Switches from the Switches panel and happy GNS3!. Continued and repeat the steps
with a L3 Router as well
Nb for current version of gns3 use the following command ro upgrade the gns3server for iou.
pip3 install gns3-server==1.3.0
shutdown h now