10-23-2025 05:15 AM - edited 10-23-2025 06:05 AM
I have two fortigate firewalls on different subnet and I want to do routing between them on a layer 3 switch guide me on how to do that mind you that I still have my switch enabled for routing.
The scenario is like this: the interface connected on the SW like eth1 and eth1 on both firewalls are having trunk and allowing different vlans and after I need to have routing between the two firewalls remember that my switch is enabled to have routing it means it is layer 3 so may I get help for the connectivity with my firewalls like the help me with ideas
Thanks
10-23-2025 06:18 AM
@kelly-shami hi, if you need to use L3 switch as a routing between 2 firewalls, you can create 2 subnets between FW1 - SW and FW2-SW. then option 1 is using static routing between switches and firewalls or option 2 use dynamic routing protocol like OSPF.
but my concern is , is this real environment use case or testing use case?
if its real use case, share the real requirement here so we can suggest best way to achieve your goal.
10-23-2025 06:27 AM - edited 10-23-2025 06:40 AM
Thanks for reaching out
This is a real environment real case where the SW and two firewalls have different subnets FW1 has .5 subnet and FW2 has .3 subnet but when I want to ping the FW 1 from machine is unreachable yet FW 2 is reachable
Option 1 : Static route is the one we need because we don't have any other equipment that can act as a bridge like router for the firewall to do the routing between each other so static routing on layer 3 switch is more easy .
I reviewed different scenarios but neither didn't work
What I need is to help me with how to configure it ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide