Deployment of vMX with Dual REs and Multiple FPCs using EVE-NG

In this post, I will guide you through the process of deploying vMX with dual REs and multiple FPCs using EVE-NG.

To begin, you will need to download the vMX KVM bundle from the Juniper website. For this lab, we will be using Junos 21.4.

  1. Extract the vMX bundle:
  2. mkdir /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re0
    mkdir /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re1
    mkdir /opt/unetlab/addons/qemu/vmxvfp-21.4R3-S1.5-fpc0
    mkdir /opt/unetlab/addons/qemu/vmxvfp-21.4R3-S1.5-fpc1
    
  3. Copy the images to their respective directories:
  4. ## RE0
    cp /root/vmx/images/junos-vmx-x86-64-21.4R3-S1.5.qcow2 /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re0/virtioa.qcow2
    cp /root/vmx/images/vmxhdd.img /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re0/virtiob.qcow2
    cp /root/vmx/images/metadata-usb-re0.img /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re0/virtioc.qcow2
    
    ## RE1
    cp /root/vmx/images/junos-vmx-x86-64-21.4R3-S1.5.qcow2 /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re1/virtioa.qcow2
    cp /root/vmx/images/vmxhdd.img /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re1/virtiob.qcow2
    cp /root/vmx/images/metadata-usb-re1.img /opt/unetlab/addons/qemu/vmxvcp-21.4R3-S1.5-re1/virtioc.qcow2
    
    ## FPC0
    cp /root/vmx/images/vFPC-20220714.img /opt/unetlab/addons/qemu/vmxvfp-21.4R3-S1.5-fpc0/virtioa.qcow2
    cp /root/vmx/images/metadata-usb-fpc0.img /opt/unetlab/addons/qemu/vmxvfp-21.4R3-S1.5-fpc0/virtiob.qcow2
    
    ## FPC1
    cp /root/vmx/images/vFPC-20220714.img /opt/unetlab/addons/qemu/vmxvfp-21.4R3-S1.5-fpc1/virtioa.qcow2
    cp /root/vmx/images/metadata-usb-fpc1.img /opt/unetlab/addons/qemu/vmxvfp-21.4R3-S1.5-fpc1/virtiob.qcow2
    
  5. Fix permissions:
  6. /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
  7. Add 4 new nodes in EVE-NG:
    • VCP-RE0
    • VCP-RE1
    • VFP-FPC0
    • VFP-FPC1
  8. Connect the em1 interfaces for all nodes to a bridge and start the nodes.
  9. After the REs boot up, you should now see that both REs are online and in Master/Backup state.
  10. Both FPCs should also be online.

While building your labs, you encountered a problem with interface connectivity. It appears that there might be a bug or an issue with the interface mapping between vFPC and EVE-NG. Specifically, when attempting to use ge-0/0/0 on the vMX device, you found that you had to connect ge-0/0/1 on EVE-NG instead.

Currently, you are investigating the problem in order to identify the root cause and find a solution. Nevertheless, you can continue building your lab and connecting interfaces without experiencing any other difficulties.

Comments

Popular posts from this blog

Juniper EVPN-VXLAN Data Center Interconnection

BNG Redundancy for DHCP Subscribers on Juniper MX