I have a Windows Server Box with 2 NICs sitting in 2 Networks with a Gateway Router to a 3rd: e.g.:
A: 10.1.1.0/24 - Remote Network B: 220.127.116.11/24 - "DMZ" with GW Router to Network A on IP 18.104.22.168 C: 192.168.1.0/24 - Local LAN - Default Gateway 22.214.171.124 NIC1 is in Network B: 126.96.36.199 NIC2 is in Network C: 192.168.1.5 - gets settings via DHCP
I want to have access to/from network A. When I set the default gateway on NIC1 to 188.8.131.52 I can reach network A, but a config with 2 different default gateways is considered problematic/broken.
How to best solve this?
My first intuition was to set a route to network A via the router on network B:
route add 10.1.1.0 mask 255.255.255.0 184.108.40.206
- The route gets ignored. The command answers with OK!, a subsequent 'route print' does not list that route