How to tell Windows 7 to ignore a default gateway

Solution 1:

You can try to force the metric for the 10.0.0.0 adapter to be higher than the 192.168.0.0 adapter. This should push Windows 7 to prefer the 192.168.0.0 adapter when routing to a network that is not directly connected.

  1. Open the Properties of your 10.0.0.0 network adapter.
  2. Open the properties of Internet Protocol Version 4 (TCP/IPv4).
  3. Click on Advanced.
  4. Uncheck Automatic Metric and set the Interface Metric value to a high number, say 2000.
  5. Hit OK until you close the screens.

You can view what metrics are used using the route print and looking at the metric column for the routes listed. Windows 7 uses a more dynamic metric than the previous versions, so you'll want to make sure you set the 10.0.0.0 adapter to a high enough number to prevent it from being lower than your 192.168.0.0 adapter.

Solution 2:

Apple's Bonjour service is known to cause the 0.0.0.0 gateway issue. It is installed by iTunes or Adobe Suites.

Here's how to turn it off: http://kb2.adobe.com/cps/400/kb400982.html

This bug has been dogging me since Vista, thanks Apple for your crappy software!