<p>I know this is not programming directly, but it's regarding a development workstation I'm setting up.</p>

<p>I've got a Windows Server 2003 machine that needs to be on two LAN segments at the same time.  One of them is a 10.17.x.x LAN and the other is 10.16.x.x</p>

<p>The problem is that I don't want to be using up the bandwidth on the 10.16.x.x network for internet traffic, etc (this network is basically only for internal stuff, though it does have internet access) so I would like the system to use the 10.17.x.x connection for anything that is external to the LAN (and for anything on 10.17.x.x of course, and to only use the 10.16.x.x connection for things that are on <em>that</em> specific LAN.</p>

<p>I've tried looking into the windows "route" command but it's fairly confusing and won't seem to let me delete routes tha tI believe are interfering with what I want it to do.  Is there a better way of doing this?  Any good software for segmenting your LAN access?</p>

[{'answer_id': 17804, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': '<p>If you don\'t move your network cables around and can assign yourself a static IP address on the 10.16.x.x network, you can refrain from assigning a gateway address on that network.  If there is no gateway, internet packets will not be routed on that interface.</p>\n\n<p>If you use DHCP, static record to recognize your MAC address and not provide a gateway IP address.</p>\n\n<p>As for using advanced windows routing, the route you are looking for is the 0.0.0.0 route (default route).  The important number is the metric value, which is the cost for the route, where the lower metric tends to be used first.  You can set the metric at the interface level directly in the GUI.</p>\n\n<p><a href="https://web.archive.org/web/1/http://articles.techrepublic%2ecom%2ecom/i/tr/cms/contentPics/tcpip-F.gif" rel="nofollow noreferrer">https://web.archive.org/web/1/http://articles.techrepublic%2ecom%2ecom/i/tr/cms/contentPics/tcpip-F.gif</a></p>\n\n<p>I believe if you set the interface metric to a high value on the 10.16.x.x interface, it will not be used as a gateway.</p>\n\n<p>Personally I use the method where I refrain from defining a gateway IP.</p>\n'}, {'answer_id': 17809, 'author': 'kaa', 'author_id': 2105, 'author_profile': 'https://Stackoverflow.com/users/2105', 'pm_score': 3, 'selected': True, 'text': "<p>I'm no network expert but I have fiddled with the route command a number of times...</p>\n\n<pre><code>route add 0.0.0.0 MASK 0.0.0.0 &lt;address of gateway on 10.17.x.x net&gt;\n</code></pre>\n\n<p>Will route all default traffic through the 10.17.x.x gateway, if you find that it still routes through the other interface, you should make sure that the new rule has a lower metric than the existing routes. Do this by adding METRIC 1 for example to the end of the line above.</p>\n\n<p>You could also adjust the metric in the Advanced TCP/IP Settings window of the 10.17.x.x interface, unticking the Automatic Metric checkbox and setting the value to something low, like 1 or 2.</p>\n"}]
['https://Stackoverflow.com/questions/17785', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/194/']