Solved

LMHOSTS

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

771 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

14 Experts available now in Live!

Get 1:1 Help Now