My network has 3 VLANs: 10, 11, 12, and their address spaces are
10.0.X.0/24 where X is the VLAN ID. Their default gateway is a virtualized pfSense (even though it's virtual, I will use terminology as if it's physical). Each VLAN has its own physical interface on the pfSense, and the pfSense is filtering and routing traffic between the VLANs. The interfaces on the pfSense are:
X0: VLAN 10 X1: VLAN 11 X2: VLAN 12
My "core" switch is a Dell S5224F-ON. I say "core" because it is currently configured as a Layer 2 switch, which is a waste of its power. I want to use it as a Layer 3 switch to handle the inter-VLAN routing. However, I still want the pfSense to filter the traffic.
For example: Client A (
10.0.10.1) will attempt to RDP to Client B (
10.0.11.1), which is not allowed. I want the core switch to route Client A's RDP traffic to X1 on the pfSense so that it can filter/drop the traffic.
Of course, when I enable IP routing on the S5224F, it handles the routing (yay!) but the pfSense is completely bypassed (boo!). I want to forward all the traffic to the corresponding interfaces on the pfSense.
Can that be accomplished? In my ignorance, I researched vsrf-lite, and it seems like it could be the answer. But at the same time, I'm ignorant.