How to add Juniper vSRX firewall in Eve-ng

Earlier, Juniper was mainly known for Routers and Switches but post take over of Netscreen, Juniper emerge as one of the major Security Services provider and Since then it is growing.

Today I will help you to setup Juniper vSRX firewall in Eve-ng. Eve-ng is one of the best simulator for Networkers. In Eve-ng you can setup your own lab upto JNCIE level and practice, design and test as much as you want.

We will follow below steps to add Juniper vSRX firewall to Eve-ng and you can watch below video for reference and help. If everything works fine for you, I request you to share the post and comment below.

Content
1 How to install Eve-ng on vmware in windows
2 Download Juniper vSRX firewall image for Eve-ng.
3 Preparing Eve-ng for Juniper vSRX firewall.
4 Adding Node and Starting Juniper vSRX firewall.

1. vSRX Images used in eve-ng

EVE Image NameDownloaded Original FilenameVersionvCPUsvRAM
1.vsrxng-17.3R1.10media-vsrx-vmdisk-17.3R1.10.qcow217.3R1.1024096

2. Download Juniper vSRX firewall Images for Eve-ng

If you have access to Juniper network support portal then you can download the SRX firewall image directly from Juniper Network website.
https://www.juniper.net/us/en/dm/free-vsrx-trial/
In case, if you don’t have access to download the SRX image then you can register on Juniper Network and you can raise a request to provide trial for the images with license. Once you get the image and trial license you will be able to practice or perform any task as like actual SRX firewall.

Still if you are unable to download the SRX image, use below alternate link to download the file.

Note: – We do not store any file on our server, we are just indexing the file found over the internet. And link can be removed anytime.

https://networkhunt.com/download/download-juniper-vsrx-firewall-media-vsrx-vmdisk-17-3r1-10-qcow2/

3. Preparing Eve-ng for Juniper vSRX firewall.

3.1. Using image table, create correct image folder, this example is for image vsrxng- in the table above. lets do it.

Image table: http://www.eve-ng.net/index.php/documentation/images-table

mkdir /opt/unetlab/addons/qemu/vsrxng-17.3R1.10/

3.2. Upload the downloaded image to the EVE /opt/unetlab/addons/qemu/vsrxng-17.3R1.10/  folder using for example FileZilla or WinSCP.

3.3. From the EVE cli, go to newly created image folder.

cd /opt/unetlab/addons/qemu/vsrxng-17.3R1.10/

3.4. Rename original filename to virtioa.qcow2

mv media-vsrx-vmdisk-17.3R1.10.qcow2 virtioa.qcow2 

3.5. In Last we have to Fix permissions:

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

4 Adding Node and Starting Juniper vSRX firewall.

Now we are good to go, go to your eve-ng and select Juniper SRX node and start it, it will take lot of time to start depending upon your memory and CPU but after waiting for some time it will start. In my scenario it took 6-8 min to get started but once it started it worked like charm.

if, you liked our post, kindly help us to grow by sharing and liking us on facebook.

9 thoughts on “How to add Juniper vSRX firewall in Eve-ng”

  1. I already did share your website to one of the group of network enthusiasts, kindly advise if the sRX have a limitation like 30 days?

    Reply
    • Hi Leerz,
      Thanks for sharing, yes trial period is for 30 days, but I will share the process and trick to extend evaluation to 1 year in my next post.

      Reply
      • What’s the trick? I’ve heard the older versions (12.x) will continue to work post eval, but haven’t found a place to download. From juniper, you can only download more recent version.

        Reply
        • Thanks for sharing this. I can seem to get vSRX to boot up, EVE-NG has 20GB of RAM and 4 logical cores. any thing I’m missing here?

          thanks in advance 🙂

          Reply
  2. Hi

    I have installed a later image of qcow2… 19.2R1.8.qcow2 and followed your instructions (which are the same as the eve-ng instructions) but the vSRX is just constantly rebooting.

    Have you seen this before?

    Reply

Leave a Reply

%d bloggers like this: