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:

------------------------------------     walt-lana   #PRE     walt-lanb   #PRE     walt-lanc   #PRE    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?

Ken Long, Lectrosonics, Inc.
kenl@abq.com  webmaster@lectro.com  72410.1314@compuserve.com
(800)821-1121   (505)892-4501   Fax:(505)892-6243
Who is Participating?
peterr012497Connect With a Mentor Commented:
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,

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.