To install and set up the Juniper vMX virtual router using the vmx-bundle-17.1R1.8.tgz package, you can follow these steps for common environments like KVM or EVE-NG. Installing on KVM
For a direct installation on a Linux KVM host, use these general steps based on Juniper Networks documentation :
Extract the Bundle: Use the tar command to unpack the archive. tar xzvf vmx-bundle-17.1R1.8.tgz Use code with caution. Copied to clipboard Navigate to Directory: Enter the newly created directory. cd vmx-17.1R1.8 Use code with caution. Copied to clipboard
Configure vMX: Open the config/vmx.conf file with a text editor to set up your virtual instance. Ensure the device-type is set correctly (e.g., virtio).
Run Installation Script: Deploy the instance using the provided script. ./vmx.sh -lv --install Use code with caution. Copied to clipboard Adding to EVE-NG
If you are using the EVE-NG lab environment , you need to separate the Virtual Control Plane (VCP) and Virtual Forwarding Plane (VFP) images: install download vmxbundle 171r18tgz
Uncompress the Archive: Extract the bundle into a temporary folder. tar xvf vmx-bundle-17.1R1.8.tgz cd vmx-17.1R1.8/images/ Use code with caution. Copied to clipboard
Create Image Directories: EVE-NG requires specific folder names.
VCP: mkdir /opt/unetlab/addons/qemu/vmxvcp-17.1R1.8-domestic-VCP
VFP: mkdir /opt/unetlab/addons/qemu/vmxvfp-17.1R1.8-domestic-VFP Copy and Rename Images:
Copy junos-vmx-x86-64-17.1R1.8.qcow2 to the VCP folder as virtioa.qcow2. Copy vmxhdd.img to the VCP folder as virtiob.qcow2. To install and set up the Juniper vMX
Copy metadata-usb-re.img to the VCP folder as virtioc.qcow2.
Fix Permissions: Run the EVE-NG wrapper script to ensure the images are readable. /opt/unetlab/wrappers/unl_wrapper -a fixpermissions Use code with caution. Copied to clipboard Key Components of the Bundle The vmx-bundle typically includes:
VCP (Virtual Control Plane): The Junos OS hosted on a virtual machine.
VFP (Virtual Forwarding Plane): The packet forwarding engine optimized for x86 environments.
Are you planning to run this in a nested virtualization environment or on a dedicated bare-metal server? Juniper vMX 16.X, 17.X - - EVE-NG Deploy the vCenter Server Appliance OVA:
After installing the bundle, perform these checks:
Deploy the vCenter Server Appliance OVA:
.ova file (you might need to convert or extract the .gz file first).Power on the Appliance:
Initial Configuration:
Access the vCenter Appliance Configuration Interface:
https://<appliance_IP_address>:5480 to access the appliance configuration interface.Configure vCenter Server:
Licensing: