Hello Alan
see comments inline
1) I am using 2 x qfx5100-48s-6q to setup the virtual chasiss, there is no me interface. Only em0. Originally when i setup the switch individually, each em0.0 is assigned its own IP.
switch1 em0.0 - 192.168.0.1/24
switch2 em0.0 - 192.168.0.2/24
switch1 vme.0 - 192.168.0.3/24
ok should be pretty much the same but the interface name is different
After the virtual chassis is up, I can access the em0.0 - 192.168.0.1, but i cannot access 192.168.0.2.
I also cannot access 192.168.0.3 (because the vme interface is down).
2) Using the groups method dont seems to work for me.
set groups member0 interfaces em0 unit 0 family inet address 192.168.0.1/24
set groups member3 interfaces em0 unit 0 family inet address 192.168.0.2/24
After commiting, i still can't access 192.168.0.2.
=============================================
q1) So it seems to me
access via em0.0 -> 192.168.0.1 > always go to the master
access via vme.0 -> 192.168.0.3 -> always go to the master (provided that i remove the em0 interface)
What the difference ?
the difference here is that the vme's ip address is reachable through any of the physical management interfaces so if you use the ip 192.168.0.1 to connect to the device example lets say you loose member 0, it crashed and died you can access the VC with 192.168.0.1 through the cable on member 1, What if you loose member 1 and member 0 is the only one up? you can access it with the same ip 192.168.0.1. through the cable on member 0.
Basically the advantage is that you can access the VC with the same IP address indepently from the physical interface you are using to reach it.
Hope that is clearer
q2) Any idea why the group method can't work so i can access the switches individually ?
you need to apply the group with the apply-groups command
{backup:0}[edit]<----------- member 0
root@SWITCH# show apply-groups
## Last changed: 2019-03-22 14:35:23 PDT
apply-groups [ default member0 ];<------------member0 group
root@SWITCH run request session member 1
{master:1}[edit]<------------member 1
root@SWITCH# show apply-groups
## Last changed: 2019-03-22 14:34:29 PDT
apply-groups [ default member1 ];<-----------member1 group
then you can see:
{master:1}[edit] <---member1
root@jtac-EX4300-48P-r037# run show interfaces terse | match inet
me0.0 up up inet 2.2.2.2 --> 0/0
{backup:0}<--- member0
root@jtac-EX4300-48P-r037> show interfaces terse | match inet
me0.0 up up inet 1.1.1.1 --> 0/0
q3) Can i confirm that
- the EM and VME interface cannot work concurrently- they cannot
roo@switch#show interfaces terse | match me
me0.0 up up inet 1.1.1.1 --> 0/0
vme.0 up down inet 10.85.155.55/25
{master:1}[edit]
root@switch# delete interfaces me0
roo@switch#show interfaces terse | match me
vme.0 up up inet 10.85.155.55/25
- VME interafce cannot work with mgmt_junos management routing instance ?- as far as I know not yet. management instance was recently developed I guess it is possible this will change in the future