Table of Contents

EVE-NG

Change Log

Change Log

Notes

HTML5 console seems to have a lot of bugs. Recommend using the Legacy console.

Images Supported

Images Supported

Do at start

Update EVE-NG

apt-get update -y
apt-get upgrade -y
reboot

Then you will probably have to power off/on the VM.

Check EVE Version

dpkg -l eve-ng
dpkg -l eve-ng-pro

Add More Storage

  1. Just add a new HDD and EVE will auto-magically do the rest upon start up.
  2. Then for a Linux machine:
    1. Only need to add a second hdd in image folder

virtiob.qcow2

  1. To expand the Linux partition
    1. /opt/qemu/bin/qemu-img create -f qcow2 virtioa.qcow2 40G

Check Free Space

df -h

Arista vEOS

veos-4.15.5M login: admin

Cisco CSR 1000v

csr1000v-3.16.00.S.155-3.S csr1000v-universalk9.03.14.00.S.155-1.S-std

Cisco IOS 3725 (Dynamips)

c3725-adventerprisek9-mz.124-15.T14.image

Cisco IOS 7206 VXR (Dynamips)

c7200-adventerprisek9-mz-152-4.S7.image

Cisco ASA

asa-842-k8

Cisco ASAv

asav-952-204

Cisco XRv

xrv-k9-6.0.1

Cisco vIOS L2

viosl2-adventerprisek9-m-15.2.4055

Juniper Olive

olive-12.1.R1.9
login: root
cli

Ostinato

ostinato-0.7-v1

YouTube

login: tc

Palo Alto VM

paloalto-7.0.1

Will have to use VNC to login in. Telnet will not work initially.

Login: admin

Password: admin

F5 BigIP

Default CLI username/password: admin/default

https://support.f5.com/csp/article/K13148

May not be needed for version 13

bigip-12.0

How to enable Telnet:

cd /opt/unetlab/addons/qemu/bigip-xxxx

rmmod nbd
modprobe nbd max_part=16
/opt/qemu/bin/qemu-nbd -c /dev/nbd0 hda.qcow2
mount /dev/nbd0p1 /mnt/
sed -e 's/ \(console=tty0 \)\([^c]\)/ \1 console=ttyS0 \2/' -e 's/\(^splashimage.*\)/#\1\nserial --unit=0 --speed=9600\nterminal --timeout=8 console serial\n/' -i  /mnt/grub/grub.conf
umount /mnt/
/opt/qemu/bin/qemu-nbd -d /dev/nbd0
rmmod nbd

vPC

Works

vIOS

vios-adventerprisek9-m-15.6.2T

Linux

linux-tinycore-6.4 not working yet

L2 IOL

L2-ADVENTERPRISEK9-M-15.2-20150703.bin

L2-ADVENTERPRISEK9-M-15.2-IRON-20151103.bin

Type the following via SSH to start:

LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L2-ADVENTERPRISEK9-M-15.2-20150703.bin 1
LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L2-ADVENTERPRISEK9-M-15.2-IRON-20151103.bin 2

L3 IOL

LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L3-ADVENTERPRISEK9-M-15.2-M5.3.bin 1
LD_LIBRARY_PATH=/opt/unetlab/addons/iol/lib /opt/unetlab/addons/iol/bin/L3-ADVENTERPRISEK9-M-15.4-2T.bin 1

Troubleshooting

EVE-ng FAQ

Ostinato Traffic Generator

  1. Installs on Ubuntu 18.04
  2. Have to install Ubuntu first, then the Ostinato package

Ubuntu Mate 20.04

  1. IP Configuration via nmtui
    1. en3
      1. IP: 192.1.255.100/24
      2. GW: 192.1.255.254
      3. DNS: 8.8.8.8
    2. en4
      1. 10.82.83.101/24
  2. Firefox
    1. Username: admin
    2. Password: admin

Notes

Try setting your quality level to high in the VNC client session configuration instead of Auto.
https://www.eve-ng.net/index.php/documentation/howtos/howto-create-own-linux-host-image/
https://cloudmoran.wordpress.com/2019/04/18/eve-ng-qemu-modify-base-images/

  1. /opt/qemu/bin/qemu-img convert -c -O qcow2 /opt/unetlab/tmp/0/8/4760155f-e4bd-4bce-befa-04b9b544fe43/37/hda.qcow2 /tmp/hda.qcow2

# ip addr add 192.168.1.100/24 dev eth0 broadcast 192.168.1.255
# ip link set eth0 up
https://maunium.net/blog/resizing-qcow2-images/

  1. qemu-img resize image.qcow2 +SIZE