EVE-NG installation and setup (2022)

EVE-NG installation and setup (1)

In this article I’ll show you how to install and setup EVE-NG to run a small lab using Aruba CX switch and Aruba VMC(Virtual Mobility controller) images. I assume VMware ESXi as a host server and windows PC as a client here.

1. download EVE-NG image

You can download the OVF image of EVE-NG from https://www.eve-ng.net/index.php/download/

Make sure to download ‘Community Edition’ to run EVE-NG without payment required.

EVE-NG installation and setup (2)

2. deploy it on an ESXi host

EVE-NG installation and setup (3)

Select ‘Thick’ option for disk provisioning for better performance. Uncheck ‘Power on automatically’ so you can edit the VM first.

EVE-NG installation and setup (4)

Create a new port group with below options enabled:
1. Promiscuous mode
2. MAC address changes
3. Forged transmits

EVE-NG installation and setup (5)

Edit the VM and increase CPU and Memory. The optimal amount would depend on how many devices you are going to add in your virtual lab.

Also add a vNIC and assign the port group just created. This vNIC will be represented as ‘Cloud1’ in EVE-NG lab and can be used for devices to connect to outside network.

EVE-NG installation and setup (6)

Start the VM and login with root/eve from remote console. Then you will see initial setup UI and it asks new root password, hostname, IP address, etc. Enter all information accordingly. After it reboots, you can login to GUI as admin/eve.

EVE-NG installation and setup (7)

The timezone is set to EEST (UTC+3) by default. You should specify correct timezone or some OS may set its clock incorrectly on boot. You can run timedatectl command as below.

timedatectl set-timezone Asia/Singapore

The list of valid timezone names is displayed by timedatectl list-timezones command.

At this point no device image is installed yet. We need to convert device images provided by each vendor so EVE-NG is able to load them.

3. upload and convert AOS-CX image

It is explained here.

Copy the OVA file (e.g. ArubaOS-CX_10_04_1000.ova) to EVE-NG using scp client software then convert it to QEMU image format with below steps.

mkdir tmpcd tmptar xvf ../ArubaOS-CX_10_04_1000.ova/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 arubaoscx-disk-image-genericx86-p4-20200311173823.vmdk virtioa.qcow2mkdir /opt/unetlab/addons/qemu/arubacx-10.04mv virtioa.qcow2 /opt/unetlab/addons/qemu/arubacx-10.04/cdrm -rf tmp/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Please note that the folder name for AOS-CX image in /opt/unetlab/addons/qemu must start with ‘arubacx-‘ (all lower case). You can add any suffix to it. For e.g. ‘arubacx-10.04.1000’ and ‘arubacx-10.05’ are both valid names and recognized by EVE-NG.

(Video) EVE NG Installation

4. upload and convert Aruba VMC image

It is explained here.

Copy the OVA file (e.g. ArubaOS_VMC_8.6.0.4_74969.ova) to EVE-NG using scp client software then convert it to QEMU image format with below steps.

mkdir tmpcd tmptar xvf ../ArubaOS_VMC_8.6.0.4_74969.ova/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ArubaOS_VMC_8.6.0.4_74969-disk1.vmdk hda.qcow2/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 ArubaOS_VMC_8.6.0.4_74969-disk2.vmdk hdb.qcow2mkdir /opt/unetlab/addons/qemu/aruba-vmc-8.6.0.4mv hda.qcow2 /opt/unetlab/addons/qemu/aruba-vmc-8.6.0.4mv hdb.qcow2 /opt/unetlab/addons/qemu/aruba-vmc-8.6.0.4cdrm -rf tmp/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Please note that the folder name for Aruba VMC image in /opt/unetlab/addons/qemu must start with ‘aruba-‘ (all lower case). If it’s not EVE-NG does not load the image. You can add any suffix to it. For e.g. ‘aruba-vmc-8.6.0.4’ and ‘aruba-8.6.0.4-74969’ are valid names and recognized by EVE-NG.

5. install wrapper scripts

You need to install some wrapper scripts which are required for packet capture or VNC console.

Download the ‘Windows integration pack’ from here.

EVE-NG installation and setup (8)

Run the installer. You do not need to install Wireshark or UltraVNC if you already installed them.

EVE-NG installation and setup (9)

Even if you chose to install UltraVNC, only Viewer is required. By default 3 components (Server, Viewer, Repeater) are checked for installation. You can uncheck the other two.

