?
Solved

LMHOSTS

Posted on 1997-03-01
1
Medium Priority
?
826 Views
Last Modified: 2013-12-23
I'm having trouble getting Windows NT Workstation to work with a centralized LMHOSTS file.

We don't have an NT Server so I set up an lmhosts file for name to ip address resolution.  This has worked fine for over a year from Windows for Workgroups and Windows 95 but I can't ping across subnets from any NT machine unless I put the destination machine in the local lmhosts file on each NT box.  It's as if NT is not seeing the centralized lmhosts and is only reading the local lmhosts.  I really don't like the idea of trying to maintain many local lmhosts files.  That's why I originally set it up with a centralized lmhosts that contains all the machines on our intranet.  The local
lmhosts file is short and the same for all machines.  It preloads (#PRE) all of the gateway addresses then points to the centralized file (#INCLUDE) which happens to live on a NetWare 3.12 server.  The NW server is also the ip router and has 4 NICS with unique ip addresses for each NIC.  These NIC addresses serve as the default gateway for all the machines on each subnet.  All machines on the intranet have the same subnet mask 255 255 255 224.

Here is the local lmhosts file that resides on every machine:

------------------------------------
200.1.1.33     walt-lana   #PRE
200.1.1.65     walt-lanb   #PRE
200.1.1.97     walt-lanc   #PRE
200.1.1.129    walt-land   #PRE

#INCLUDE \\walt\sys\public\lmhosts
------------------------------------

The centralized lmhosts has entries for all the machines in the company and has no #PRE or #INCLUDE statements.  I'll not bore you by including that file here <G>.

As I said, this works just dandy for the WfWG and W95 machines but not for NT 3.51 and 4.0.

BTW, please don't bother to mention that I'm using 200.x.x.x here, this intranet is completely private and has only modem access to the Internet.  Maybe someday I'll renumber using the standard private numbering scheme.

Any ideas?

Thanks,
Ken Long, Lectrosonics, Inc.
kenl@abq.com  webmaster@lectro.com  72410.1314@compuserve.com
(800)821-1121   (505)892-4501   Fax:(505)892-6243
0
Comment
Question by:kenlong020697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
peterr012497 earned 300 total points
ID: 1559254
After adding entries from a lmhosts file you need to run the "nbtstat -R" command to load the entries in the cache. You can check the cache by the "nbtstat -c" command.

Good luck,

Peter
0

Featured Post

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question