Select the product you need help with
Default Gateway Configuration for Multihomed ComputersArticle ID: 157025 - View products that this article applies to. This article was previously published under Q157025 NoticeThis article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center
(http://support.microsoft.com/?scid=http%3a%2f%2fsupport.microsoft.com%2fwin2000)
is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle
Policy
(http://support.microsoft.com/lifecycle/)
.SUMMARY
A multihomed computer is one that has multiple network interfaces. For
computers using TCP/IP, these interfaces can be separate network interface
cards (NICs) or multiple IP addresses on one NIC. This article discusses
the recommended method of configuring the default gateway on multihomed
computers.
MORE INFORMATION
In the TCP/IP properties of each of the products listed above, you have the
option to configure a default gateway for each NIC or multiple default
gateways for the same NIC. Every NIC that has a default gateway adds a
0.0.0.0 route (default route) to the routing table. In either case, the TCP/IP routing table will have multiple default routes listed (to view the routing table, type "ROUTE PRINT" from the command prompt). The route most likely to be used is the default gateway for the primary NIC that is bound to TCP/IP, but this is not always the case. If the Transmission Control Protocol (TCP) session on the active default gateway times out, TCP can switch to the next default gateway. This can present a problem depending on your network configuration. It is not recommended to have multiple adapters configured on the same network (it may even create more overhead). For more information on TCP/IP behavior when multiple adapters are configured on the same network, please see the following article in the Microsoft Knowledge Base: 175767
If both NICs are on the same contiguous network, this should not be a
problem as long as the default gateways are valid. However, if the NICs are
configured on disjoint networks, or networks that are physically separated
and cannot communicate with each other, you will not be able to communicate
with the destination host reliably.
(http://support.microsoft.com/kb/175767/EN-US/
)
Expected Behavior of Multiple Adapters on Same Network
A common use of multiple default gateways is to configure a backup gateway in the event of a failure of the primary gateway (router). This backup gateway is used by dead gateway detection, and is only triggered with TCP or connection-oriented traffic. Utilities like PING cannot force the default gateway to switch, because these utilities use User Datagram Protocol (UDP) and Internet Control Message Protocol (ICMP). For additional information, please see the following articles in the Microsoft Knowledge Base: 128978
(http://support.microsoft.com/kb/128978/EN-US/
)
Dead Gateway Detection in TCP/IP for Windows NT
171564
Only one default gateway should be configured on any multihomed computer.
The default gateway is a global configuration for the server, not a setting
that must be set for each network adapter. The server is already aware of
all the networks it is directly connected to, and adds a route to each
network for which it has a TCP/IP address.
(http://support.microsoft.com/kb/171564/EN-US/
)
TCP/IP Dead Gateway Detection Algorithm Updated for Windows NT
The default gateway is used only for traffic that needs to go to a network for which the server has no route. There is only one default gateway active for a computer at a time. You should generally configure the default gateway on the most complex network, and leave the field blank on the other adapter. However, if fault tolerance is desired, choose one of the following:
PropertiesArticle ID: 157025 - Last Review: February 22, 2007 - Revision: 3.3 APPLIES TO
| Article Translations
|


Back to the top