EVE-NG installation and setup (10)

Once the installation is completed, the wrapper scripts are installed in C:\Program Files\EVE-NG as shown below.

EVE-NG installation and setup (11)

Go to start menu >> Windows Accessories >> right click on Notepad >> Run as administrator and open ‘wireshark_wrapper.bat‘ file. Change the password in 3rd line to what you configured.

EVE-NG installation and setup (12)

Double click on the .reg files to install into windows registry so the necessary software is invoked from EVE-NG GUI. Choose either of ‘win10_64bit_putty.reg‘ or ‘win10_64bit_sCRT.reg‘ according to the terminal software you are using. If you do not have them, install them.

If you are using TeraTerm Pro, you can install below string to registry then EVE-NG will use it for console access.

[HKEY_CURRENT_USER\Software\Classes\telnet\shell\open\command]"C:\Program Files (x86)\teraterm\ttermpro.exe" /T=1 %1

6. create test network with virtual CX switch

Login to GUI and click ‘Add new lab’ icon

EVE-NG installation and setup (13)

Enter lab name and click Save

EVE-NG installation and setup (14)

Right click on the blank area and choose ‘Node’

(Video) Complete Installation and Setup EVE NG

EVE-NG installation and setup (15)

Select ‘Aruba OS-CX Virtual Switch’ and properly name it, then click Save. Apparently white space or special characters are not allowed for node name.

EVE-NG installation and setup (16)
EVE-NG installation and setup (17)

The switch icon shows up in the lab.

EVE-NG installation and setup (18)

Right click on it and click ‘Start’

EVE-NG installation and setup (19)

If the virtual AOS-CX switch starts properly, the color of the icon changes to blue.

EVE-NG installation and setup (20)

Left click on the icon then putty (or designated terminal client) pops up to access to the console of the switch. You can login to AOS-CX console with user admin with no password.

EVE-NG installation and setup (21)
EVE-NG installation and setup (22)

If you want to suppress the confirmation dialog for opening an external application, please follow the steps described here.

7. connect the virtual CX switch to lab network

Let’s connect the virtual CX switch to your lab network. Please make sure you added a vNIC to EVE-NG VM as described in section 2.

Unfortunately you have to turn off the virtual switch before making a connection. ‘Hot plug’ is only supported on Pro version. So let’s stop the switch first.

EVE-NG installation and setup (23)

Right click on a blank area and choose ‘Network’, then select ‘Cloud1’ and click ‘Save’

EVE-NG installation and setup (24)
(Video) Tutorial: EVE-NG (عربي) Installation || تنصيب, تفعيل, وتشغيل مختلف انواع الأجهزة
EVE-NG installation and setup (25)

Drag the plug icon on the cloud and drop it on the switch.

EVE-NG installation and setup (26)
EVE-NG installation and setup (27)

When a connection details window pops up, choose ‘mgmt’ interface and save.

EVE-NG installation and setup (28)

Turn on the switch again and enter below commands via CLI.

conf tinterface mgmt ip dhcp no shutdown

Check if the mgmt interface get DHCP IP.

switch(config)# show interface mgmtAddress Mode : dhcpAdmin State : upMac Address : 50:00:00:01:00:00IPv4 address/subnet-mask : 192.168.1.214/24 <<<<<<<<<<<<<<< GOOD!Default gateway IPv4 : 192.168.1.1IPv6 address/prefix :IPv6 link local address/prefix: fe80::5200:ff:fe01:0/64Default gateway IPv6 :Primary Nameserver : 192.168.1.152Secondary Nameserver :

Check ping to the internet works.

switch# ping 8.8.8.8 vrf mgmtPING 8.8.8.8 (8.8.8.8) 100(128) bytes of data.76 bytes from 8.8.8.8: icmp_seq=1 ttl=49 (truncated)76 bytes from 8.8.8.8: icmp_seq=2 ttl=49 (truncated)76 bytes from 8.8.8.8: icmp_seq=3 ttl=49 (truncated)

Let’s get packet capture on the mgmt port. Right click on the switch, Capture >> mgmt.

EVE-NG installation and setup (29)

Wireshark will start and packet capture data is being sent from EVE-NG.

EVE-NG installation and setup (30)

