Datai.Net Datai.Net

  • Home
Home / Networking / EVE-NG ~ Emulated Virtual Environment Server

EVE-NG ~ Emulated Virtual Environment Server

What is EVE-NG?

EVE-NG is a graphical network emulation server that supports both commercial and open-source router and server images.

Key Features

  • KVM HW acceleration
  • Topology designer “click and play”
  • Import/export configuration
  • Labs xml file format
  • Picture import and maps “click and play”
  • Custom kernel support for L2 protocols
  • Memory optimization ( UKSM )
  • CPU Watchdog
  • Full HTML5 User Interface
  • Ability to use without additionnals tools
  • Multiuser
  • Interaction with real network fully supported
  • Simultaneous lab instance
  • Derivated  from Ubuntu LTS 16.04 server for long term support
  • UNetLab Labs backwards compatibility
  • Ability to quick transpose real network to virtualization
  • Creating custom, from Visio or other means, Pictures and making them clickable as in Lab canvas
  • Describe and mark in canvas with different shapes and texts annotations

If you want to run Cisco IOU images, you will need to setup EVE-NG to handle the licensing.
Attached is a Python script that will help with this. This script was originated by Paalfe on GithubGist

EVE-NG ~ CiscoKeyGen.py.gz (1284 downloads )
MD5 Hash: 01a3c32b95919a8e339d42c20f3ad594
SHA1 Hash: 0de124769aa81a048df2d4e3e200a2dbb821b149
#! /usr/bin/python
print "\n*********************************************************************"
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='\x4B\x58\x21\x81\x56\x7B\x0D\xF3\x21\x43\x9B\x7E\xAC\x1D\xE6\x8A'
iouPad2='\x80' + 39*'\0'
md5input=iouPad1 + iouPad2 + struct.pack('!L', ioukey) + iouPad1
iouLicense=hashlib.md5(md5input).hexdigest()[:16]

# add license info to /opt/unetlab/addons/iol/bin/iourc
print "\n*********************************************************************"
print "Create the license file /opt/unetlab/addons/iol/bin/iourc with this command:"
print " echo -e '[license]\\n" + hostname + " = " + iouLicense + ";'" + " | tee /opt/unetlab/addons/iol/bin/iourc "
print "\nThe command adds the following text to /opt/unetlab/addons/iol/bin/iourc:"
print "[license]\n" + hostname + " = " + iouLicense + ";"

# disable phone home feature
print "\n*********************************************************************"
print "Disable the phone home feature with this command:"
print " grep -q -F '127.0.0.1 xml.cisco.com' /etc/hosts || echo '127.0.0.1 xml.cisco.com' | sudo tee -a /etc/hosts"
print "\nThe command adds the following text to /etc/hosts:"
print "127.0.0.1 xml.cisco.com"
print "\n*********************************************************************"
eve-nglabnetworkingvirtualization Networking

Related Articles

  • Juniper QFX5200 Switch : Multi-Chassis Link Aggregation (MC-LAG)
  • Juniper – JNCIS-ENT
  • IPSEC Diffie-Hellman Groups
  • Cisco ASA : Initial Device Setup
  Copyright © 2020 | Datai.Net | All Rights Reserved