Solved

LMHOSTS

Posted on 1997-03-01
1
789 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
1 Comment
 

Accepted Solution

by:
peterr012497 earned 150 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

947 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now