If you see this ‘Connection abandoned’ error, it is because the host key of EVE-NG is not registered in putty’s known hosts list. You can fix this by starting ‘C:\Program Files\EVE-NG\putty.exe’. Connect it to EVE-NG and then click ‘Yes’ to save the host key to registry.

EVE-NG installation and setup (31)
EVE-NG installation and setup (32)

After host key is properly registered, wireshark will start as below.

(Video) How to install EVE-NG on VMware Workstation 💥💥💥💥💥💥

EVE-NG installation and setup (33)

As the virtual CX switch is properly connected to your lab network, you can also check if GUI is working.

EVE-NG installation and setup (34)

8. setup Aruba VMC device

Let’s add ArubaVMC and connect it to the CX switch. Right click on blank area and choose Node. Then select ‘Aruba WiFi Controller’ and Save.

EVE-NG installation and setup (35)

Power it on and left click on the icon once it turns blue. VNC viewer is spawned. This is because Aruba VMC does not support console redirect by default.

EVE-NG installation and setup (36)

If you get a path error as below, you should edit ‘C:\Program Files\EVE-NG\ultravnc_wrapper.bat‘ and fix the path to vncviewer.exe.

EVE-NG installation and setup (37)
EVE-NG installation and setup (38)

If you want to use putty for VMC console access, you need to apply a couple of configuration changes both on VMC itself and VMC node:
1. login to VMC CLI and enter ‘serial console redirect enable
2. edit the VMC node on EVE-NG and change the QEMU custom options from ‘-serial none‘ to ‘-serial mon:stdio
3. also change the Console from ‘vnc‘ to ‘telnet

EVE-NG installation and setup (39)
EVE-NG installation and setup (40)

After applying above changes, you can access to VMC console using putty instead of VNC by left clicking on the icon.

EVE-NG installation and setup (41)

Let’s connect 2 devices with a topology shown below.

EVE-NG installation and setup (42)

Apply configurations and check connectivity.

AOS-CX config

interface lag 1 no shutdown no routing vlan access 1 lacp mode activeinterface 1/1/1 no shutdown lag 1interface 1/1/2 no shutdown lag 1interface vlan1 ip address 10.1.1.1/24

VMC config

interface port-channel 1 switchport access vlan 1 trusted trusted vlan 1-4094!interface gigabitethernet 0/0/0 no shutdown lacp group 1 mode active!interface gigabitethernet 0/0/1 no shutdown lacp group 1 mode active!no spanning-treeinterface vlan 1 ip address 10.1.1.2 255.255.255.0!

Let’s check connectivity by pinging each other.

ArubaCX-1# ping 10.1.1.2PING 10.1.1.2 (10.1.1.2) 100(128) bytes of data.108 bytes from 10.1.1.2: icmp_seq=1 ttl=64 time=3.54 ms108 bytes from 10.1.1.2: icmp_seq=2 ttl=64 time=2.47 ms108 bytes from 10.1.1.2: icmp_seq=3 ttl=64 time=3.55 ms108 bytes from 10.1.1.2: icmp_seq=4 ttl=64 time=2.57 ms108 bytes from 10.1.1.2: icmp_seq=5 ttl=64 time=54.4 ms--- 10.1.1.2 ping statistics ---5 packets transmitted, 5 received, 0% packet loss, time 4005msrtt min/avg/max/mdev = 2.478/13.332/54.498/20.588 msArubaCX-1#ArubaCX-1# show lacp interfacesState abbreviations :A - Active P - Passive F - Aggregable I - IndividualS - Short-timeout L - Long-timeout N - InSync O - OutofSyncC - Collecting D - DistributingX - State m/c expired E - Default neighbor stateActor details of all interfaces:------------------------------------------------------------------------------Intf Aggr Port Port State System-ID System Aggr Forwarding Name Id Pri Pri Key State------------------------------------------------------------------------------1/1/1 lag1 2 1 ALFNCD 08:00:09:9f:dd:eb 65534 1 up1/1/2 lag1 3 1 ALFNCD 08:00:09:9f:dd:eb 65534 1 up
(ArubaVMC-1) [mynode] #ping 10.1.1.1Press 'q' to abort.Sending 5, 92-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 2.748/3.1564/3.551 ms(ArubaVMC-1) [mynode] #show lacp 1 neighborFlags: S - Device is requesting slow LACPDUs F - Device is requesting fast LACPDUs A - Device is in Active mode P - Device is in Passive modeLACP Neighbor Table-------------------Port Flags Pri OperKey State Num Dev Id---- ----- --- ------- ----- --- ------GE 0/0/0 SA 1 0x1 0x3d 0x2 08:00:09:9F:DD:EBGE 0/0/1 SA 1 0x1 0x3d 0x3 08:00:09:9F:DD:EB

