Tuesday, September 1, 2015


In this tutorial I'm going to run vSRX JunOS in QEMU and configure it as DHCP Server. Lets began with installing vSRX into QEMU.

I have try vSRX to run into Vbox but never succeeded. So I better to choose QEMU otherwise waste of time.

In my case I had used junos-vsrx-12.1X46-D10.2-domestic to mount into QEMU. Search for it.
Now we have to convert our .vdi file into .image, for that use following command

cd d:\junos\
c:\Program Files\GNS3\qemu\>qemu-img.exe convert -O qcow2 d:\junos\junos-vsrx-12.1X46-D10.2-domestic-disk1.vdi d:\junos\junos-vsrx-12.1X46-D10.2-domestic.img

We just made our image ready to run into QEMU. Go the GNS3

Note: Strongly recommended to use QEMU in linux and enable KVM otherwise it eats up all your CPU and RAM.

-nographic -smp 2 -enable-kvm

>edit>preference>choose "QEMU VMs"
Click on "New" Choose "Default " Gave Name "vSRX" (in my case).

I'll use following topology to configure DHCP server for the tutorial. 

Now we ready to move on the next step. Configuration DHCP


  1. I am using vsrx-12.1x46d15 with 4 interface . Problem is only ge-0/0 can send/receive ping , other interface not working . would you advice me..?

  2. I don't think problem is only on ge-0/0/0, in my case ge-0/0/0 is used for management purpose, I can't used it for p2p connection, Please leave eth0 as is it. Connect eth1 and above.