You have a Layer 3 interface (ip address) on both VLANs on the switch; so the routing is being done there (inter-vlan routing). I'm not sure removing just the IP from VLAN1 would be enough to get the job done.
If you want the traffic to traverse the firewall you have a few options. The most simple would just be to move all the L3 interfaces to the firewall, and just do a trunk of the two VLANs to the firewall. Hosts would use the firewall IP as the gateway. Alternatively, depending on the switch model, you could use VRFs to isolate the two routing domains and use VLAN sub-interfaces to the firewall. With this, each VRF would have a default route to the firewall, and the routing first hop can still be done on the switch. You would need routes on the firewall back to the server VLANs on the switch. Recommend something like OSPF to help with that. Best of luck.
I would like to remove the second line of this routing table but I didn't find a way without removing the ip address of the VLAN 1.
---------------------------------------------------------------------------------------------------------- *S 0.0.0.0/0 via 10.51.1.1 vlan1 1/0 1 day 00:19:29 C 10.51.0.0/16 via 10.51.10.102 vlan1 0/0 1 day 00:10:08 C 10.70.10.0/24 via 10.70.10.150 vlan10 0/0 1 week16:11:58
DELL-Josh Cr
Community Manager
•
9755 Posts
•
44712 Points
2417
0
Posted August 26th, 2020 09:00
Hi Romain,
Which model switch are you using? You may need to run the ip routing command. Let us know if you have any additional questions.