[HowTo's] Juniper vMX(17) is missing ge-* interfaces
Posted: Fri Apr 28, 2017 9:40 pm
Hello Everybody,
as title says this thread is dedicated to my struggle with vMX and maybe can help me to figure some things out. I will keep format of HowTo's cause I like it and it works
. I starts with images which are actually working for me and maybe I will help somebody.
Adding Juniper vMX images (Junos < 14.1R4)
FILE: vMX.vdi
Once the image is ready I need to copy it to EVE-NG and convert:
Creating the EVE-NG specific image, we first create a directory, and make sure that the directory is prefixed with the name vmx:
Now clean up and fix permissions:
Credentials:
Username: root
Password: <blank>
Adding Juniper vMX images (15.1F3 > Junos > 14.1R4)
FILE: vmx-14.1R8.6.tgz
Extract image (*.img) from downloaded archive. Upload the image to the EVE-NG master node. Login as root using SSH protocol convert the disk to the qcow2 format: Creating the EVE-NG specific image, we first create a directory, and make sure that the directory is prefixed with the name vmx:
Clean and fix permissions:
Credentials:
Username: root
Password: <blank>
vFP and vCP in Single VM
To run VFP and VCP in single VM you have to added one line[vm_local_rpio="1"] to /boot/loader.conf
Verification
So far so good but I'm stuck with newer version of vMX routers, see post below.
Workstation/version: Intel 6700k with 16GB dedicated to EVE-NG 2.0.3-60
as title says this thread is dedicated to my struggle with vMX and maybe can help me to figure some things out. I will keep format of HowTo's cause I like it and it works

Adding Juniper vMX images (Junos < 14.1R4)
FILE: vMX.vdi
Once the image is ready I need to copy it to EVE-NG and convert:
Code: Select all
/opt/qemu/bin/qemu-img convert -f vdi -O qcow2 vMX.vdi hda.qcow2
Code: Select all
mkdir -p /opt/unetlab/addons/qemu/vmx-14.1R1.10
mv hda.qcow2 /opt/unetlab/addons/qemu/vmx-14.1R1.10
Code: Select all
rm -rf vMX.vdi
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Username: root
Password: <blank>
Adding Juniper vMX images (15.1F3 > Junos > 14.1R4)
FILE: vmx-14.1R8.6.tgz
Extract image (*.img) from downloaded archive. Upload the image to the EVE-NG master node. Login as root using SSH protocol convert the disk to the qcow2 format:
Code: Select all
/opt/qemu/bin/qemu-img convert -f qcow2 -O qcow2 jinstall64-vmx-14.1R8.6-domestic.img hda.qcow2
Code: Select all
mv hda.qcow2 /opt/unetlab/addons/qemu/vmx-14.1R8.6
Code: Select all
rm -f jinstall64-vmx-14.1R8.6-domestic.img
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
Username: root
Password: <blank>
vFP and vCP in Single VM
To run VFP and VCP in single VM you have to added one line[vm_local_rpio="1"] to /boot/loader.conf
Code: Select all
login: root
root@% clear
root@% echo 'vm_local_rpio="1"' >> /boot/loader.conf
root@% grep rpio /boot/loader.conf
vm_local_rpio="1"
root@% reboot
Code: Select all
root@% cli
root> show version | match "model|junos:"
root> show chassis fpc pic-status
Slot 0 Online Virtual FPC
PIC 0 Online Virtual 10x1GE PIC
root> show interfaces ge-* terse
So far so good but I'm stuck with newer version of vMX routers, see post below.
Workstation/version: Intel 6700k with 16GB dedicated to EVE-NG 2.0.3-60