Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LMHOST FILE IN WINXP

Status
Not open for further replies.

microgeek

IS-IT--Management
Oct 25, 2002
14
US
Greetings,

I've been reading over the threads and need some assistance.

Here is my scenario

WinXP VPN Client

Sonicwall VPN Firewall

I'm trying to browse a network that uses Win2k SBS2000 and active directory.

I've managed to creat a secure tunnel to my secured lan with my XP PRO client.

I can ping the remote domain server at 20ms and access shares by specifying the IP address.

I'd like to be able to login to the domain and access shares, browse network neighborhood as if I'm sitting on the LAN.

After reading all the threads I have come to the conclusion it has something to do with my lack of LMHOST file on my XP machine.

I'm new to setting up this file and was wondering if someone could cut and paste a sample of what to include. So that I could use it as a template for mine. Also, what directory does the LMHOST file need to be in?

Thanks in advance,

MicroGeek
 
I am not sure how to solve you problem exactly the way you want too, but if in My Network Places, you add a new network connection and manually tipe in the \\server\share, it will stay there and will be able to browse it through Network Neighborhood without making a mapped drive.
 
If you wish to use the LMHOSTS file it is easy enough to do. Just go to your windows dir->system32->drivers->etc and look for the file called lmhosts with no extension. There is also one there with a .sam extension as a sample file. You can use that one if the other does not exist.

Then you open the file using your favorite notepadish program and go straight to the bottom of the file. You will see a few samples if you used the lmhosts.sam file, you should copy the one that has the #PRE in it. you have to be very carefull about spacing here. In fact since i am not sure on the details of the spaces, use this link to MS to find the rules.
You need to put in EVERY single name and IP pair you wish to visit by name if you do not use a WINS server on the domain. If you do use WINS you only really need to put in the WINS server info, which is also the domain controller for authentication onto the domain. Easy enough, right?

Well if you use workgroups then you will need to put all those names into the file one by one and make sure to get the spacing correct or else the names might not resolve. All and all this is easy to do, it also makes it easy to make links to machines that have long names, or hard ones to remember, or names you do not wish to use. You can use any LAN ip with any name you wish, and only your machine will know about it.

There is also a HOSTS file in that windows\system32\drivers\etc folder which allows you to do the same thing only for external, read internet, addresses. This is really handy for pop up adds and long site names, but that is another thread.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top