[edit]
root@VMX1# set interfaces em2 unit 0 family inet address 192.168.1.1/24
root@VMX1# set interfaces em3 unit 0 family inet address 11.11.11.1/24
root@VMX1# set interfaces em4 unit 0 family inet address 13.13.13.1/24
root@VMX1# protocols rip group rip-group export routing-rip
root@VMX1# protocols rip group rip-group neighbor em3
root@VMX1# protocols rip group rip-group neighbor em4
root@VMX1# policy-options policy-statement routing-rip term 1 from protocol direct
root@VMX1# policy-options policy-statement routing-rip term 1 from protocol rip
root@VMX1# policy-options policy-statement routing-rip term 1 then accept
[edit]
root@VMX2# set interfaces em2 unit 0 family inet address 192.168.2.1/24
root@VMX2# set interfaces em3 unit 0 family inet address 11.11.11.2/24
root@VMX2# set interfaces em4 unit 0 family inet address 12.12.12.1/24
root@VMX2# protocols rip group rip-group export routing-rip
root@VMX2# protocols rip group rip-group neighbor em3
root@VMX2# protocols rip group rip-group neighbor em4
root@VMX2# policy-options policy-statement routing-rip term 1 from protocol direct
root@VMX2# policy-options policy-statement routing-rip term 1 from protocol rip
root@VMX2# policy-options policy-statement routing-rip term 1 then accept
[edit]
root@VMX3# set interfaces em2 unit 0 family inet address 192.168.3.1/24
root@VMX3# set interfaces em3 unit 0 family inet address 12.12.12.2/24
root@VMX3# set interfaces em4 unit 0 family inet address 13.13.13.2/24
root@VMX3# set interfaces em5 unit 0 family inet address 41.41.41.2/24
root@VMX3# protocols rip group rip-group export routing-rip
root@VMX3# protocols rip group rip-group neighbor em3
root@VMX3# protocols rip group rip-group neighbor em4
root@VMX3# protocols rip group rip-group neighbor em5
root@VMX3# policy-options policy-statement routing-rip term 1 from protocol direct
root@VMX3# policy-options policy-statement routing-rip term 1 from protocol rip
root@VMX3# policy-options policy-statement routing-rip term 1 then accept