Thanks for reply, I think you misread my issue, my issue is outbound packets not going through IP address which had NAT even though I have dedicated IPs from both ISP.
Example : 192.168.1.0 is my server in DMZ network, I have two public IP from two ISP 1.1.1.3 and 2.2.2.3
Suppose say if I Google "what's my ip" from my DMZ server(192.168.1.0) it should give me 1.1.1.3 when my primary ISP is up, and should give me 2.2.2.3 when I am on secondary ISP.
Srx already switching ISP link when either one is down.
But problem here is it gives me either 1.1.1.1 or 2.2.2.1 these two are default gateway of my ISPs, which I don't want because my SPF records are ( 1.1.1.3 and 2.2.2.3 ), so email should go from these IPs.
Outbound traffic I expect to go from the IP which I did NAT
192.168.1.0 -> 1.1.1.3 ISP1
192.168.1.0 -> 2.2.2.3 ISP2
Example : 192.168.1.0 is my server in DMZ network, I have two public IP from two ISP 1.1.1.3 and 2.2.2.3
Suppose say if I Google "what's my ip" from my DMZ server(192.168.1.0) it should give me 1.1.1.3 when my primary ISP is up, and should give me 2.2.2.3 when I am on secondary ISP.
Srx already switching ISP link when either one is down.
But problem here is it gives me either 1.1.1.1 or 2.2.2.1 these two are default gateway of my ISPs, which I don't want because my SPF records are ( 1.1.1.3 and 2.2.2.3 ), so email should go from these IPs.
Outbound traffic I expect to go from the IP which I did NAT
192.168.1.0 -> 1.1.1.3 ISP1
192.168.1.0 -> 2.2.2.3 ISP2