The information in this article applies to:
SUMMARY
Windows functions as a single-route software router. This operation is in contrast to a multiple-route hardware router that may also exist in some environments. Sometimes administrators attempt to configure Windows to perform like a multiple-route hardware router, but because Windows is not designed to do this, these attempts do not succeed. MORE INFORMATIONFor example, assume the following network:
These are Windows router A (RA), Windows router B (RB), Windows router C (RC), and subnets 1, 2, and 3. In the this scenario, the goal is to keep traffic off of subnet 2, unless a program specifically requests to send over subnet 2 for management purposes.The first part of the problem is to make sure that no traffic flows over subnet 2 at all via routing protocols. By configuring OSPF (RIP does not work as well here), on each router to assign a higher cost to subnet 2, an administrator can make sure that traffic flows across subnet 2 only if subnet 1 or 3 is completely unavailable. This is the expected behavior for all packets and is based on the configuration of the route table. In an attempt to send "management" data over subnet 2, although all other traffic is still routed over subnets 1 and 3, some programmers may attempt to alter the routing behavior programmatically. The first method usually involves dynamically changing the route metrics so that subnet 2 is a better route for a specific amount of time. But when the metric is changed for the route, all traffic is routed over subnet 2, not just the management traffic. The second method usually involves telling the program to use a particular interface when sending and receiving traffic. This is often attempted by specifying specific NDIS interfaces for the sending and receiving of traffic that is intended to override the route table maintained by the Windows router. In this case, the traffic continues to use subnets 1 and 3 for sending traffic, despite having specified a particular NDIS interface. This is a common WinSock programming error. The ability to identify a interface in WinSock does not mean that the interface will be used if the route table determines a better route is available over a different interface. In summary, when a WinSock call is made, a single route table is used to determine the best route for all network traffic. This is one of the key differences between a single-route router and a multiple-route router. A multiple-route router allows for a route table for each interface. Windows maintains a single route table for all routing decisions. Additional query words:
Keywords : kbenv kbnetwork |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |