Using Eve-NG to Virtualize your Juniper Network

Virtualizing Juniper VSRX devices using Eve-NG

To start, download VM Workstation Player and Eve-NG Community Edition:

You can download either the OVA or the ISO for Eve-NG, but this example uses the OVA image

Once you have both downloaded, install VMWare Workstation Player. When it’s finished open it up and under Player in the navigation bar select File and then Open to browse to the Eve-NG OVA.

Before starting it, open up its settings and customize your processor and RAM allocations. If you’re on a desktop make sure your network adapter settings are set to Bridged and if you’re on a laptop that it’s set to NAT. Once your settings are good you can start the image.

The default credentials are root / eve to login and then you can follow the wizard to do your initial setup. Create your user account and if you have an IP in mind that you’d like to use turn off DHCP and set it along with your DNS server, otherwise leave everything defaulted. When the VM finishes booting test your internet connectivity by pinging 8.8.8.8. If your tests went well then you should be able to get your IP address through ifconfig (add the pnet0 argument if you can’t scroll up) to view your DHCP IP address. Open up an internet browser on your host machine and navigate to your VM IP address where you should see an Eve-NG login screen. Login with the credentials admin / eve and change the drop down to use HTML5. From here you should be able to create new labs using any nodes you have installed on your Eve-NG VM.

To add a node like Juniper vSRX to your Eve-NG VM requires you FTP to the VM itself and add it. Using FileZilla, or any FTP program you’d like, connect over Port 22 to the VM IP address using your root / eve credentials and navigate to the /opt/unetlab/addons/qemu folder and copy your qcow2 vSRX folder over. Rename the folder and file on VM using the naming conventions on this website – https://www.eve-ng.net/index.php/documentation/qemu-image-namings/ – mine was vsrxng-20.3R1.8 and virtioa.qcow2. Once you have those files uploaded and renamed you have to update the VM’s wrappers in the VM CLI using the command /opt/unetlab/wrappers/unl_wrapper -a fixpermissions. Once that goes through without any errors you should be able to open up a lab in the Eve-NG web portal and select the Juniper vSRX from the node list.

To install Docker Nodes first use apt update and apt upgrade in the Eve-NG VM. Once those are finished you should be able to use the command apt install eve-ng-dockers to pull the Docker images down to your VM.

Using Eve-NG to Virtualize your Juniper Network Read More »