Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Wireless  |  Forums   | Site Map | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |              



How to use an Lmhosts file for name resolution issues

The Lmhosts file is a local text file that maps Internet Protocol (IP) addresses to NetBIOS names of remote servers with which you want to communicate over the TCP/IP protocol.

The Lmhosts file is located in the %SystemRoot%\System32\Drivers\Etc folder on a Windows computer. The file is named LMHOSTS.SAM, and must be renamed to LMHOSTS before it can be used. Since an LMHOSTS file contains a static computer name to IP address mapping, it may cause conflicts if you are also using DHCP to dynamically assign IP addresses or the computer IP changed.

You experience name resolution issues on your TCP/IP network, especially for a small business with WINS server, you may want to use Lmhosts files to resolve NetBIOS names

Sample Lmhosts File Bob #PRE ms-mvps #PRE

Sample lmhosts file for pointing to a domain PDCNAME #PRE #DOM:DOMAIN-NAME "DOMAIN-NAME \0x1b" #PRE


Note The domain name in this entry is case sensitive. Make sure that you use uppercase characters for the domain name. If you use lowercase characters for the domain name, NetBT does not recognize the name.

To reload of the NBT Remote Cache Name Table, use this command: nbtstat -R. To display of the NBT Remote Cache Name Table nbtstat -C.

Related Topics

Troubleshooting Master Browser Issue

Troubleshooting NetBIOS and WINS Issues





Hit Counter   This web is provided "AS IS" with no warranties.
Copyright 2002-2017 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.