Hello! In the setup I am working on, I have three separate switches, each switch using its own subnet. The switch in each stack is the default gateway for all of the clients on that subnet, then the asa has a physical interface connected into each switch. The asa config looks like this:
interface GigabitEthernet0/1
nameif inside1
security-level 100
ip address 192.168.1.3 255.255.255.0
!
interface GigabitEthernet0/3
nameif inside2
security-level 100
ip address 192.168.2.3 255.255.255.0
!
interface GigabitEthernet0/5
nameif inside3
security-level 100
ip address 192.168.3.3 255.255.255.0
!
Each of the switches involved has a default route pointed to the asa’s address on that switch’s subnet, so the switch 192.168.1.1 on has the route:
route 0.0.0.0 0.0.0.0 192.168.1.3
while the switch 192.168.2.1 has the route:
route 0.0.0.0 0.0.0.0 192.168.2.3
and the final switch 192.168.3.1 has the route:
route 0.0.0.0 0.0.0.0 192.168.3.3
This works, but the switches are interconnected to each other and route between themselves using OSPF. The asa is not part of this traffic, so should a device on any of the subnets need to communicate with a device on any other of the LAN subnets, the switches would simply pass that traffic and the asa doesn’t see it.
An example of the problem I am trying to plan around would be if the asa’s interface inside1 goes down. While the interface with 192.168.1.3/24 would be down, the asa could still reach all of the 192.168.1.0/24 client devices through either the 192.168.2.1 switch, or the 192.168.3.1 switch. This sounded like a SLA setup, but as it turns out since the asa has an interface on 192.168.1.0/24, any time I try adding a route to 192.168.1.0 through the other inside interfaces, the asa spits the error, “ERROR: Cannot add route, connected route exists”. This makes sense as having an address on the subnet creates a route to it, but I don’t see a way to tell the asa, “should inside1 fail, you can still get to that subnet through inside2 or inside3”
If all the traffic had configured routes, then setting up SLAs seems it would be the way to go. Is there a way to accomplish this?