OSPF between a vSRX-Cluster and a standalone vSRX over vQFX on EVE-NG

I promised to deliver this and here it is: OSPF over vQFX 😉
These days I lab a lot with EVE and I love it more every day – the possibilities are endless and the Labs are very very quick configured and running. With 2 new CPU’s my EVE now runs with decent Speed so compared to VMware ESX 6.0 there is no extreme performance difference anymore. I can live with that. Since D63 on the vQFX is running very stable and smooth I thought of this small OSPF Lab – I will add more “Quick-Labs” in the Future.

The SRX in Clustermode runs very well on EVE – however there is an optical error. If you build a Cluster, the interface mappings on EVE are completely wrong. This is due to the SRX getting a new interface (em0) as second interface Card – so if you select ge-0/0/0 in EVE, you really select em0.

But why is that you will ask? The answer is simple:
EVE is not aware of Cluster-Naming or Cluster Interfaces – so you have to think twice, what you have to select – I needed Wireshark to see what happened…
From top down the first Interface in EVE is fxp0, the second Interface is em0, the third is ge-0/0/0 or 7/0/0, the fourth is ge-0/0/1 or 7/0/1 and so on (see the Table below from Juniper):

Once I figured that out I could successfully build the Cluster (this time fully working, not just partially) and here is the Lab:



vSRX-NG5+6 (the SRX-Cluster):



vSRX-NG7 (the standalone SRX):



Lab-C01 (Coreswitch 01, vQFX running 15.1X53-D63.9):



Lab-C02 (Coreswitch 02, vQFX running 15.1X53-D63.9):


Download this Lab for your EVE here: (Size 16kB, zip-Archive)

8 thoughts on “OSPF between a vSRX-Cluster and a standalone vSRX over vQFX on EVE-NG

  1. Sergei

    Curious to know, if you was able to setup a MC-LAG over vQFX? I’m struggling with that without any success 🙁

  2. christianscholz Post author

    Hi Sergei, I didn’t try that (yet) – what is the Problem you are having? I assume you use 3 vQFXes, right?

    1. christianscholz Post author

      how is your cluster configured? can you share the config? Watch out for asymmetric Traffic-Flow if your SRX is running “active-active”

  3. syed

    Hi Christian,

    I am unable to build a cluster setup for vSRX image, as the steps to bring the cluster on both the devices are a single command.
    Device-1>set chassis cluster cluster-id 1 node 0
    Device-2>set chassis cluster cluster-id 1 node 1

    Once it boots UP, it cannot detect the 2nd device interfaces in sequence than that of 1st device. Rather both of them comes UP with their own ge-0/0/0 interfaces

    1. christianscholz Post author

      How are they connected? Did you delete the “old” interfaces first before building the Cluster?

  4. Dan Massameno


    Didn’t know who else to ask. I’m using the vQFX in our GNS3 lab and it has em0, em1,… em11 interfaces in the GNS3 UI. From the vQFX CLI I can configure these interfaces with IPv4 addresses and ping, no problem. But it doesn’t do FAMILY ETHERNET-SWITCHING…

    oot@vqfx-re# set interfaces em4 unit 0 family ?
    Possible completions:
    > ccc Circuit cross-connect parameters
    > inet IPv4 parameters
    > inet6 IPv6 protocol parameters
    > iso OSI ISO protocol parameters
    > mpls MPLS protocol parameters

    What am I missing? I would like to do some experiments with bridging and STP.


  5. Dan Massameno

    Found the answer experimentally.

    If the RE and the PFE are hooked up correctly with their em1 interfaces then you will have xe-0/0/[0-11]. Those map to the GNS3 UI as such…

    em3 xe-0/0/0
    em4 xe-0/0/1
    em5 xe-0/0/2
    em6 xe-0/0/3
    em7 xe-0/0/4
    em8 xe-0/0/5
    em9 xe-0/0/6
    em10 xe-0/0/7
    em11 xe-0/0/8
    Unknown xe-0/0/9
    Unknown xe-0/0/10
    Unknown xe-0/0/11

    Don’t know how to access xe-0/0/[9-11] but I’m happy with nine available.


Leave a Reply to christianscholz Cancel reply

Your email address will not be published. Required fields are marked *

Captcha * Time limit is exhausted. Please reload CAPTCHA.