Static route works on one computer, not the other

Posted by Dan on Server Fault See other posts from Server Fault or by Dan
Published on 2012-09-19T20:17:31Z Indexed on 2012/09/19 21:39 UTC
Read the original article Hit count: 290

I have been struggling with this for a couple days now, maybe I just need some people with a fresh perspective to figure out what the issue is.

Basically I have a bunch of computers that are being routed through a specific gateway in order to access a web page that is hosted internally on a separate subnet. I set up static routes on all of the computers, and they all work... except one.

Here's what a route print -4 looks like for a working computer (Windows 7):

===========================================================================
Interface List
 14...xx xx xx xx xx xx ......Broadcom 802.11n Network Adapter
 11...xx xx xx xx xx xx ......Realtek PCIe GBE Family Controller
  1...........................Software Loopback Interface 1
 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
 13...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
 17...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0   10.xxx.xxx.230    10.xxx.xxx.94     20
      10.zzz.zzz.0    255.255.255.0   10.xxx.xxx.147    10.xxx.xxx.94     21
     10.xxx.xxx.0    255.255.255.0         On-link     10.xxx.xxx.94    276
    10.xxx.xxx.94  255.255.255.255         On-link     10.xxx.xxx.94    276
   10.xxx.xxx.255  255.255.255.255         On-link     10.xxx.xxx.94    276
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link     10.xxx.xxx.94    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link     10.xxx.xxx.94    276
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      10.zzz.zzz.0    255.255.255.0   10.xxx.xxx.147       1
===========================================================================

And here's a route print -4 from the station that doesn't work (also Windows 7):

===========================================================================
Interface List
 10...xx xx xx xx xx xx ......Realtek PCIe GBE Family Controller
  1...........................Software Loopback Interface 1
 12...00 00 00 00 00 00 00 e0 Microsoft 6to4 Adapter
 14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
 16...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0   10.xxx.xxx.230   10.xxx.xxx.132    276
      10.zzz.zzz.0    255.255.255.0   10.xxx.xxx.147   10.xxx.xxx.132     21
     10.xxx.xxx.0    255.255.255.0         On-link    10.xxx.xxx.132    276
   10.xxx.xxx.132  255.255.255.255         On-link    10.xxx.xxx.132    276
   10.xxx.xxx.255  255.255.255.255         On-link    10.xxx.xxx.132    276
        127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
        127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
  127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
        224.0.0.0        240.0.0.0         On-link    10.xxx.xxx.132    276
  255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
  255.255.255.255  255.255.255.255         On-link    10.xxx.xxx.132    276
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
      10.zzz.zzz.0    255.255.255.0   10.xxx.xxx.147       1
===========================================================================

Both of these stations are running Windows 7.

So essentially what I am trying to do here is route all traffic to the 10.zzz.zzz.0 subnet through the 10.xxx.xxx.147 gateway. Everything else should go through the 10.xxx.xxx.230 gateway. This is the intended behavior, and again it is working everywhere but that one station. I noticed that the Active Route metric costs differ between the two stations, but I am new to the routing table and I am not sure how that is impacting the behavior.

I hope I have been able to explain the situation clearly. Any help would be much appreciated. I can provide any additional information if needed!

© Server Fault or respective owner

Related posts about subnet

Related posts about route