Download Latest Version GNS3-2.2.8.source.zip (20.0 MB) Get Updates. Get project updates, sponsored content from our select partners, and more. Looks like you're using an older browser. To get the best experience, please upgrade. UPGRADE MY BROWSER. FONTE: Generate Cisco IOURC license on GNS3 VM using Python 3 Posted on December 2, 2017AuthorAwal 22 28489 total views, 3 views today I was trying to add IOU L2 Switch image on GNS3.
GNS3 is an open source network simulator with which you can experience connections between routers or switches. After installing the GNS3 application, you can start creating your own project by adding the objects you need, adjusting the attributes of the object to suit your needs, the application supports multiple types of routers and switches, such as Cisco CCNA, CCNP, CCIP, CCSP, CCVP. Trusted Windows (PC) download GNS3 2.2.19. Virus-free and 100% clean download. Get GNS3 alternative downloads.
28489 total views, 3 views today
I was trying to add IOU L2 Switch image on GNS3 VM but an wired license error didn’t permit me to start the L2 Switch image. It says:
error while starting IOU1: License section not found in iourc file /tmp/tmpkrjoe5hx/iourc
Ring menu addon wow. Here’s how I solved it.
Section 1: Download and add IOU Image on GNS3 VM
i) Download Cisco L2/L3 IOU image. Some of them can be found here. You can also Google it to download any specific image. I’m using i86bi-linux-l2-adventerprisek9-15.2d.bin for my L2 lab.
Gns3 2.2.8 Download Windows 10
ii) Go to Preference > IOS on UNIX > IOU Devices and add the image.
iii) But when I tried to run the switch on GNS3. It shows a license error.
iv) When I check the license from Preference > IOS on UNIX, it’s emplty, no license is there.
Section 2: Generate and add the Cisco IOURC License
You need a licence for your GNS3 VM to run IOU. This licence is provided by Cisco. We called this licence file iourc.
The content of the licence file will be like this:
gns3vm = <16-character license>;
The license is actually generated by the Keygen with the combination of the hostname and the hostid and ioukey of your VM. The Keygen file is actually a Python script that looks like:
Gns3 2.2.8 Download
print(“Cisco IOU License Generator – Kal 2011, python port of 2006 C version”)
# get the host id and host name to calculate the hostkey
hostname = socket.gethostname()
for x in hostname:
ioukey = ioukey + ord(x)
print(“hostid=” + hostid +”, hostname=”+ hostname + “, ioukey=” + hex(ioukey)[2:])
# create the license using md5sum
iouPad1 = b’x4Bx58x21x81x56x7Bx0DxF3x21x43x9Bx7ExACx1DxE6x8A’
iouPad2 = b’x80′ + 39*b’0′
md5input=iouPad1 + iouPad2 + struct.pack(‘!i’, ioukey) + iouPad1
print(“nAdd the following text to ~/.iourc:”)
print(“[license]n” + hostname + ” = ” + iouLicense + “;n”)
with open(“iourc.txt”, “wt”) as out_file:
out_file.write(“[license]n” + hostname + ” = ” + iouLicense + “;n”)
print(“^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^nAlready copy to the file iourc.txtn “)
print(“You can disable the phone home feature with something like:”)
print(” echo ‘127.0.0.127 xml.cisco.com’ >> /etc/hostsn”)
Here’s how to generate the license using the Keygen.
i) Access the shell of your VM
ii) Download the Keygen in the directory /opt/gns3/images/IOU using the following command.
Gns3 2.2.8 Download
iii) Once copied run the following command to generate the license.
iii) Now, you can see that there is a new text file created named iourc.txt. It’s the file holding the license. You can open it to see the license.
iv) Now add the license to the empty field at Preference > IOS on UNIX. There you go, your IOU image will now run absolutely error free.