Network Topology
I have a Windows Server that is connected to a modem with a public ip address of 42.251.46.174
which is in DMZ that we will call Modem1.
I then have a modem with the public ip address of 93.184.216.34
with a local ip address of 10.0.0.0/24
not in DMZ that we will call Modem2 which has a machine connected to it with the ip address of 10.0.0.23
. Modem2 is connected to the Windows Server via ethernet.
The Problem
The Windows Server should use Modem1 over Modem2 for outgoing request to wlan but if Modem1 is offline or not working then Modem2 should take over.
My problem is that I want to be able to ping 10.0.0.23
from the Windows Server when outgoing traffic is going to Modem1. I am only able to ping machines on Modem2 from Windows server when Modem1 is disconnected and Modem2 is the only one in use.
The software ForceBindIP or any similar third party tools have many glitches like not working for child processes and are not a solid solution when it comes to future stability and scalability.
I have tried the following routes in the routing table in the Windows Server with no results:
Persistent Routes:
Network Address Netmask Gateway Address Metric
0.0.0.0 0.0.0.0 93.184.216.34 100
0.0.0.0 0.0.0.0 142.251.46.174 50
10.0.0.23 255.255.255.0 10.0.0.1 1