Running Cisco Switches on GNS3

Running Cisco Catalyst Switch(CLI) on GNS3 using IOU (IOS on Unix) and VirtualBox

Downlaods

File NameDownload 
CiscoKeyGen.py
GNS3 IOU VM 1.3.1rc4.ova
GNS3 IOU VM_1.2.3.ova
GNS3 IOU VM-disk1.vmdk
GNS3 IOU VM.vbox
GNS3 IOU VM.vbox-prev
iourc.txt
Cisco IOU Virtualbox and GNS3.zip
 
Cisco IOU Compaitable Images.zip
 

More Downloads – Expand this section


Import IOU in VirtualBox

1
2
3

The IOU Vmware zip file contains a full load of stuffs. You need only one.


VirtualBox IOU VM Host Settings

 After that open the vmdk file in VirtualBox and do some little changes in settings. Set the memory requirement as 256MB and it is enough to open the IOU VM.

4
5

Before you start the VM, do not forget to set the Virtual Network Adapter settings as Host Only.

Now time to fire up the VM and after successful booting the VirtualBox console will come up with a login prompt with a notification to browse the VM through browser to upload the L2 and L3 IOS file(here the IP address is set to 192.168.56.101 and the port is 8000 to access the http portal).

6

Username: root Password: cisco


Uploading IOS to IOU VM

7
9

Now open the browser and upload the necessary files. Url to open the VM http portal: http://192.168.56.101:8000/upload Dont worry. These files are available on “L2 & L3 IOU IOS” zipFile.


IOU Licencing

Generate Cisco IOURC license key on GNS3 VM using Python 3

Upload Keygen to IOU VM

Either have to download the KeyGen.py  or take it from the zip file itself and upload it to the VM.

18
!---------- Use wget to download it directly -------
wget http://www.ipvanquish.com/download/CiscoIOUKeygen3f.py 
!---------- Copy the Keygento the correct directory ------- 
cd /home/gns3/GNS3/images python3 keygen.py
Run the Keygen in IOU VM
python3 CiscoIOUKeygen3f.py

17

Import the IOU VM Instances into GNS3

In GNS go to Preference>IOU Devices and then select a new . After the new IOU prompt come set the server type as remote(by default) .

Step 1 : Selecting Server Type
10
Step 2 : Mount the IOU image
12

Now mount the IOU image by simply copy and paste the path from the browser(it is a file located in 192.168.56.101:8000).


IOU Licensing Part 2

Now come to the rest of the licensing procedure.

IOURC Setup

Go to preferences> IOU on UNIX and you need to provide the absolute path of the iourc.txt file located in your local drive.

16

In the same way you can bring the L3 IOS also.

Launch the IOU Devices (L2 & L3) in GNS3

13
14
15

Now check how these IOU L2 and L3 devices being reflected in the GNS3 window.


  Previous Next  

Leave a Reply