You are on page 1of 7

Introduction

This blog details the set up procedure for building a VSRX demo environment on top of
Oracle Virtual Box environment.
The aim of VSRX in a box solution is to provide a way to bring up VSRX and host machine
quickly, the solution builds the capability to demo end to end configuration and traffic
can be passed through via a VM host.

VirtualBox Topology

Minimum requirement for a laptop on which VB will


be installed
I.
II.

Intel i7 processor
RAM 16G

Deploying VSRX and linux Mint (host) in VB


Following steps are required to deploy
1. Install Virtual box
2. Deploy the VMs VSRX2.0 and Linux Mint (host)

Install Virtual box


1.1

Download Virtual Box from the below link Version 5.0.26

https://www.virtualbox.org/wiki/Download_Old_Builds_5_0

1.2 Install VirtualBox


1.2.1 Post install make sure from File -> Preferences -> Network,
1.2.1.1 Goto NAT Networks tab, NatNetwork is configured with 10.0.2.0/24 and
supports DHCP is enabled.
1.2.1.2 Goto Host-only Networks tab, VirtualBox Host-only Ethernet Adapter is
configured with 192.168.56.1/24 and DHCP server is enabled.

Deploy VSRX VM 2.0 and Linux Mint (Host)


2.1 Download the OVA file to your Windows (ssd-junos-yocto01:/volume/ngsrx-devstore/ngsrx-yocto-daily/2015-06-18.0/DEV_X_151_X49/srx-ffp/ship) or download it
from support.juniper.net
2.2
x
x
x
x
2.3

Extract the OVA content using 7zip appplication, as shown below


media-srx-ffp-vsrx-vmdisk-15.1-2015-06-18.0_X_151_X49.ovf
media-srx-ffp-vsrx-vmdisk-15.1-2015-06-18.0_X_151_X49.mf
media-srx-ffp-vsrx-vmdisk-15.1-2015-06-18.0_X_151_X49-disk1.vmdk
media-srx-ffp-vsrx-vmdisk-15.1-2015-06-18.0_X_151_X49.cert
Convert vmdk to vdi, with the following command

C:\Users\xxxxx\Desktop\VSRX\media-vsrx-vmdisk-15.1X49-D40.6.ide>"c:\Program
Files\Oracle\VirtualBox\VBoxManage.exe" clonehd -format VDI media-vsrx-vmdisk15.1X49-D40.6-disk1.vmdk media-vsrx-vmdisk-15.1X49-D40.6-disk1.vdi
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
2.4 Launch the virtual box, click on New on top left corner of VirtualBox windowGive a
Name, Select type as Linux and Version as Other Linux (64-bit)

2.5

Set Memory size to be 4 GB

2.6

In the below window select Create a virtual Hard drive now and click Create

2.7

Choose VDI as file type

2.8

Choose Dynamic allocated, click Continue

2.9

Allocate 20GB, click on Create

2.10 Once the Hard Drive is created it would go back to VirtualBox main window, now
right click on VM VSRX151X49D40 and select settings
2.11 Goto System - > Processsor Tab, set 2 CPUs

2.12 Goto Storage, click on Disc icon under Attributes Choose or create a virtual hard
disk file. The virtual machine will see the data in the file as the contents of the virtual
hard disk and select Choose a virtual hard disc file. Then select the file created in
step 3

2.13 Then go to Network, choose Adapter 1 the available interfaces


Note: Adapter 1FXP0

2.14 Choose Adapter 2


Note: Adapter 2 ge-0/0/0

2.15 Choose Adapter 3


Note: Adapter 2 ge-0/0/1

2.16 VirtualBox configuration overview

2.17 Linux Mint configuration overview

Note:
For VSRX2.0
1. Tried with 15.1X49-D40 and 15.1X49-D50
For VSRX1.0
1. In step 2.4, version to be selected as other Linux (32-bit)
2. Make sure under Network->Adaptor Adaptor Type is choosen as paravirtualized
Network (virtio-net)

Download URL
https://www.virtualbox.org/wiki/Download_Old_Builds_5_0
http://www.osboxes.org/linux-mint/