Hi,
I have an SRX240 (gateway A) running as a firewall/router for my internet connection, there is one default route setup as a static route on the device (route 0.0.0.0/0 next-hop 1.1.1.1).
I have another gateway running on a different router and want to forward the traffic for a specific website (2.2.2.2) through the other gateway (gateway B). On gateway A I have added a route static 2.2.2.2 next-hop 1.2.3.4 (IP of a port on gateway B) but this isn't having the desired effect.
If I do a traceroute from Gateway A to 2.2.2.2 then it goes through gateway B correctly. If I do a traceroute from a server connected to gateway A though it does not work, it hits gateway A and then folllws the 0.0.0.0/0 route instead.
What am I missing here?