Post

How to Upload the Image to EVE-NG

How to Upload the Image to EVE-NG

๐Ÿš€ How to Upload an Image to EVE-NG (Ultimate Step-by-Step Guide)

Whether youโ€™re a network engineer, a student preparing for certifications, or an IT professional building labs, EVE-NG (Emulated Virtual Environment - Next Generation) is one of the best platforms out there.

But one common challenge many users face is:

In this blog, weโ€™ll walk through how to upload an image to EVE-NG, the tools needed, and best practices to ensure the lab runs smoothly.

๐Ÿ“ฆ What Is an Image in EVE-NG?

An โ€œimageโ€ refers to a virtual machine disk file (such as .qcow2, .vmdk, etc.) used to emulate network devices like Cisco routers, Palo Alto firewalls, Fortinet devices, and more.

โœ… Prerequisites

Before uploading an image to EVE-NG, make sure the following are ready:

๐Ÿ“ 1. The Image File

  • Format: Typically .qcow2 (for KVM), sometimes .vmdk, .iso, etc.
  • Source: Downloaded from vendor (e.g., Cisco, Palo Alto, Fortinet) or converted from another format.

๐Ÿ–ฅ๏ธ 2. EVE-NG Community or Pro Installed

  • Either in a VM (VMware/VirtualBox) or on a dedicated server.
  • Make sure EVE-NG is up and running.

๐Ÿ”ง 3. Tools Required

Here are the main tools used to upload and configure images:

ToolPurposeOS
WinSCPUpload files via SCPWindows
FileZillaAlternative SCP toolWindows/Linux/Mac
Putty / TerminalSSH into EVE-NGWindows / macOS / Linux
EVE-NG Convert ToolConvert .vmdk to .qcow2 if neededOptional
QEMU-imgImage conversionOptional

๐Ÿ› ๏ธ How to Upload an Image to EVE-NG (Step-by-Step)

Hereโ€™s a detailed guide to upload the image.

๐Ÿ”น Step 1: Connect to EVE-NG Using WinSCP

  1. Download and install WinSCP
  2. Connect to the EVE-NG VM using:
    • Host: Your EVE-NG IP
    • Protocol: SCP
    • Username: root
    • Password: eve (default)

๐Ÿ” Change the default credentials for security.

๐Ÿ”น Step 2: Navigate to the Right Directory

EVE-NG stores images in specific directories. Navigate to:

1
/opt/unetlab/addons/qemu/

Each image must go in a folder named after the device type, like:

1
/opt/unetlab/addons/qemu/cisco-asav-921/

๐Ÿ“ The folder must follow the correct naming convention, usually like:

1
2
vendor-platform-version
e.g., cisco-asav-921

๐Ÿ”น Step 3: Upload the Image File

  • Upload the .qcow2 file to the folder created.
  • Rename the file to match EVE-NG naming conventions:
1
virtioa.qcow2

๐Ÿ“Œ Some images need multiple files. Always check vendor documentation.

๐Ÿ”น Step 4: Fix Permissions

After uploading, set the correct permissions. Use SSH (PuTTY or Terminal) to run:

1
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

This step is critical. Without it, images might not boot properly.

๐Ÿ”น Step 5: Refresh EVE-NG and Start Building

  • Go back to the EVE-NG web interface.
  • Create a new lab or open an existing one.
  • Add a new node โ†’ The image should now be listed.

๐ŸŽ‰ Thatโ€™s it โ€” the image is now ready to use!

๐Ÿ’ก Pro Tips

  • Convert VMDK to QCOW2 using qemu-img:
1
qemu-img convert -f vmdk -O qcow2 input.vmdk output.qcow2
  • Always check EVE-NGโ€™s Image Naming Guide for specific device formats.
  • Test connectivity after uploading by pinging the image node or starting a simple topology.
ToolDescriptionLink
WinSCPSecure file transfer clienthttps://winscp.net/
PuTTYSSH client for Windowshttps://www.putty.org/
FileZillaGUI SCP/SFTP clienthttps://filezilla-project.org/
qemu-imgImage converter (CLI)https://wiki.qemu.org/Documentation/Tools/qemu-img

๐Ÿ”š Conclusion

Uploading an image to EVE-NG is straightforward once the structure is understood. By following the steps above, itโ€™s possible to add any deviceโ€”Cisco, Juniper, Palo Alto, Fortinet, and moreโ€”to build powerful network labs.

๐Ÿ™Œ Connect With Me

GitHub LinkedIn YouTube Gmail

This post is licensed under CC BY 4.0 by the author.