It works!

FAQs

How much RAM do I need for Eve-Ng? ›

4 vCPU and 6GB of RAM can be enough for IOU/IOL and Dynamips only, but will be insufficient for topology with CSR1000V routers. In other words the EVE-NG requirements are the same for nested ESXi virtualization or Cisco VIRL/CML.

What is the default username and password for Eve-Ng? ›

After a while the console login prompt will be available: By default the EVE will look for an IP address using DHCP protocol. Login as root with default password eve and start the configuration.

How do I repair permissions in Eve-Ng? ›

Type following command to fix permissions:
  1. /opt/unetlab/wrappers/unl_wrapper -a fixpermissions.
  2. cat /opt/unetlab/addons/iol/bin/iourc [license] unl01 = 0123456789abcdef;

Can I use Eve-Ng offline? ›

The re-hosted EVE machine must have internet access to periodically validate the license. EVE receives a token with a licence validity time of 24 hours. During those 24 hours, the re-hosted EVE can be used offline.

How much RAM do I need for gns3? ›

Recommended Requirements
ItemRequirement
Operating SystemWindows 7 (64 bit) or later
Processor4 or more Logical cores - AMD-V / RVI Series or Intel VT-X / EPT
VirtualizationVirtualization extensions required. You may need to enable this via your computer's BIOS.
Memory16 GB RAM
2 more rows

Can I run eve-Ng on VirtualBox? ›

Requirements. Running EVE-NG on VirtualBox requires certain requirements. First, CPU virtualisation support needs to be enabled on the BIOS. Second, the latest version of VirtualBox is installed.

How do I assign an IP address to Eve-Ng? ›

EVE Chnage ip address of eve-ng / configure eve ip address dns gateway

How do I reset my Eve-ng admin password? ›

for resetting or changing the password you can use command rm -f /opt/ovf/. configured Then restart the eveNG Virtual Machine using command "reboot" Once it is restarted, you need to provide the default user name and password. Then it will ask you for a new password.

How do I install Eve-Ng on Windows? ›

Installation
  1. EVE System Requirements.
  2. Installation.
  3. AlienVault Cybersecurity OSSIM. Cisco FirePower images set. Juniper vSRX 3.0 Version 18.X and later. pfSense FW 2.5.2. Plixer Scrutinizer Netflow.
  4. EVE-PRO Upgrade from v4.x to v5.x. EVE Pro v4 content migration to V5 (rsync)

How do I get my Iourc license? ›

How to generate IOU license
  1. Copy the generated license: ...
  2. Save the file and exit the editor (by pressing “ESC” the “:wq”). ...
  3. Go back to the EVE GUI interface and start the IOU node, it should start now.
11 Aug 2020

How do I restart Eve Ng service? ›

How to properly shutdown and restart eve-ng VM Linux Ubuntu ... - YouTube

How do I add a device to Eve Ng? ›

Add Network Device Images to EVE-NG from CML - YouTube

What is Eve-Ng client pack? ›

It will modify windows registry files for proper work. It will save all the files on the local PC if one would like to modify for example, using SecureCRT instead of default Putty. Windows 8 and 10 reg files to support tabbed SecureCRT. Auto detection of Windows version (7, 8, 10) ( x64 only supported )

How do I connect eve-ng to the Internet? ›

Add Cloud Objects to EVE-NG

