Solved

LMHOSTS

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
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 …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

696 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