
Fix permissions for the new created script file: chmod +x /opt/unetlab/addons/iol/bin/ioukeygen.pyĥ. Save the file and exit the editor (by pressing “ESC” then “:wq”).Ĥ. Print "\nThe command adds the following text to /etc/hosts:"ģ. Print "Disable the phone home feature with this command:" Print "\n" + hostname + " = " + iouLicense + " " Print "\nThe command adds the following text to $HOME/.iourc:"

" + hostname + " = " + iouLicense + " '" + " | tee $HOME/.iourc " Print "Create the license file $HOME/.iourc with this command:"

IouLicense=hashlib.md5(md5input).hexdigest() Md5input=iouPad1 + iouPad2 + struct.pack('!L', ioukey) + iouPad1 Print "hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey) # get the host id and host name to calculate the hostkey Print "Cisco IOU License Generator - Kal 2011, python port of 2006 C version" Copy the following script and paste it to the file: #! /usr/bin/python Create an iou keygen file in the EVE directory for iou images: vim /opt/unetlab/addons/iol/bin/ioukeygen.pyĢ. How to generate IOU licenseįollow the next steps to generate IOU license:ġ. We have seen in the previous post in this tutorial that the IOU nodes didn’t start and this is because you need to license the IOU/IOL images to work inside EVE-NG. Via EVE-NG, you don’t need the Cisco simulator to use IOU/IOL in your labs. However, they are widely used in EVE-NG due to their efficient resource consumption and rich features. The IOU simulator was released by Cisco for their tests, not for the public usage. BackgroundĬisco IOU images are a good choice to emulate IOS router/switch inside Unix/Linux machine.Ĭisco IOU/IOL emulation supports the features and functions that the real IOS devices support while consuming resources much less than those used with other emulation solutions such as dynamips. However, this post is related to EVE-NG itself ,whether in the cloud or on your own workstation. This tutorial so far demonstrated how to get EVE-NG in Google cloud.

You should generate IOU License to start it inside EVE-NG. Cisco IOU refers to Cisco IOS on Unix (IOU) or Cisco IOS on Linux (IOL).
