Running Cisco Switches on GNS3
Running Cisco Catalyst Switch(CLI) on GNS3 using IOU (IOS on Unix) and VirtualBox
- Running Cisco Catalyst Switch(CLI) on GNS3 using IOU (IOS on Unix) and VirtualBox
- Import IOU in VirtualBox
- VirtualBox IOU VM Host Settings
- Uploading IOS to IOU VM
- IOU Licencing
- Import the IOU VM Instances into GNS3
- Launch the IOU Devices (L2 & L3) in GNS3
|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|
|Cisco IOU Virtualbox and GNS3.zip|
|Cisco IOU Compaitable Images.zip|
Import IOU in VirtualBox
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.
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).
Username: root Password: cisco
Uploading IOS to IOU VM
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.
!---------- Use wget to download it directly ------- wget https://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
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
Step 2 : Mount the IOU image
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.
Go to preferences> IOU on UNIX and you need to provide the absolute path of the iourc.txt file located in your local drive.
In the same way you can bring the L3 IOS also.
Launch the IOU Devices (L2 & L3) in GNS3
Now check how these IOU L2 and L3 devices being reflected in the GNS3 window.