PDF - Js Viewer
PDF - Js Viewer
PDF - Js Viewer
Cookbook
Version 1.09
Author:
Uldis Dzerkals
Editors:
Michael Doe
Christopher Lim
© EVE-NG LTD
The contents of the document must not be reproduced or disclosed wholly or in part or used
for purposes other than that for which it is supplied without the prior written permission of
EVE-NG Limited.
EVE-NG Community Cookbook
Version 1.08
Table of Contents
PREFACE .................................................................................................................................. 7
1 INTRODUCTION ................................................................................................................ 8
1.1 WHAT IS EVE-NG? ....................................................................................................... 8
1.2 WHAT IS EVE-NG USED FOR? ....................................................................................... 8
1.3 WHO IS EVE-NG FOR? ................................................................................................. 8
2 SYSTEM REQUIREMENTS............................................................................................... 9
2.1 HARDWARE REQUIREMENTS ........................................................................................... 9
2.1.1 Minimal Laptop/PC Desktop system requirements .............................................. 9
2.1.2 Recommended Laptop/PC Desktop system requirements ................................ 10
2.1.3 Virtual Server system requirements ................................................................... 10
2.1.4 Dedicated Server (bare) system requirements .................................................. 11
2.1.5 Nodes per lab calculator .................................................................................... 11
2.2 SUPPORTED VIRTUALIZATION PLATFORMS AND SOFTWARE ............................................. 11
2.3 UNSUPPORTED HARDWARE AND SYSTEMS .................................................................... 12
3 INSTALLATION ............................................................................................................... 13
3.1 VMWARE WORKSTATION OR VM PLAYER ..................................................................... 13
3.1.1 VMware workstation EVE VM installation using ISO image (preferred) ............ 13
When I first heard about EVE-NG I was skeptical. Back then I used to Lab mainly with ESX by
deploying many virtual Devices and connecting them manually by separate vSwitches for Point-
to-Point connections. The Problem with that was, that it was extremely time-consuming and did
not scale - for every new Device I had to create multiple vSwitches to interconnect them with
the virtual Machines - a Nightmare. I was in the middle of my JNCIE-Exam-Prep when I first
saw EVE-NG on Twitter - I downloaded the Community Edition, which was the only Edition
back then and I was amazed how easy Labbing all of a sudden was. No more deploying of
If you follow me on Twitter you know, that I'm one of the hardest Juniper Fanboys and of course
my Goal was to "Juniperize" EVE. I started to get in touch with Uldis and Alain and found myself
into the Position as one of the Juniper Test Guys. Meanwhile I added nearly all Juniper related
Devices (including cSRX and JATP) and I still test a Lot - but now on EVE-Pro.
The Pro-Edition was a big step forward for the Project. It added some nice Features like "hot-
add-interconnect" and the Ability to use EVE-NG with multiple Users. Especially Companies
will love EVE as it is THE Solution for Labs and PoC's. I have successfully run over 30 PoC's
in EVE and over 100 Labs (Job-Related and Personal Labs) - and I still enjoy it every day
thanks to EVE and the amazing Team behind it. When the Guys asked me to write the
Introduction I was of course honored and now this Book is finally coming out to help you on
your Quest to Setup, Run and Manage EVE-NG in a lot of possible ways.
Well - enough from my Side. I hope you enjoy this Cookbook and use it wisely for your Everyday
EVE Work. If you have Problems there is always the EVE-Forum and Live-Helpdesk - you will
also find me there from time to time ;)
I wish you happy reading and if you think, that this Product is amazing feel free to support it by
buying the PRO-Edition or Donating a bit it helps to expand this already cool Product even
more and it also honors all the work that the Guys spent in it.
Christian Scholz
@chsjuniper
EVE-NG Community Cookbook
Version 1.08
1
1.1 What is EVE-NG?
To describe what Emulated Virtual Environment Next Generation (EVE-NG) is without solely
stating dry facts about features, we need to elaborate more on what EVE-NG can be used for
and whom it would be useful for.
In some trivial dry words, EVE-NG gives you tools to use around virtual devices and
interconnect them with other virtual or physical devices. Many of its features greatly simplify the
usabilities, re-usability, manageability, interconnectivity, distribution and therefore the ability to
understand and share topologies, work, ideas, c l This can simply mean
it will reduce the cost and time to set up what you need or it might enable you to do tasks you
would not have thought could be done this simple.
The EVE-NG community version is free for everyone; while the paid professional version adds
a few things that make your life easier. Almost everything can still be done with the free version,
just less conveniently and therefore more time-consuming.
However, with the free version, the possibility to train yourself with technologies, hone your
skills and become an expert even with very no monetary possibilities. For some this is and has
been life changing.
EVE-NG Community Cookbook
Version 1.08
2
EVE-NG is available in the OVF or ISO file format. The Open Virtualization Format (OVF) is an
open standard for packaging and distributing virtual appliances. It can be used to deploy a VM
in hypervisors like VMware Workstation, Player and ESXi. Please note that installing EVE as a
Virtual Machine (VM) will mean any nodes deployed within EVE will be nested. Nested
virtualization causes degraded performance in deployed nodes. This should be fine for lab
purposes as long as the host meets or exceeds the resource requirements for the deployed
nodes.
EVE-NG can also be installed directly on physical hardware, without a hypervisor, using the
provided ISO image.
method of installing EVE-NG.
PC/Laptop HW requirements
CPU Intel i5/i7 (4 Logical processors), Enabled Intel virtualization
in BIOS
RAM 8Gb
HDD Space 40Gb
Network LAN/WLAN
EVE Virtual machine requirements
CPU 4/1 (Number of processors/Number of cores per processor)
Enabled Intel VT-x/EPT virtualization engine
RAM 6Gb or more
HDD 40Gb or more
Network VMware NAT or Bridged network adapter
Note: Minimal PC Desktop/Laptop will be able to run small Labs. The performance and quantity
of nodes per lab depend on the types of nodes deployed in the lab.
Example:
IOL image-based nodes: up to 40-50 nodes per lab
Dynamips image-based nodes: up to 20-25 nodes per lab
vIOS image-based nodes: up to 8-10 nodes per lab
CSRv1000 or XRv image-based nodes: up to 2-3 per lab
EVE-NG Community Cookbook
Version 1.08
PC/Laptop HW requirements
CPU Intel i7 (8 Logical processors), Enabled Intel virtualization in
BIOS
RAM 32Gb
HDD Space 200Gb
Network LAN/WLAN
EVE Virtual machine requirements
CPU 8/1 (Number of processors/Number of cores per processor)
Enabled Intel VT-x/EPT virtualization engine
RAM 24Gb or more
HDD 200Gb or more
Network VMware NAT or Bridged network adapter
Note: PC Desktops/Laptops will be able to run small to medium Labs. Performance and quantity
of nodes per lab depend on the type of nodes deployed in the lab.
Example:
IOL image-based nodes: up to 120 nodes per lab
vIOS image-based nodes: up to 20-40 nodes per lab
CSR image-based nodes: up to 10 per lab
CPU: Intel Xeon CPU supporting Intel® VT-x with Extended Page Tables (EPT)
Operation System: ESXi 6.0 or later
Server HW requirements
CPU Recommended CPU 2x Intel E5-2650v3 (40 Logical processors)
or better supporting Intel® VT-x with Extended Page Tables
(EPT)
Minimum CPU is any Intel Xeon CPU supporting Intel® VT-x
with Extended Page Tables (EPT)
RAM 128Gb
HDD Space 2Tb
Network LAN Ethernet
EVE-NG Community Cookbook
Version 1.08
Note: Performance and quantity of nodes per lab depends from the type of nodes used in the
lab.
Example:
120 IOL image-based lab
20 CSRv1000 image-based nodes per lab
CPU: Intel Xeon CPU supporting Intel® VT-x with Extended Page Tables (EPT)
Operation System: Ubuntu Server 16.04.4 LTS x64
Server HW requirements
CPU Recommended CPU Intel E5-2650v3 (40 Logical processors) or
better supporting Intel® VT-x with Extended Page Tables (EPT)
Minimum CPU is any Intel Xeon CPU supporting Intel® VT-x
with Extended Page Tables (EPT)
RAM 128Gb
HDD Space 2Tb
Network LAN Ethernet
Note: Performance and quantity of nodes per lab depends from type of nodes used in the lab.
https://drive.google.com/file/d/1Rbu7KDNSNuWiv_AphWx0vCek8CKVB1WI/view
VirtualBox virtualization
Citrix XenServer
Microsoft HyperV
3
3.1 VMware Workstation or VM Player
Step 3: Select a Guest Operating system: Step 4: Enter the name for your EVE-
Linux and select the version: Ubuntu 64-bit COMM VM and select Location where your
EVE VM will be stored on the host PC.
Step 5: Type your desirable HDD size and Step 6: Press Customize Hardware
EVE-NG Community Cookbook
Version 1.08
Step 9a: Select your desirable Network Step 9b: Select your desirable Network
Adapter. Laptop PC Adapter. Desktop PC
Step 10: Select CD/DVD Option: use ISO Step 11: Confirm VM Settings.
image file. Browse to your downloaded
EVE-Community.iso (actual name can be
different) file
Mandatory Prerequisites: Internet must be reachable from your PC and VMware. EVE ISO
installation requires internet access to get updates and install the latest EVE-PRO version from
the EVE-NG repository. DNS must work as well, to check it, do a named ping, for example ping
www.google.com
Step 3: Make sure that English is selected Step 4: You can select your own Location,
and confirm with Enter. or later, after management IP assignment,
location will be set automatically. You can
leave United States. Confirm with Enter.
Step 9: Enter your subnet mask, using the Step 10: Enter your Gateway IP, using the
Tab key Tab key
Enter Enter
EVE-NG Community Cookbook
Version 1.08
Step 11: IMPORTANT. The name server Step 12: EVEs hostname by default is eve-
must be able to resolve public DNS entries ng. It can be changed if you wish, using the
and will be used during the next install Tab key select continue and confirm with
steps. Enter your name server IP, using the Enter
Tab key
Enter
EVE-NG Community Cookbook
Version 1.08
Step 13: Enter your networks domain name. Step 14: If your DNS IP settings are correct,
You are free to use anything you like, for Ubuntu will detect your location automatically
example: eve-ng.net by connecting to Ubuntu servers. Confirm
Using the Tab key select continue and with Enter.
confirm with Enter
Step 15: If you have a proxy in use for your Step 16: Select no automatic updates and
internet access, enter your network proxy confirm with Enter. Security updates can
settings. If no proxy is used, select Continue later be run manually from EVE cli.
with the Tab key and confirm with Enter.
Step 17: After the Step 18: Without powering off your EVE VM,
screen appeared, DO NOT remove CD ISO open the EVE VM settings and make sure
from the VM or hit Enter continue. First, we that CD/DVD ISO Device status connected
have to verify that EVE is ready for the and Connect at power on is checked.
installation phase 2. Confirm with OK.
EVE-NG Community Cookbook
Version 1.08
Step 19: Return to the EVE console screen Step 20: Once the EVE login screen appears,
and continue with Enter, the EVE VM will login to the CLI with root/eve and continue
reboot and finish the installation phase 2 with installation phase 3
Step 21: Setup EVEs Management IP Step 22: After your EVE is rebooted,
address. A Static IP address setup is
preferred. Login to EVE CLI and type:
IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer to section 12
EVE-NG Community Cookbook
Version 1.08
Step 3: Browse your desired EVE VM store Step 4: Open your EVE VM Settings and set
destination followed by Import the desired RAM.
EVE-NG Community Cookbook
Version 1.08
Step 5: IMPORTANT Set CPU Number of Step 6: Laptop PC Select your desirable
Cores and number of cores per processor. Network Adapter.
Set Intel VT-x/EPT Virtualization engine to
ON (checked). NOTE: It is recommended to choose the
NAT adapter option for Laptops to avoid
NOTE: VMware Player will display only one EVE management interface IP changes.
CPU option: Number of processors. This can happen anytime the laptop is
connected to a different SSID.
Step 7: Desktop PC Select your desirable Step 8: Power ON your EVE VM and follow
Network Adapter. Management IP setup instructions described
in section 3.5.1 for Static IP or 3.5.2 for
NOTE: Desktop PC EVE management DHCP IP.
interface can be either NAT or Bridged to
home LAN subnet.
EVE-NG Community Cookbook
Version 1.08
IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer to section 12
Step 9: Make sure if your EVE OVF VM is up to date to the newest EVE version.
Follow the steps described in section 4.
IMPORTANT NOTE: DO NOT expand the current EVE OVF HDD. To expand your EVE
system size, please follow Troubleshooting section 11.2
Step 1: Upload EVE ISO image to the ESXi Step 2: Create NEW VM
store.
EVE-NG Community Cookbook
Version 1.08
Step 3: Enter the name for your EVE-PRO Step 4: Select Location where your EVE VM
VM and select Guest Operating system will be stored in HDD.
Linux and version: Ubuntu 64-bit
Step 5: IMPORTANT Customize your EVE Step 6: Assig desirable RAM for your EVE
VM CPU Settings. Set CPU Number of
Cores and number of cores per processor.
Set Intel VT-x/EPT Virtualization to ON
(checked).
Step 7: Set the size of HDD for your new Step 8: Set your Management network.
Adapter type VMXNET3
. Server
EVE HDD is recommended to set at least
500Gb
EVE-NG Community Cookbook
Version 1.08
Mandatory Prerequisites: Internet must be reachable from your PC and VMware. EVE
ISO installation requires internet access to get updates and install the latest EVE-PRO
version from the EVE-NG repository. DNS must work as well, to check it, do a named
ping, for example ping www.google.com
Step 3: Make sure if English is selected and Step 4: You can select your own Location,
confirm with Enter. or later, after management IP assignment,
location will be set automatically. You can
leave United States. Confirm with Enter
Step 9: Correct your subnet mask, using the Step 10: Correct your Gateway IP, using
Tab key the Tab key
EVE-NG Community Cookbook
Version 1.08
Step 11: IMPORTANT. Name server must Step 12: EVE hostname by default is eve-
respond to the Internet and will be used ng. It can be changed if you wish. Using the
during the next install steps. Enter your Tab key select continue and confirm with
name server IP. Using the Tab key select Enter
Step 13: Enter your network domain name. Step 14: If your DNS IP settings are correct,
You are free to use any, for example: Ubuntu will detect your location from
eve-ng.net Internet. Confirm with Enter.
EVE-NG Community Cookbook
Version 1.08
Step 15: If you have proxy in use for your Step 16: Select no automatic updates and
internet, assign your network proxy settings. confirm with Enter. Security updates can be
If no proxy in use, with Tab key select run later manually from EVE cli.
Continue and confirm with Enter.
Step 17: After the Step 18: Without powering off the EVE VM,
screen appears, DO NOT remove CD ISO open the EVE VM settings and make sure
from VM or hit Enter continue. We have to that CD
verify settings for EVE installation Phase 2.
Follow step 9. Confirm with OK.
EVE-NG Community Cookbook
Version 1.08
Step 19: Return back to EVE console screen Step 20: Once EVE login screen appeared,
and confirm Continue with Enter, EVE VM login in CLI with root/eve and follow
will reboot and continue Phase 2 installation installation Phase 3
Step 21: Setup EVE Management IP Step 22: After your EVE is rebooted,
address. A Static IP address setup is
preferred Login to EVE CLI and type:
IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer to section 12
Step 1: ESXi Host, Create/Register VM Step 2: Set option Deploy a virtual machine
from an OVF or OVA file
Step 3: Type the name for your new EVE Step 4: Select the storage where your EVE
VM and browse to select your all VM will be deployed.
downloaded EVE OVF files
EVE-NG Community Cookbook
Version 1.08
Step 7: Set desirable RAM for your EVE. Step 8: Power ON your EVE VM and follow
Management IP setup instructions described
in section 3.5.1 for Static IP or 3.5.2 for
DHCP IP.
EVE-NG Community Cookbook
Version 1.08
IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer to section 12
Make sure that your EVE OVF VM is up to date with the newest EVE version.
Follow the steps described in section 4 for upgrade instructions
NOTE: IMPORTANT! DO NOT expand the current EVE OVF HDD. To expand your EVEs
system disk size, please follow the troubleshooting section 11.2
Mandatory Prerequisites: Internet must be reachable from your PC and VMware. EVE ISO
installation requires internet access to get updates and install the latest EVE-COMM version
from the EVE-NG repository. DNS must work as well, to check it, do a named ping, for example
ping www.google.com
Step 3: Make sure that English is selected Step 4: You can select your own Location,
and confirm with Enter or later, after management IP assignment,
EVE-NG Community Cookbook
Version 1.08
Step 7: Leave English (US) as selection and Step 8: Select your management network
confirm with Enter adapter and confirm with Enter
EVE-NG Community Cookbook
Version 1.08
Step 13: Enter your subnet mask, using the Step 14: Enter your Gateway IP, using the
Tab key Tab key
Enter Enter
EVE-NG Community Cookbook
Version 1.08
Step 15: IMPORTANT: The name server Step 16: Type your EVE server hostname,
must be able to resolve public DNS entries Example: eve-ng
and will be used during the next install
steps. Enter your name server IP, using the
Enter
Step 17: Type your domain name. You are Step 18: Type your Ubuntu username,
free to use any. Example: eve-ng.net Example: user
EVE-NG Community Cookbook
Version 1.08
Step 19: Select a username (e.g. ) for Step 20: Enter a password for your new
your account and Continue user
Step 21: Re-enter your password and Step 22: If you want to use a weak password,
continue click on this screen.
Step 25: Select HDD partitioning method Step 26: Select your disk partition, and
use entire disk and set up LVM confirm with enter
Step 27: Confirm write changes to disk with Step 28: Select the volume size and continue
hit enter to continue
Step 29: Confirm write the changes to disk Step 30: If you have a proxy in use for your
with internet, enter your network proxy settings. If
no proxy is used, use the tab key to select
Continue and confirm with enter.
EVE-NG Community Cookbook
Version 1.08
Step 31: Select o automatic updates and Step 32: Using the Arrow keys select
Continue OpenSSH server for installation and
confirm with the Space key (*), continue with
enter
Step 35: Login in to your Ubuntu with the Step 36: Continue as root user. Enter the
username created above (user/Test123 was commands below, each followed by the enter
the example) key.
Step 37: Create root password Step 38: Verify and set your hostname if you
set it before
Step 39: Verify your host settings Step 40: Edit permissions for root user to
allow SSH access to EVE server
Before edit:
After edit:
installations to use a static IP address. After Login to the EVE CLI and type:
the IP address setup, continue with Step 46
IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer section 12
Step 2: Sign into GCP. Create a new GCP account if you do not already have one.
used as well.
EVE-NG Community Cookbook
Version 1.08
Step 5. Navigate: top bar and select your newly created Project
EVE-NG Community Cookbook
Version 1.08
Preparation of your Project can take some time. Wait until the VM Instance window finishes
Step 2: create a nested Ubuntu 16.04 image model. Copy and paste the below command into
the shell. Use copy/paste. crtl +c/ctrl +v. It is single line command. Confirm
EVE-NG Community Cookbook
Version 1.08
You will get the following output when your image is ready:
3.4.4 Creating VM
Step 4: Edit your Machine Configuration. General-Purpose. Choose the series of CPU platform,
Preferred are Intel CPUs Skylake or Cascade.
Step 7. Select Custom images and the custom boot images you created previously. Choose
HDD disk type and size. HDD size can vary depends of your needs.
EVE-NG Community Cookbook
Version 1.08
Confirm with Y
Step 6: Dockers installation. After EVE is rebooted, reconnect the SSH session:
Summary FW rules.
Step 1: Log into the EVE CLI using the default Step 2: Retype your root password again
login root/eve After login, type your preferred and confirm with enter.
root password for EVE, default is eve.
Remember it for further use. Confirm with
enter
Step 3: Choose your EVE VMs hostname. By Step 4: Type your domain name for your
default, it is eve-ng. You can leave it as it is. EVE VM. By default, it is example.com. The
Confirm with enter default value can be used as well.
Confirm with enter
Step 5: Using the arrow keys, select the Step 6: Type your desirable EVE
your selection with management IP. Confirm with enter.
the space key, followed by enter
EVE-NG Community Cookbook
Version 1.08
Step 7: Type the subnet mask of your EVE Step 8: Type your networks gateway IP.
management network. Confirm with enter. Confirm with enter.
Step 9: Type your networks primary DNS Step 10: Type your network Secondary
IP. Confirm with enter. DNS IP. Confirm with Enter.
IMPORTANT: DNS must be reachable and IMPORTANT: DNS must be reachable and
resolve public addresses. resolve public addresses.
Step 11: Type your preferred NTP server IP. Step 12: If you have a proxy in use for your
It can be left empty as well; in this case, your Internet, select the respective proxy option
EVE VM will automatically assign the time and configure your proxy settings. By default,
from its host. it is direct connection (no proxy). Confirm
your selection with enter. EVE will reboot
automatically.
EVE-NG Community Cookbook
Version 1.08
IMPORTANT NOTE: If you are setting up your management IP for the first time (fresh
EVE installation), please return to the install section and complete installation phase 3.
Step 1: Log into the EVE CLI using the default Step 2: Retype your root password again
login root/eve After login, type your preferred and confirm with enter.
root password for EVE, default is eve.
Remember it for further use. Confirm with
enter
Step 3: Choose your EVE VMs hostname. By Step 4: Type your domain name for your
default, it is eve-ng. You can leave it as it is. EVE VM. By default, it is example.com. The
Confirm with enter default value can be used as well.
Confirm with enter
EVE-NG Community Cookbook
Version 1.08
Step 5: Using the arrow keys, select the Step 6: Type your preferred NTP server IP.
dhcp confirm your selection with the It can be left empty as well; in this case, your
space key, followed by enter EVE VM will automatically assign the time
from its host.
IMPORTANT NOTE: If you are setting up your management IP for the first time (fresh
EVE installation), please return to the install section and complete installation phase 3.
Then reboot. Once you log into the CLI again, EVE will go through the network setup again.
Please follow the steps in section 3.5.1 for Static IP or 3.5.2 for DHCP IP.
You must have enough HDD space available. The main eve--ng--vg-root partition must have
at least 10GByte free space while the boot partition must have at least 50Mbyte. To check how
much space is available on your HDD, enter the following command into the CLI of EVE:
You have to make sure that your EVE Community Edition is of version (v2.0.3-86) or later. You
must be able to reach the internet from your PC, VMware or Server.
You can also verify your current EVE version from the WEB GUI. Top menu bar, System,
System status.
You can check the version number of the newest currently available Community version on the
EVE-NG Community site: http://www.eve-ng.net/community.
Type the following commands below and hit enter after each.
To upgrade to EVE-NG Pro, issue the following commands into the CLI of EVE followed by
enter.
EVE-NG Community Cookbook
Version 1.08
After the reboot continue with the below commands, followed by enter
Continue to the EVE-NG Pro license purchase section of the website and follow the remaining
instructions.
http://www.eve-ng.net/downloads/windows-
client-side-pack
Step 3: Leave the option for UltraVNC Step 4: Continue with Next. When it asks to
checked. UltraVNC is very tiny and the choose Ultra VNC Options, only leave the
preferred VNC client for Windows by EVE. UltraVNC Viewer checked, the rest is not
needed.
EVE-NG Community Cookbook
Version 1.08
By default, EVE Windows Client Integration will install Putty as your Telnet Client. The default
location for the EVE Windows Client Integration software and .reg files is: C:\Program
Files\EVE-NG
Set the default telnet program manually in Windows 10. Example: SecureCRT
NOTE: The first time click on the type of link that is used to access a running node
inside EVE via telnet, the browser will ask to choose the telnet program. If you have
prepared your default telnet program with the instructions above, you have to choose
your default Telnet program.
Step 1: Go to the EVE Linux Side Step 2: Open the link to GitHub
integration pack download page:
https://github.com/SmartFinn/eve-ng-
http://www.eve-ng.net/downloads/linux- integration
client-side
EVE-NG Community Cookbook
Version 1.08
Step 4: Login as root to your Linux system and enter the commands below:
NOTE: An internet connection is required. Enter each command line below one after the
other
For other Linux native console setup options please refer to:
https://github.com/SmartFinn/eve-ng-integration
OSX Sierra (and older releases) is ready to use for the telnet protocol.
For High Sierra, a telnet binary must be added (Apple decided to remove it and it is not present
anymore on the latest OSX releases).
EVE-NG Community Cookbook
Version 1.08
http://your_eve_ip/files/osx.zip (to be updated) Please contact to EVE Live chat for this
package.
Step 1: Reboot the Mac and hold down Command and R key simultaneously after you
hear the start-up chime, this will boot OSX into Recovery Mode
Step 2: OSX
Step 3: Type the following command into the terminal then hit enter:
Step 4: When the OSX reboot is done, extract the osx.zip to your home directory
Step 5: Copy the files to /usr/bin and set the permissions using the terminal utility:
EVE-NG Community Cookbook
Version 1.08
1. Reboot the Mac and hold down Command + R keys simultaneously after you hear
the startup chime, this will boot OSX into Recovery Mode
2. OSX U
Type the following command into the terminal then hit enter:
VNC Protocol:
RDP Protocol:
Download and install the Microsoft Remote Desktop on the App Store:
http://<your_eve_ip>/
User: admin
Password: eve
NOTE: You can change your EVE WEB Admin password, please refer to section
6.3.1.2
IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer to section 12
EVE-NG Community Cookbook
Version 1.08
4
Prerequisites: Internet access and working DNS on your EVE-NG is required.
Verify your internet reachability with named ping. Example: ping www.google.com
If your ping is success, follow next step for update. If named ping has no success, please verify
your DNS IP assigned for EVE or firewall. Some cases ping can be blocked by FW, but Internet
and DNS are capable to make update/upgrade.
OPTION for bare EVE installations which has bnx2x Broadcom Ethernet drivers, please
rewrite your driver to the newest linux-firmware:
IMPORTANT NOTE: before you start your EVE Community update & upgrade, please free
up your EVE Community from older kernel packages:
The newest version of EVE-NG can be verified by checking the official website: http://www.eve-
ng.net/community/community-2. The main page will display the latest EVE-NG version and
correct steps to update.
IMPORTANT NOTE: If you are upgrading EVE Community from older version, the
installation may ask you to confirm additional! Information:
After the completion of the update and upgrade, reboot your EVE Server. Type the following
command and hit enter.
EVE-NG Community Cookbook
Version 1.08
5
IMPORTANT NOTE: EVE Console TCP ports. EVE Community uses a static port
range between 32678-40000.
Linux OS: You can use your preferred telnet program like the Native Terminal, SecureCRT,
or others.
Example: Telnet client from the native terminal on Linux Mint. To setup Linux native telnet
client please follow section 3.7.2
MAC OSX: You can use your preferred telnet program like the native Terminal, SecureCRT,
or others.
Example: Telnet client from the native terminal on MAC OSX. To setup MAC OSX native
telnet client please follow section 3.7.3
IMPORTANT NOTE: Make sure you have installed Wireshark and EVE-NG client
pack. It is strongly recommended if your Wireshark software is installed at your PC
default location.
EVE-NG Community Cookbook
Version 1.08
IMPORTANT NOTE: The Wireshark wrapper located in your PC station must match
your EVE root password. Edit your EVE root password in the wireshark_wrapper.bat,
if you had changed it during install.
Linux OS: Remote Desktop Viewer as RDP session to lab Win10 host.
Example: RDP session to Win10 host in the lab. To setup Linux native Remote Desktop
Viewer please follow section 3.7.2
EVE-NG Community Cookbook
Version 1.08
MAC OSX: Remote Desktop Viewer as RDP session to lab Win10 host.
Example: RDP session to Win10 host in the lab.
To setup MAC OSX native RDP Viewer client please follow section 3.7.3
During Windows machine image installation, you can allow RDP sessions to be used for access
to Windows host. If your Windows host has enabled RDP session, edit windows node settings
and set RDP console. Give time to boot this node and RDP session will opens in new browser
tab.
EVE-NG Community Cookbook
Version 1.08
EVE-NG Community Cookbook
Version 1.08
6
6.1 EVE Management Page
The Main EVE management window
Button Description
Change selected item name. To use this option, please select the folder or lab
that you want to rename. You must not rename the Shared folder, the Users
folder or any folder inside the Users folder.
Move selected item(s) to a different location. To use this option, please select
the folder(s) or lab(s) that you want to move.
EVE-NG Community Cookbook
Version 1.08
Delete selected folders or labs. You must not delete the Shared folder, the
Users folder or any folder inside the Users folder.
Import an EVE lab or lab folder from a previous export. Import file must be in
.zip format
Export EVE lab or folder. Select folder(s) and/or labs you wish to export and
select this option. The export is saved to your local PC in .zip format and is
ready to import to another EVE.
Toggle the sorting folders and labs between alphabetical and last edit date
(ascending/descending cannot be changed currently).
Tab Description
System dropdown.
Information dropdown
Type and select the target destination for your folder and
confirm by clicking on Move.
Select the folder(s) you wish to export from your EVE and press Export.
Save the exported file as .zip to your local PC. The exported zip file is ready to import to another
EVE instance.
If your browser is set to save downloaded files to a default directory, your exported file will be
saved in the browsers default downloads directory.
IMPORTANT: Importable file MUST be in .zip format, do NOT unzip the file.
Step 2: Choose the zipped file that contains EVE folders with labs.
Step 4: After you made sure your folder is imported and has all its content (labs), you can close
the upload session.
Select the lab or labs you wish to delete and then press the Delete button
The cloning feature provides a very convenient way to duplicate original labs to share with
others or base another lab on it.
Cloned labs will copy exported configs (on supported nodes) but will not copy saved
states/configurations in Qemu nodes like Windows hosts, Cisco ISE, or other Qemu nodes that
are not supported by the export config feature. Please refer to section 10.1 for more information
on configuration export for labs.
Step 1: Select the lab you wish to clone and move the mouse pointer (blue) to that lab, an extra
option will appear. Click on Clone.
EVE-NG Community Cookbook
Version 1.08
Step 2: Your lab will be cloned with all your exported configurations or configuration sets with
a new name.
Step 3: The lab has been cloned lab and can be renamed to your liking. Move the mouse pointer
to the cloned lab and choose Rename.
Step 1: Select the lab you wish to Move and move the mouse pointer (blue) to that lab, an extra
option will appear. Choose Move to.
Select the Lab(s) you wish to export from your EVE Server and press Export.
EVE-NG Community Cookbook
Version 1.08
Save exported file as .zip to your local PC. The exported zip file is ready to import into another
EVE.
If your browser is set to save downloaded files to default directory, your exported file will be
saved in the browsers default downloads directory.
IMPORTANT: Importable file MUST be in .zip format, do NOT unzip the file.
Step 2: Choose the zipped file which contains the EVE labs.
EVE-NG Community Cookbook
Version 1.08
Step 4: After you made sure your lab is imported, you can close the upload session.
Step 1: Open the User management submenu. Management>User management and click Add
user
EVE-NG Community Cookbook
Version 1.08
Step 2: The Add New User management window will pop up. Fill in the main information about
your EVE user
Step 3: The POD number is a value assigned to user accounts automatically. POD numbers
are like user profiles inside of EVE and are a unique value for every user Think of PODs like a
virtual rack of equipment for each user. Admins can assign a preferred number between 1-128.
Please keep POD numbers unique between users!
Step 1: Open the User management submenu. Management -> User management and choose
which user you want to edit.
EVE-NG Community Cookbook
Version 1.08
Step 2: The Edit user management window will pop up. Now you can edit necessary user
information, roles, or access time. Confirm settings by pressing Edit at the bottom of the
window.
There is
information about your users. Click the checkbox next to the relevant information that you would
like displayed. Additional columns will be added for each checkbox that is chosen.
UKSM Ultra KSM (kernel same-page merging) is a Linux kernel feature that allows the KVM
hypervisor to share identical memory pages among different process or virtual machines on the
same server. It can be disabled globally for EVE on this page. It is recommended to keep
UKSM enabled.
Reference:
https://searchservervirtualization.techtarget.com/definition/KSM-kernel-samepage-merging
In the menu you can select a specific log file for inspection.
To join the EVE Live Chat for support, please use your Google account for access, or create a
new user account for this chat. Please note the forum and live chat use separate user accounts.
Other items on the top menu are: Real-time clock, a shortcut to edit the currently logged in user,
and a sign-out button.
Button Description
Opens the Labs Global Settings. Refer to section 6.7.4 for more info.
This page allows you to fill out important information about the lab. The red numbers in the
picture correlate with the numbers listed below
1. Lab name.
2. Version: Version numbers allow a lab author to assign a value to a unique state of a
lab. Increase the number to correspond to new developments in the lab. If left unfilled,
EVE will assign a value of 1 automatically.
4. Config Script Timeout: It is the value in seconds used for the Configuration Export
and oot from exported configs operations. Refer to section 10.3 for more
information.
EVE-NG Community Cookbook
Version 1.08
5. Description: In the Description field you can write a short description of the lab.
6. Tasks: In the Tasks field you can write the task for your lab.
The Lab details window can be opened from the Topology Canvas page
sidebar during labbing, to read the Tasks for the lab.
EVE-NG Community Cookbook
Version 1.08
7
Once you open a lab, the topology page for that lab will open.
The Node object opens the Add a new node window. Only nodes that appear blue in the
dropdown menu can be added. A grey image name signifies that you have not yet properly
uploaded an image to the proper folder. A blue image name means that at least one image
exists in the proper folder for this template.
The Network object opens the Add a new network window. This function is used to add any
kind of network (Cloud, Bridge). For details on these, please refer to section 9
EVE-NG Community Cookbook
Version 1.08
The picture object opens the Add Picture window and allows you to upload custom topologies
in jpg or png format. After uploading, you can edit these pictures and map selected areas to
nodes from the topology to use your own designs as a lab topology from which you can directly
connect to the nodes. For details, refer to section 10.2
The Custom shape object allows you to add shape elements onto the topology; these currently
include squares, round squares and circles. For details, refer to section 10.1
EVE-NG Community Cookbook
Version 1.08
The Text object allows you to add Text elements onto the topology. For details, refer to section
10.1.3
7.1.2 Nodes
The Nodes object in the sidebar opens the Configured Nodes window.
In this window, you can make changes for nodes that are on the lab topology. More options
can be found in the detailed node specific menu, for details refer to section 8.1.2.
NOTE: Running nodes are highlighted in Blue, their settings cannot be changed. You
can only change settings of nodes that are not currently running.
Node Name
Boot image
Number of CPUs for the node
Enable or disable CPU Limit (Refer to section 6.4.1)
IDLE PC for Dynamips node
NVRAM in Kbyte
RAM in Mbyte
Ethernet quantity. NOTE: The Node must be disconnected from any other nodes to
make this change. You cannot change the interface quantity if the node is connected
to any other node.
Serial interface quantity, IOL nodes only. You cannot change Serial interface quantity
if the node is connected to any other node.
Type of Console
Node Icon that appears on the Topology
Startup configuration to boot from
EVE-NG Community Cookbook
Version 1.08
Start node
Stop node
Wipe node
Export the nodes config
Networks
Edit node
Delete Node
7.1.3 Networks
The Networks object in the sidebar will open the Configured
Networks window.
The Configured Networks window will only show networks that were specifically added to the
topology; it will not show node interconnections. The example below is showing information for
networks on the Topology. For Cloud networks and how to connect EVE labs to a network
external to EVE, please refer to section 9
EVE-NG Community Cookbook
Version 1.08
Edit Network
Delete Network
7.1.4 Startup-configs
The Startup-configs object in the sidebar opens the Startup-configs
window.
This window will show you startup-config for each node and if the node is set to boot from it
(ON) or not (OFF).
For details on the Picture / custom topology feature, refer to section 10.2
EVE-NG Community Cookbook
Version 1.08
NOTE: You will not see any objects in this window if none have been added to the lab yet.
Start all nodes action will start all nodes on your topology, taking
the (configurable) startup delay of each node into consideration.
IMPORTANT. Starting many nodes at once can seriously spike your CPU utilization.
Please make sure that you are not using the Start all nodes option for heavy labs or
that you have configured a proper delay between the nodes. For heavy nodes and
large quantities, it is recommended to start them in smaller groups, wait for them to
finish booting and then start another small group of nodes.
Stopping all nodes will power off all nodes on your topology.
The Wipe all nodes action will wipe the NVRAM or currently saved
image of all your nodes in the current lab.
Example: You have saved the nodes configuration by saving the running configuration to the
startup configuration. The Wipe command will delete the saved NVRAM startup configuration
and on the next boot it will boot from factory defaults.
The same applies to images without configurations, e.g. a linux node. If you make modifications
to the system and afterwards wipe this node, the next time it will boot from the original base
image again as the modified image was deleted.
The Wipe node action is commonly used with initial startup configuration modifications. The
Wipe node action does not delete configured startup configurations or sets. Please refer to
section 10.3
WARNING: this action will delete all configurations saved to your saved default config
set. Please make sure that is what you want to do before you execute this.
7.1.10 Status
Opens the EVE Status window.
Especially useful while working with labs to monitor your EVE s resource utilization. It shows
EVEs CPU, RAM and disk utilization in real time. You can also see the number of running
nodes per node type. For details on UKSM and CPU Limit, please refer to section 6.4.1
To unlock a Lab, simply press on the red Unlock Lab button with an Administrator account.
Warning: Please remember your Lab lock password. In case of a lost password, you will not be
able to recover it. Unlocking a lab / removal of password can be done by EVE-NG support only.
Sets your lab background to the dark mode Sets your lab background to light mode
7.1.15 Logout
Log out from the EVE WEB GUI session.
EVE-NG Community Cookbook
Version 1.08
Auto Align. This function will help align objects on the topology. The lab
creator does not need to worry about small displacements of objects. Auto
Align will align all objects to a virtual grid with a single click and can make
neatly arranged labs look even neater.
Start node: This will start the selected node in this lab
Wipe node: Wiping a node will erase the NVRAM (running config) or the temporary image
snapshot depending on the type of node. This option is used to clean up a node in order to
boot it from factory defaults or a custom set of configurations.
Export CFG: This function is used to export the saved running configuration to the EVE
startup configuration sets. Reference section 10.3
Start Selected: This will start the selected nodes in this lab.
Stop Selected: This will stop the selected nodes in this lab
EVE-NG Community Cookbook
Version 1.08
Wipe Selected: The Wipe Selected nodes action will wipe the NVRAM or currently saved
image of the selected nodes in the current lab.
Example: You have saved the nodes configuration by saving the running configuration to the
startup configuration. The Wipe command will delete the saved NVRAM startup configuration
and on the next boot it will boot from factory defaults.
The same applies to images without configurations, e.g. a linux node. If you make modifications
to the system and afterwards wipe this node, the next time it will boot from the original base
image again as the modified image was deleted.
The Wipe node action is commonly used with initial startup configuration modifications. The
Wipe node action does not delete configured startup configurations or sets. Please refer to
section 10.3
Console To Selected Nodes: Console To Selected Nodes will open a console to all selected
running nodes in the current lab. This includes all different kinds of configured console types
for lab nodes like VNC, Telnet and RDP
Export all CFGs: The Export all configurations action will export current configs of selected
nodes to the EVE startup-configs.
Set nodes startup-cfg to default configset: Sets nodes to Default startup config, used
commonly with the wipe nodes function. NOTE: If you have nothing saved in the default config
set for any node, that node will boot from factory default instead. This is commonly used with
the wipe nodes function so the node will boot from the configured startup-config on next boot
and not from the startup-config in its NVRAM in case the node was started before already.
Set nodes startup-cfg to none. Setting selected lab nodes to boot from factory default. Used
commonly with the wipe nodes function. The example below shows the steps to set selected
nodes to boot from factory default.
Step 2: Right click on one of the selected nodes and choose Horizontal align, this will align all
nodes to the selected node.
Picture before:
EVE-NG Community Cookbook
Version 1.08
Picture after:
Step 2: Right click on one of the selected nodes and choose Vertical align, this will align all
nodes to the selected node.
Step 2: Right click on one of the selected nodes and choose Circular Align, this will align all
nodes in a circle, the midpoint of the circle will be at the coordinates the selected node was at
before.
WARNING, this action will delete the configurations of the selected nodes that are
saved to your Default config set. Please make sure that is what you want to do before
you execute this.
Delete selected: This will delete the selected nodes from your current lab.
Example: You can select nodes and objects to better position them on the Topology.
A grey node with an exclamation mark inside a triangle below the node means
that there was a problem during the boot process, this could be a corrupted boot
image, insufficient resources or problems with the initial configuration. A node in
this state cannot be started again.
Workaround: Right-click on the node and wipe it, the symbol will then change to a grey colour
with a square symbol below it. Then edit the node and make sure you have configured sufficient
resources and the correct settings for this node, if it has startup-configs you can check them as
well. Afterwards start the node again.
A running node with a clock symbol below the node means that the node is waiting
to finish loading from the set exported/startup configuration. Once the configuration
has been successfully applied, the node symbol will change to a Play triangle
symbol. If the node has finished booting but the clock symbol does not change to
the Play triangle symbol, the problem could be in the uploaded startup configuration. For how
to use exported configurations and boot nodes from them, please refer to section 10.1
A running node with a turning red gear symbol means that the node is either in the
process of hibernating the node or it has sent the shutdown signal to the node and
is waiting for it to turn off. Once this process has successfully finished, the symbol
will turn into a grey node with a black square symbol below it (stopped state).
NOTE: If the node does not support a system shutdown or does not recognize the
shutdown signal (example: Cisco router), after clicking on Shutdown, the node can
stay with a turning red gear symbol below it indefinitely.
Workaround: Use Stop or Stop/PowerOff to stop the node.
Example nodes where Stop/Shutdown is supported: Microsoft Windows and most Linux nodes
as well as a lot of appliances based on linux.
7.4 Other
8
IMPORTANT NOTE: You must prepare and upload at least a couple of images to start
building your labs. Refer to section 12
Step 2:
Fill out the lab information. Name and Version are required fields. Next hit Save. Refer to
section 6.7.4 for more information about the different fields in the Edit lab window.
Left Side Bar > Add object > node. Refer to Right click on a free area of the topology
section 7.1.1.1 for more information. page and click add a new node.
Refer to section 7.2.1 for more information.
EVE-NG Community Cookbook
Version 1.08
Step 2: The Add new node window will appear. You can scroll down to choose which node you
wish to add to the lab topology, or you can type the node name to filter through the node list.
NOTE: It will only be possible to select and add nodes that have images preloaded in
EVE. These nodes will be displayed in a blue font. To prepare images for EVE, refer
to section
EVE-NG Community Cookbook
Version 1.08
Step 3: Edit dd a new node settings. Please refer to the picture and table below.
EVE-NG Community Cookbook
Version 1.08
Number Description
Ethernet interfaces for IOL nodes are placed into groups of 4. A value of 1 for
Ethernet means your node will have 4 interfaces.
10.
The serial interface option is available for IOL nodes only and follows the same
grouping structure as ethernet interfaces. A value of 1 for Serial means your
node will have 4 serial
interfaces.
Custom MAC address for Qemu nodes only. You can define your own MAC
address for first interface:
11.
NOTE: A node must be wiped each time an image or startup configuration has been
changed.
From the Topology page. Click Nodes from the left sidebar to bring up the nodes list. Refer to
section 7.1.2 for more details.
The Edit window will appear. It is very similar to the window that is displayed when you
add a new node. To change values for the node, refer to the nodes value table in section
8.1.1.1.
EVE-NG Community Cookbook
Version 1.08
Connector symbol: Moving the mouse over a node will make an orange male plug
appear. The male plug is used to connect nodes on the topology, drag and drop
style. Release the mouse pointer on the second node.
The connection window will appear. Choose the interface you want to use to interconnect the
nodes. Click Save when finished.
The Start all nodes option will start all nodes on your topology.
IMPORTANT. Starting all the nodes at once can result in major spikes in CPU
utilization. Please make sure you are not using Start all nodes option for heavy
labs. Instead, it is recommended to start nodes in small groups.
Running nodes will turn blue. Refer to section 7.3 for node states
Example:
EVE-NG Community Cookbook
Version 1.08
Your current work will be saved in the nodes NVRAM and the lab can be stopped safely.
Starting the lab again will allow you to pick up from where you left off.
WARNING: Using the wipe action on a node will clear its NVRAM. This is similar to
doing a factory reset on a device.
The configurations of nodes can be exported and used as initial or startup configurations for
your labs. To export configurations and configuration sets for labs refer to section 10.1
NOTE: It is recommended to save your running configurations before you stop your nodes.
9
9.1 Bridge Network
The EVE Bridge interface acts like an unmanaged Switch. It supports passing along tagged
dot1q packets.
Step 1: Add a Bridge Network onto the topology. There are two ways to do this: Right-clicking
on the topology area and selecting Add Network or in the sidebar click Add an Object and
then select Network. Please refer to sections 7.2.3 and 7.1.1.2
Step 2: Name/prefix can be changed in order to rename your Bridge network. Make sure your
network type is set to bridge.
Step 3: Connect your nodes using the drag and drop connector. Refer to sections 8.1.4 and
7.2.3
EVE-NG Community Cookbook
Version 1.08
Cloud0 is commonly used inside EVE labs to get management access to nodes running inside
EVE from a host machine external to EVE.
IMPORTANT NOTE: For EVE VMs running on ESXi, make sure your management
interface bridged with the vSwitch (Port group) has the security settings for
Promiscuous Mode set to Accept. Any port group or vSwitch used to connect an
external network to an EVE Cloud network needs to have the Promiscuous mode set
vSwitch Settings
Portgroup Settings
EVE-NG Community Cookbook
Version 1.08
EVE
Lab name interface Type Notes
name (inside)
Question: How can I obtain my Cloud0 subnet and gateway IP. Many EVE VMs only
have a DHCP address assigned on the pnet0 interface.
Answer: SSH to EVE and type the following from the CLI:
Example: We want to use Cloud0 as a management network for an ASAv node in an EVE lab.
From the above-obtained information, we know that our Cloud management subnet is
192.168.90.0 with a mask of 255.255.255.0 and the Gateway IP is 192.168.90.1.
Step 4: Start the node and configure the interface connected to Cloud0 with an IP address from
the management subnet (192.168.90.0/24 in this example). Make sure you do not assign
duplicate IPs.
EVE-NG Community Cookbook
Version 1.08
NOTE: Cloud interfaces can be used to connect multiple nodes to a single cloud instance on
the topology.
EVE VMware
ESXi VM
Lab cloud interface Workstation Bare HW
Type corresponding Notes
name name corresponding Server
interface
(inside) interface
Third
Network Network ethernet
Cloud2 Pnet2 bridged Same as Cloud1
adapter 3 Adapter 3
Eth2
Fourth
Network Network ethernet
Cloud3 Pnet3 bridged Same as Cloud1
adapter 4 Adapter 4
Eth3
Network Network
Cloud4-9 Pnet4-9 bridged Same as Cloud1
adapter 5-10 Adapter 5-10
If some of the clouds (e.g. Cloud1) are bridged to another ethernet (VMnet) you can connect
your EVE lab to an external VM or physical device (like e.g. a switch, IP phone or access point).
For ESXi make sure that you have set Promiscuous mode security settings on the
vSwitch and Port group to Accept. Please refer to section 9.2
The next sections will explain how you can use Cloud networks in EVE to connect to other
external (e.g. VMWare) VMs or physical devices.
NOTE: A single Cloud interface can be used to connect more than one external VM to
the EVE lab.
Example: Connecting a Web Security Appliance (WSA) to the lab using the Cloud1 interface.
Step 1: Create a new or use an existing portgroup on your ESXi and assign it to EVE and WSA
VMs as shown below. Make sure you have set Promiscuous mode on the vSwitch (portgroup
WSA-MGMT) to Accept.
EVE VM, second port is assigned to Cisco Web security appliance (WSA),
portgroup WSA-MGMT. It is Cloud1 on the Management port is assigned in portgroup
EVE topology. WSA-MGMT.
NOTE: ESXi WSA VM obtained the IP 192.168.10.3 from the DHCP pool on the lab
switch. The gateway is 192.168.10.1
NOTE: The Firefox Docker node user for management obtained the IP 192.168.10.2
from the DHCP pool configured on the lab switch.
EVE-NG Community Cookbook
Version 1.08
NOTE: A single Cloud interface can be used to connect more than one external VM to
the EVE lab.
Example: Connecting Web security Appliance (WSA) to the lab using Cloud2 interface.
Step 1: Open your VMWare Workstation Virtual Network Editor and configure the VMnet
interface for the Cloud and WSA VMs. If necessary, add a new VMnet. The example below is
showing VMnet2 Settings in VMWare workstation. DHCP must be disabled for VMnet2.
EVE VM, the third port (Network adapter 3) is Cisco Web Security Appliance (WSA),
assigned to VMnet2. This is Cloud2 inside your Management port is assigned to VMnet2
EVE labs.
NOTE: ESXi WSA VM obtained the IP 192.168.10.3 from the DHCP pool on the lab
switch. The gateway is 192.168.10.1
NOTE: The Firefox Docker node user for management obtained the IP 192.168.10.2
from the DHCP pool configured on the lab switch.
EVE-NG Community Cookbook
Version 1.08
IMPORTANT NOTE: Make sure that you have set Promiscuous mode security settings
on the vSwitch and Port group to Accept.
IMPORTANT NOTE: If you are building trunk between EVE lab node to real Switch,
please make sure you have set your ESXi vSwitch interface to accept all vlans.
Reference: https://kb.vmware.com/s/article/1004074
The Example below is showing ESXi Server settings of the virtual network bridged to the
physical interface.
EVE-NG Community Cookbook
Version 1.08
vSwitch1 settings bridged with Server Ethernet port vmnic1 (physical adapter)
Portgr
EVE VM Settings
EVE VM
EVE-NG Community Cookbook
Version 1.08
Physical Topology
Cisco 887M device port Fastethernet 3 is physically connected to Server port eth1.
EVE lab switch port G0/0 is configured as trunk and connected to Cloud0 over bridged chain
to the physical Cisco 887M Router switchport Fastethernet 3
EVE-NG Community Cookbook
Version 1.08
Virtual Network Editor Settings, Bridged VMnet interfaces with Real NIC Ports
EVE VM Settings. Network adapter is bridged to VMnet0 (ethernet Intel Pro 1), and Network
adapter 2 is bridged to VMnet1 (ethernet Intel Pro 2).
The following solution allows Windows hosts to transmit tagged packets over ethernet. This
has been used in the example above.
Warning. You are making changes to your Windows registry files! This is at your own
risk.
https://www.intel.co.uk/content/www/uk/en/support/articles/000005498/network-and-i-
o/ethernet-products.html
Basically, your servers physical port eth0 is bridged to pnet0 which is Cloud0 in your labs, eth1
is bridged to pnet1 which is Cloud1 in your labs (and so on). Refer to the bridging table in
section 9.3
The example below shows how to connect a bare-metal EVE server with a physical Cisco
3750E switch.
10
10.1 Lab design objects
EVE Community has drawing elements integrates to add drawings and text information to the
lab topology. Objects can be placed on the topology in two ways.
Option 1: Side bar -> Add an object Option 2: Right-click on a free area on the
topology canvas to add an object.
Example: Added a circle and square on the topology. Shapes can be moved
around the topology drag and drop style (click and move with mouse).
10.1.4 Add custom picture on the Lab using Text object feature
Sometimes you may have to add pictures, like logos on your topology. It is possible but you
need to convert your png or jpg to html format. We have tested this one as the best to achieve
result. Load your image in the web, and convert to html format.
https://www.askapache.com/online-tools/base64-image-converter/
Step 1: Load your picture jpg or png format and encode it.
Step 4: Mark and copy all content from HTML window above
EVE-NG Community Cookbook
Version 1.08
Z-index: Use
with a higher numerically valued z-index will cover an object with a lower
numerically valued z-indexed.
Border width
Border type: Used to change the border style of the object between solid and dashed.
Name:
right cl
Logical
maps
Step 2: Select a node, from the dropdown menu, that you want to map to the topology.
Step 5: OPTIONAL. You can also add a mapping for a device external to your EVE server in
order to telnet, VNC, or RDP to it. This way you can open sessions to all your devices (whether
external or internal) in one place.
Step 6: Save your mapping and refresh the browser with F5.
IMPORTANT NOTE: Before you start using the Configuration export feature, you
must complete at least one configuration export.
NVRAM: NVRAM is used as writable permanent storage for the startup configuration. During
the boot process, the node will always check NVRAM for a saved configuration. Saving the
configuration to NVRAM requires a vendor specific command. Cisco: copy run startup (wr),
Juniper: commit, etc. It is MANDATORY before you can export
it.
Exported configuration: A node configuration that has been exported from the node. It can
be used to backup configurations or to set them as startup-configs.
Wipe node: Wiping a node will erase the NVRAM (running config) or the temporary image
snapshot, depending on the type of node. Upon a successful wipe, the node will boot with the
factory default configuration or the configuration included in the base image you are using. If
- e node, then it will boot with the chosen
config set. You must wipe a node after changing certain node template settings like the image
or startup- -
Factory default configuration: The base configuration that is applied from the manufacturer.
Set nodes startup-cfg to default configs set: Set selected nodes to the default config set
Set nodes startup-cfg to none: Set nodes to boot from NVRAM or from factory default if
wiped.
EVE-NG Community Cookbook
Version 1.08
Delete nodes startup cfg: Delete selected node s startup cfg. (clean default set)
Step 1: MANDATORY: Configure your nodes and make sure you applied the vendor specific
command to save the running configuration to NVRAM. If you do not save the configuration, it
will not be exported and in the notification area, you will receive an error message stating the
node cannot be exported.
In this example the nodes have been configured with hostnames only and the configurations
have been saved to NVRAM.
Step 2: In the example below a group of nodes were selected to export configurations.
configuration is
completed. The notification area will display Export All: done .
Step 2: Open sidebar and click Startup-configs. Make sure your config is set to ON and the
nodes config switch is green (switch on/off beside node). Press the Save button (on
the bottom) and all your nodes will boot with the exported config set after wiping them.
EVE-NG Community Cookbook
Version 1.08
Step 1: Select the node you want to edit the configuration of and make your changes. Click
Save
Step 2: Save the config for nodes with the green Save button on the bottom.
NOTE: you can manually copy/paste any configuration into the config set editor and
apply it to your node. Make sure your configuration interfaces match the lab node
interface names.
Step 1: Wipe nodes. Refer to section 10.3 for information about wiping nodes and the order of
operations during boot.
EVE-NG Community Cookbook
Version 1.08
Step 2: Open sidebar and click Startup-configs. Make sure your config is set to OFF and the
nodes config switch is
bottom) and all your nodes will boot with no config/factory default after wiping them.
11
11.1 CLI diagnostic information display commands
df -h
Step 6: Make sure you have set the option Store Virtual disk as a single file and then click
Next
Step 7: Optional: Specify the location of where your new HDD will be stored, then click Finish.
Step 8: Boot your EVE VM, HDD size will be expanded automatically. To verify, use the
command to verify HDD utilization referenced in section 11.1.5
Step 5: It is recommended to set the Thick Provision Lazy Zeroed HDD option.
Step 6: Specify the location of where your new HDD will be stored and then click Next
Step 7: Leave the recommended SCSI HDD option as is and click Finish.
Step 8: Boot your EVE VM, the HDD size will be expanded automatically. To verify, use the
command to verify HDD utilization referenced in section 11.1.5
EVE-NG Community Cookbook
Version 1.08
http://www.eve-ng.net/live-helpdesk
Use a google account to join in the Live Chat or create new chat account.
Use the menu to collect log file data you are interested in.
EVE-NG Community Cookbook
Version 1.08
12
Images must be uploaded and prepared before they can be used in labs. The best way to
upload images is to use the WinSCP tool for Windows environment or FileZilla for MAC OSX
and Linux.
https://winscp.net/eng/download.php
https://filezilla-project.org/
The directory names used for QEMU images are very sensitive and must match the table below
exactly in order to work.
Ensure your image folder name starts as per the table. After the "-" you can add whatever you
like to label the image. We recommend using the version of your image.
firepower6-FTD-6.2.1
acs-5.8.1.4
https://www.eve-ng.net/index.php/documentation/qemu-image-namings/
https://www.eve-ng.net/index.php/documentation/howtos/
NOTE: For templates development use templates folder which is matching your EVE server
CPU manufacturer.
Example below will be based for Intel CPU EVE custom image template. Use EVE cli or
WinSCP/Filezilla to create template.
Step 2: Choose your most suitable template from which you want to create your own image
template. (example: newimage.yml)
EVE-NG Community Cookbook
Version 1.08
Step 3: Make a copy from source template newimage.yml. Example: Using CLI create template
and name it ngips.yml.
IMOPRTANT: The new name of your template will be related to your image foldername. Your
ngips-
Gi1/0
eth_format: <prefix>{<first value for slot: example eth_format: Gi{1}/{0-8} Gi1/1
1>}<separator>{<first value for port>-<number of Gi1/2
port per slot: example 8>} Gi1/3
Gi1/4
Gi1/5
Gi1/6
Gi1/7
Gi2/0
Gi2/1
....
Ge0/0
eth_format: <prefix>{<first value for slot: example eth_format: Ge{0}/{0-4} Ge0/1
0>}<separator>{<first value for port>-<number of Ge0/2
port per slot: example 4>} Ge0/3
Ge1/0
Ge1/2
Ge1/3
Ge2/0
Ge2/1
Ge2/2
....
Gi0
eth_format: <prefix>{<first value>} eth_format: Gi{0} Gi1
Gi2
Gi3
...
G0/0
eth_format: <prefix>{<first value>} eth_format: G0/{0} G0/1
G0/2
G0/3
...
eth_name: M1
eth_name: <prefix: Interface custom name> - M1 T1
- T1 T2
- T2
eth_name: MGMT
eth_name: <prefix: Interface custom name> - MGMT DATA
- DATA TRAFFIC
- TRAFFIC
As your node first interface will be custom named (eth0/mgmt), therefore in the template
EVE-NG Community Cookbook
Version 1.08
Change content, setting for various images can vary depends of vendor requirements. The
interface name lines please refer Section: 12.3.1
EVE-NG Community Cookbook
Version 1.08
Note: Qemu options in the line may vary per image requirements. Please check manufacturer
advice how to run KVM image
This icon should be about 30-60 x 30-60 in the png format (switch.png is for example 65 x 33,
8-bit/color RGBA)
Step 1. Use the EVE CLI. Make sure you are in the following EVE directory:
/opt/unetlab/html/includes/
Step 2. Edit the config.php file, uncomment and adjust to your TEMPLATE _DISABLED settings
(see screenshot below).
13
For additional updated information please follow our web site: https://www.eve-ng.net
FAQ: https://www.eve-ng.net/index.php/faq/
For access to live chat use your Google account or create new chat account.