Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added

https://www.juniper.net/documentation/en_US/vsrx/topics/task/multi-task/security-vsrx-with-kvm-installing.html


0- Install qemu-kvm, virt-manager,...

1- Download the qcow2 file from juniper website ( VM HDD image)

...

3- Modify the xml file of the VM


0- Install qemu-kvm, virt-manager,...

sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager


  1. Download the vSRX QCOW2 image from the Juniper software download site.

...

( fron the cmd of the KVM hypervisor )     wget + the link below


If only ova avaialble, convert it to qcow2

ar -xvf file.ova
qemu-img convert -O qcow2 file.vmdk file.qcow2

2- Create an VM ( with virt-manager ) and use the qcow2 HDD + add at list 2 interfaces

type: Redhat 7
Set RAM to 4096 MB and
set CPUs to 2
Network:  br0 ( mgt) and virbr0 ( for data )

/home/me/Downloads/juniper/qcow2files/vsrxremote-vmdisk-17.3R1.10.qcow2
or
/home/me/Downloads/juniper/qcow2files/vsrxhub-vmdisk-17.3R1.10.qcow2


See next page:     /etc/libvirt/qemu/vsrxremote.xml

     <feature policy='force' name='vmx'/>
     <feature policy='disable' name='invtsc'/>




It take very look time to boot-up ( could use:  virsh start vsrxremote --console )

...