Yeah, you can definitely set this up. The Meraki L3 switch can route VLAN 1 through one firewall and VLAN 2 through another, even though the firewalls are on a separate VLAN. Since Meraki switches don’t support Policy-Based Routing (PBR), you’ll handle this with static routes.
Basically, you’ll have VLAN 1 using the Meraki switch as its gateway, and then traffic from that VLAN gets sent to Firewall 1. Same deal with VLAN 2, except its traffic gets routed to Firewall 2. The firewalls will need to handle NAT properly so that return traffic follows the right path.
As for your gateway question, VLAN 2’s gateway will still be the Meraki switch (let’s say 192.168.2.1). The switch will then decide where to send the traffic—straight to Firewall 2 based on the static route.
Enthusiast