GNS3 2.2.8
GNS3 2.2.8 VM Connection issue
I have downloaded the Gns3 2.2.8 and installed on my laptop. earlier version GNS3 was working fine but just to test new Gns3 2.2.8 with web gui i have installed it. but when i fired up the gns3. Gns3 interface started well and its automatically trigger the vm inside the vmware workstation but it didn't turn up in GNs3 application console Server Summary.
How to Set Up and Configure GNS3 VM 2.2.19 on Windows 10. With the GNS3 network simulator program, you can make much more detailed and professional network designs, and you can create and test a real network scenario using real Cisco Router IOS. Download GNS3 latest version 2.2.16 2020 for Windows/Mac/Linux, Get free & safe offline installers of GNS3 for latest & previous releases.
But in the Gns VM was be up and running.
Gns3 2.2.8
Gns3 2.2.8 Download Windows 10
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
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.
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:
[license]
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:
#! /usr/bin/python3
print(“*********************************************************************”)
print(“Cisco IOU License Generator – Kal 2011, python port of 2006 C version”)
import os
import socket
import hashlib
import struct
# get the host id and host name to calculate the hostkey
hostid=os.popen(“hostid”).read().strip()
hostname = socket.gethostname()
ioukey=int(hostid,16)
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
iouLicense=hashlib.md5(md5input).hexdigest()[:16]
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.
wget http://www.ipvanquish.com/download/CiscoIOUKeygen3f.py
iii) Once copied run the following command to generate the license.
Gns3 2.2.8 Download
python3 CiscoIOUKeygen3f.py
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.
Gns3 2.2.8 Download
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.