Gateway in WAN for static route
-
Hello.
I have an internet-connection, which is used by multiple networks. I have a "core" network (10.0.0.0/24) as shown in the image and multiple networks connecting to this.
Everything works fine, but now i would like to configure a static route on pfSense (10.0.0.3) to the network 192.168.2.0/24.
The default gateway is already configured (10.0.0.1), I added a gateway (10.0.0.2) and a static route to 192.168.2.0/24 using this new gateway.
The static route from 192.168.1.0 to 192.168.2.0 is not working. Using the packet capture tool shows me, that the packets contain the mac address of the default gateway (10.0.0.1) and not that of the new gateway (10.0.0.2).
What could be the problem? Any ideas?Thanks,
Michael -
Consider that you need also a static route for the other direction.
So 10.0.0.2 you have to add a static route for the network 192.168.1.0/24 pointing to 10.0.0.3. -
Hello.
You're right, but for now that's not the problem. Packets to 192.168.2.0 don't reach 10.0.0.2, as they are sent to the mac address of 10.0.0.1.
The static route does not work. The problem could be, that both gateways are on the same network (10.0.0.0)? If I deactivate the upstream for the wan interface the static route works...