Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOST file location? 1

Status
Not open for further replies.

endyem

IS-IT--Management
Sep 12, 2009
10
0
0
US
From thread693-1524314:

Where is the HOST file located that is referenced in the above thread?

For example:

10.10.10.1 ALOHABOH #PRE
10.10.10.2 TERM1

and so on?

Thanks!
 
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

192.168.0.11 Bob #PRE
192.168.0.25 ms-mvps #PRE


Sample lmhosts file for pointing to a domain
10.0.0.1 PDCNAME #PRE #DOM:DOMAIN-NAME

10.0.0.1 "DOMAIN-NAME \0x1b" #PRE

Or

10.0.0.1 MS-MVP #PRE #DOM:CHICAGOTECH

10.0.0.1 "CHICAGOTECH \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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top