In your lab workspace add a 'Network' object. Select Cloud1 (remember this is mapped to pnet1, which is bridged to eth1.). You may want to change the name from Net, to something like 'Internet'. Connect a device to it, (I'm using a router, because they are quick and easy to setup).

How much does GNS3 cost? ›

GNS3 is a free open source software.

Is GNS3 free to use? ›

Whether you are studying for your first networking exam or building out a state-wide telecommunications network, GNS3 offers an easy way to design and build networks of any size without the need for hardware. And the best part is it's free!

Is GNS3 VM needed? ›

The GNS3 VM is recommended for most situations when you are using Windows or Mac OS. The GNS3 development team have worked hard to create a lightweight, robust way of creating GNS3 topologies that avoids multiple common issues experienced when using a local install of GNS3.

How do I connect Eve-Ng to VMware? ›

How to connect EVE-ng to Vmware / connect eve-ng to real network

How do I install Eve-Ng on VMware? ›

Virtual Machine Install
  1. EVE System Requirements.
  2. Virtual Machine Install.
  3. AlienVault Cybersecurity OSSIM. Cisco FirePower images set. Juniper vSRX 3.0 Version 18.X and later. pfSense FW 2.5.2. Plixer Scrutinizer Netflow.
  4. EVE-PRO Upgrade from v4.x to v5.x. EVE Pro v4 content migration to V5 (rsync)

What is Eve-Ng used for? ›

EVE-NG PRO platform is ready for today's IT-world requirements. It allows enterprises, e-learning providers/centers, individuals and group collaborators to create virtual proof of concepts, solutions and training environments.

How do I enable DHCP in Eve Ng? ›

DHCP Server in EVE ng | Networkforyou | CCNA - YouTube

What is emulated virtual environment? ›

The main difference between them is that emulation is the computer program's ability in an electronic device to emulate the behavior of another program or device. On the other hand, virtualization is the process of creating a virtual instance of computer hardware platforms.

How do I change my PNET IP address? ›

Open the folder for "Web URL" and right-click/edit the instance beneath it which targets Proactive server. Update the field for "URL" so that it matches the new IP address or hostname of the Proactive server, then click "OK".

How do I create an Iourc file? ›

Create IOU Licence Key

Download the IOU licence key generator named CiscoIOUKeygen3f.py from here. If not able to download copy and save below python code with same filename. 9. Once download, again upload this licence file to EVE-NG directory “/opt/unetlab/addons/iol/bin/.”

What is the default Ubuntu password? ›

By default, in Ubuntu, the root account has no password set. The recommended approach is to use the sudo command to run commands with root-level privileges.

How do I know my Eve version? ›

To check what EVE version is currently running in your setup, please follow this simple procedure: Open EVE and click Help. Click About. Verify EVE version number.

How do I use an ova file in Eve-Ng? ›

To import EVE-NG VM, click File then Open or press CTR+O, then navigate to the EVE-NG OVA file. Select EVE Community VM then Click Open. VMware will start importing the OVA. Allow it to complete.

Can I install Eve-Ng on Hyper V? ›

Create a new VM under Hyper-V: Click on “New Virtual Machine” on Hyper-V. Name: EVE-NG (you can use any other name, but we will need this name after for a PowerShell change to activate Intel VT-x or AMD-V, so avoid special characters)

How do I download images from Eve-Ng? ›

Ready to go Linux image pack for EVE
  1. Using Putty or other telnet client, CLI SSH (TCP 22) to your EVE and go to location: cd /opt/unetlab/addons/qemu/
  2. Unzip your uploaded image file, make sure you are using right name of uploaded image. ...
  3. Remove raw zipped image file from EVE rm -f linux-ubuntu-desktop-16.04.4.tar.gz.

Is Packet Tracer enough for CCNA? ›

Packet Tracer was originally designed as an educational aid for Cisco's Networking Academy (better known as NetAcad) but is an excellent simulator for anyone pursuing an entry-level Cisco certification, such as the CCENT or CCNA R&S.

What is the use of GNS3? ›

Graphical Network Simulator-3 (shortened to GNS3) is a network software emulator first released in 2008. It allows the combination of virtual and real devices, used to simulate complex networks. It uses Dynamips emulation software to simulate Cisco IOS.

Videos

1. Complete Installation and Setup EVE NG || Bangla Tutorial
(Atova Technology)
2. Eve-ng installation on Windows 10 | 2022🔥🔥🔥🔥🔥🔥🔥
(Zabqureshi's Network Lessons)
3. Installation and Setup of EVE-NG with detailed Steps by Steps | What is EVE-NG
(Bikash's Tech)
4. Install EVE-NG with VMWare Workstation Player
(Data Knox)
5. How to install EVE-NG on Windows 10 Pro host with Hyper-V
(Wisdom Pond)
6. EVE-NG Nexus 9k Cisco Virtual Switch Install
(Network Professor)

Top Articles

You might also like

Latest Posts

Article information

Author: Laurine Ryan

Last Updated: 11/25/2022

Views: 5774

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.