I have tried this with the layer 3 interface on the switch, this interface can then communicate with the 10.4.2.0 network as expected but the AP’s and other devices can’t route to this network/don’t get a ping response. I’m guessing this is because there’s no route on the MX, which is where all of our VLAN’s and gateways are based. I have tried having a L3 interface on the switch, having a routed VLAN on the MX as well as a combination of both, I still can’t get this to work. With this created on the MX in the ‘addressing and VLANs’ section, I don’t get any connectivity with 10.4.2.0 at all.
I have also tried adding static routes, this gives me an error telling me that it can't be contained within an existing VLAN (when on the MX). When the interface is on the MS and not the MX I can't add a static route as it doesn't know the network.
Should the L3 interface be on the MX or on the MS?