The information in this article applies to:
SUMMARYThis article describes how to use the multihomed (#MH) entry in the Windows NT Lmhosts file. You can use the #MH entry for adding multihomed static WINS mappings, but you cannot use it to provide multihomed NetBIOS name resolution. MORE INFORMATIONYou can use the #MH entry when you are importing an Lmhosts file into Windows Internet Naming Service (WINS). When you need to import a list of NetBIOS names and TCP/IP addresses into WINS for use as static mappings, you can use the "import Lmhosts file" functionality. Under these circumstances, you can use the #MH entry in the Lmhosts file to add a multihomed entry for a particular name. For example, assume that the following sample Lmhosts file is being used: 1.1.1.1 testsrv #MHWhen you import this file into WINS, the following static mappings are added: testsrv[00h] multihomed entry with addresses 1.1.1.1 and 1.1.1.2You cannot use the #MH functionality when you are using the Lmhosts file to resolve names during normal NetBIOS name lookup tasks. For example, assume that the following sample Lmhosts file is being used: testsrv 1.1.1.1 #PRE #MHWhen you load this file into the NetBIOS name cache, it shows two entries for each computer name for each service, but only the last IP address is used when NetBIOS name resolution attempts to resolve the name. The NetBIOS name cache appears as follows:
However, if you then try to connect to \\Testsrv, only the last entry is used when you are trying to build a TCP session.
Additional query words:
Keywords : kbenv kbtool |
Last Reviewed: January 19, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |