How to add Cisco IOS (Dynamips Images) to Eve-ng

Add Cisco IOS to EVE-NG to unlock the full potential of your network simulation and testing environment. EVE-NG is a powerful tool for network engineers, offering a versatile platform for designing, testing, and implementing complex network topologies. Integrating Cisco IOS into EVE-NG is essential for those looking to practice and validate their skills with Cisco’s widely used operating system.

Adding Cisco IOS images to EVE-NG allows you to simulate real-world network scenarios, conduct extensive testing, and gain hands-on experience without the need for physical hardware. This guide will walk you through the process of obtaining, preparing, and integrating Cisco IOS images into EVE-NG, ensuring you have a fully functional environment to enhance your learning and network simulation projects.

Steps to add Cisco IOS (dynamips image) to eve-ng-

  1. Download and Prepare Cisco IOS Images
  2. Create a Directory for the Cisco IOS Image.
  3. Upload Cisco IOS Images to EVE-NG
  4. Verify and Fix the Cisco IOS Image.
  5. calculating IDLE PC of cisco ios image.
  6. Add the Cisco IOS Image to EVE-NG

if you want to practice Cisco ASA / IOU/ IOL on eve-ng for your certification or knowledge then check below posts-

How to add Cisco IOU/IOL to Eve-ng

How to add Cisco ASAv to Eve-ng

Supported Cisco IOS DYNAMIPS Images

EVE Image NameDownloaded FilenameVersionvRAMIdle PC
c7200-adventerprisek9-mz.152-4.S6.imagec7200-adventerprisek9-mz.152-4.S6.binC7200-ADVENTERPRISEK9-M 15.2(4)S65120x62f224ac
1. Download and prepare Cisco IOS (Dynamips images) Eve-ng

Images provided below are strictly for educational purposes and are not hosted on the networkhunt.com server. We are just indexing the links found on the internet for educational purposes only.

You can download Cisco IOS (dynamips images) from the below links.
1. Cisco Website (Cisco Access is required to download images from the Cisco website.
2. Mega

2. Create a Directory for the Cisco IOS Image
  1. Navigate to the Dynamips folder: Enter the following command in the EVE-NG CLI:
    cd /opt/unetlab/addons/dynamips/
  2. Create a new directory: Make a directory for the specific Cisco IOS image using the following command, replacing ‘IMAGE_NAME’ with the desired name:
    mkdir IMAGE_NAME
3. Upload Cisco IOS Images to EVE-NG
  1. Connect to the EVE-NG CLI: Access the EVE-NG CLI using an SSH client or the web-based console.
  2. Transfer Cisco IOS images: Use a file transfer tool such as SCP or FileZilla to upload the Cisco IOS image files to the EVE-NG server. Place the images in the /opt/unetlab/addons/dynamips/IMAGE_NAME.

If you are uploading the zip file then install the required package-

Install required packages:
apt-get -y install unzip

Upload the downloaded image to the Eve-ng master node using for example FileZilla or WinSCP. Then login as root using SSH protocol and uncompress it:

Using EVE CLI, uncompress the original image. Output file extension must be .image. Be sure you are using properly your source and output filenames.

cd IMAGE_NAME
unzip -p c1710-bk9no3r2sy-mz.124-23.bin > c1710-bk9no3r2sy-mz.124-23.image

delete the file:
rm -rf c1710-bk9no3r2sy-mz.124-23.bin


4. Verify and Fix the Cisco IOS Image

Navigate to the image directory: Change to the image directory using the following command:

cd IMAGE_NAME
  1. Verify and fix the image: Run the following command to check and fix the image if needed:
    /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

5. Calculating IDLE PC for Cisco IOS image

If an unsupported image is added to the UNetLab platform, an Idle PC value must be identified. Start a Dynamips instance with basic configuration:

CPU usage is very high, a whole CPU for each instance:

Wait for the following line on the console:

Exit from initial configuration dialog, and quit to get the con0 prompt:

After a few more seconds press CTRL + ] then i. Dynamips will show suggested Idle PC values:

Select one and restart dynamips with the IDle PC value:

If CPU usage is lower, then a good Idle PC value has been found:

Usually, the highest value of IDLE PC will be best for your CPU. In the calculation above it is 76. Copy the value of IDLE PC to the notepad and we can start testing the best value fit for your Dynamips node.

To stop dynamips router calculation mode use the:

add cisco ios image to eve-ng

Key combo CTRL and ] then q

Go to EVE WEB GUI, add your Dynamips node, and change IDLE PC value to calculated, save, and start node.

Check your CPU with the top command (cpu check section above)

If CPU usage is lower, then a good IDLE PC value has been found:

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 3598 root      20   0  346700 125328 109828 S  5.3 25.3   0:03.98 dynamips

If the CPU is still high, then another value must be tested.

Leave a Comment