Thursday, September 10, 2015

Setup vMX on VirtualBox

Instructions for vMX on VirtualBox 4.3 and GNS3  1.3.7


The vMX is developed in several phases . For simulation purposes we will focus on the first phase were the RE and PFE are in the same VM . This phase is covered by the 14.1 version .

Note: for 14.1R4+ version there is a tweak used to make the FPC enable on the machine . The tweak is covered in details in here

The vMX VM uses only virtino-net adapters. Any attempt to use any other type of adapter will fail to put the fpc online .

The vMX uses the following NIC mapping , the first two NICs (em0 and em1) are assigned to management and fpx interface, the mapping of ge interface starting with ge-0/0/0 with em2 , ge-0/0/1 with em3 and so on.

Note : in case the fpc is not online , you can use the em2 .. interfaces as normal interfaces , but can't confirm if will run normally, all test done till now were on "ge" interfaces

To convert img to vmdk :
qemu-img convert -f qcow2 -O vmdk jinstall-vmx-14.1R1.10-domestic.img vMX.vmdk


Virtual Box Machine Definition:
- VM: Linux - Other Linux (32 bit)
- RAM : 1024 MB
- CPU : 1 / 2 core for 14.1R4+
- HDD: vMX.vdi / vMX.vmdk
- Adapter : 4 Paravirtualized Network , Allow All,not Attached
- Serial : Host Pipe , create Pipe, \\.\pipe\vMX_x

GNS3 :
- minimum 4 adapters
- adapters in Paravirtualized Network


No comments: