This model is acceptable and looks good. Here, slave would not recognise the Master (M1/M2) as there is a Gateway inbetween. But, it should not matter as the response goes to apprpriate master.