Juniper vSRX on Proxmox VE (KVM)

In this short article I will explain you how deploy vSRX on the Proxmox.

Prerequire

  • Configured and working Proxmox
  • Downloaded vSRX from Juniper site
  • SCP or other tool

In the sample I used:

  • Proxmox 5.2-5
  • Juniper vSRX 15.1X49-D140.2
  • Linux scp command

 

1. Copy vSRX image to Proxmox host

After downloading image from Juniper site with vSRX and after checking checksum we can send image to our Proxmox host.

Copy vsrx to Proxmox

In this example I used scp tool, of course you can use eg. WinSCP (if you are using Windows OS) or other tool.

2. Create Virtual Machine from GUI

This is the time when we create VM machine in our Proxmox. To do this you must press Create VM from right-top menu.

 

We have seven tabs:

  • General
    • Node: bl08
    • VM ID: 154 (automatically assigned)
    • Name: mw-vsrx-03
  • OS
    • Select: Do not use any media
  • Hard Disk: press Next
  • CPU
    • Socket: 1
    • Cores: 2
    • Type: host
  • Memory
    • Memory (MiB): 4096
  • Network
    • Bridge: vmbr0
    • VLAN Tag: 2446
    • Model: Virtl0 (paravirtualized)
  • Press Confirm

After this step on the left side we can see now our VM with its ID.

3. Import disk and and serial port to the Virtual Machine

Here we must import vSRX image to our VM. The most important thing is VM ID; in our example we use VM ID 154. After proper importing qcow2 to Proxmox host we must add also serial0 to our VM.

Proxmox-9

5.  Add imported disk to VM

Now we must Deatach old disk from Proxmox GUI and Remove then. After that we can add imported disk from the step 3.

 

4. Add Network Device

On this phase we must specify Network Card parameters. I deploy three Network Cards for my solution.

Proxmox-7

Proxmox-8

  • Bridge: vmbr0
  • VLAN Tag: 2446
  • Model: VirtiO (paravirtualization)
  • MAC address: leave blank

4. Clean

Remove vSRX image from the local storage.

Proxmox-11

5. Start VM

Just click play button.

6. Connect to console port

We can use only xterm.js (!) plugin to connect to our vSRX console port.

Proxmox-12

6.End result

Proxmox-13

 

Links:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.