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 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