home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q104 / 6 / 60.TXT < prev    next >
Encoding:
Text File  |  1993-10-08  |  4.8 KB  |  117 lines

  1. DOCUMENT:Q104660  07-OCT-1993  [W_NT]
  2. TITLE   :How to Use Multiple Gateways with Windows NT TCP/IP
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. SUMMARY
  16. =======
  17.  
  18. If the default gateway of a Windows NT computer becomes unavailable, 
  19. the computer cannot communicate with systems outside its own subnet
  20. (aside from those it has established connections with on remote
  21. subnets prior to failure).
  22.  
  23. For example, if Router A, the default gateway to Server2, which is on
  24. a different subnet, is out of commission when Client1 starts, Client1
  25. is not able to connect to Server2. This is because by default, Windows
  26. NT uses only the default gateway specified during setup. So, even
  27. though there may be an alternate Router available to connect to
  28. Server2, Windows NT will not use it unless it is configured to use
  29. multiple default gateways.
  30.  
  31. MORE INFORMATION
  32. ================
  33.  
  34. Use the following procedure to configure Windows NT to use multiple
  35. gateways by default:
  36.  
  37. 1. Open the Registry Editor (REGEDT32.EXE).
  38.  
  39.    WARNING: Using Registry Editor incorrectly can cause serious,
  40.    system-wide problems that may require you to reinstall Windows NT
  41.    to correct them. Microsoft cannot guarantee that any problems
  42.    resulting from the use of Registry Editor can be solved. Use this
  43.    tool at your own risk.
  44.  
  45. 2. Use the following path:
  46.  
  47.       HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
  48.       Tcpip\Parameters
  49.  
  50. 3. From the Edit menu, choose Add Value to create the following entry:
  51.  
  52.       AdditionalGateways
  53.  
  54. 4. Set the Data Type to REG_MULTI_SZ.
  55.  
  56. 5. The value should be set to a string representing the default
  57.    gateway, either the dotted decimal format or a fully qualified
  58.    domain name that can be resolved by either the HOSTS file or by
  59.    Domain Name Service. For example:
  60.  
  61.       130.25.000.000
  62.  
  63.       -or-
  64.  
  65.       rhino.microsoft.com
  66.  
  67.    With the Data Type set to REG_MULTI_SZ, you can make multiple entries
  68.    to represent several other default gateways.
  69.  
  70.    NOTE: These entries should be added in order of preference.
  71.  
  72. When a Windows NT system is configured this way, retransmission
  73. problems at the TCP layer cause the IP routing software to try the
  74. routers in the AdditionalGateways list. In this example, if Client1
  75. and Server2 had a session established and Router A went down, TCP
  76. would send a message to IP telling it to try one of the additional
  77. routers. IP would then try Router B, and use the double-hop route to
  78. continue exchanging data between Client1 and Server2. When Router A
  79. becomes available, the interrouting protocol forces Router B (the
  80. current first-hop router in the path from Client1 to Server2) to
  81. redirect Client1 to use Router A for traffic destined for Server2.
  82.  
  83. The ROUTE utility can be used to display the currently active default
  84. (or smart) gateway; the ROUTE -S PRINT command prints the currently
  85. active default gateway, and the ROUTE PRINT command prints all current
  86. routes in the routing tables, identifying all default gateways in the
  87. table in order of preference.
  88.  
  89. The ROUTE -S ADD command can be used to add additional default
  90. gateways after the system has initialized. Any gateways added in this
  91. way are appended to the existing list. The ROUTE command does not
  92. provide a way to order the gateways, so you must use ROUTE -F to flush
  93. all the routing  table entries and then add entries in the order of
  94. preference. But any changes to the routing tables using the ROUTE
  95. utility are not added to the Registry, so to permanently affect the
  96. default gateway routing tables, you must add the AdditionalGateways
  97. value entry to the Registry.
  98.  
  99. Additional reference words: 3.10 
  100. KBCategory:
  101. KBSubcategory: tpip
  102.  
  103. =============================================================================
  104.  
  105. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  106. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  107. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  108. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  109. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  110. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  111. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  112. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  113. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  114. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  115. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  116.  
  117. Copyright Microsoft Corporation 1993.