Specifications
Windows Name Resolution with the AVM Access Server
AVM Access Server – 5 AVM Access Server Concepts and Functional Principles 97
Name Resolution Methods
In addition to deactivating the NetBIOS filter, you should set up a suit-
able method of NetBIOS name resolution in the Windows network. Pos-
sible methods are listed here only as a first hint. Please see the Online
Help in your Microsoft operating system and www.microsoft.com for
detailed instructions.
NetBIOS name resolution can be performed statically or dynamically.
Static Name Resolution using LMHOSTS
Static name resolution is performed by looking up names or
addresses in a text file named LMHOSTS. The Windows
installation directory, or a subdirectory of it, contains a sample
LMHOSTS file named LMHOSTS.SAM. This file can be edited and
saved using Notepad.
The name of the file used must be simply LMHOSTS with no
extension. You may have to rename the file to delete the
extension .SAM or .TXT.
The structure of the LMHOSTS file is simple. Each line contains the
IP address of a computer (such as 192.168.10.1) followed by one
or more space or tab characters and then the computer’s NetBIOS
name (such as Server Berlin). Each address-name pair is written
on a separate line.
A simple LMHOSTS file might thus contain the following:
192.168.10.1 Server-Berlin
192.168.20.1 Server-London
Name resolution using the LMHOSTS file is practical only in
simple networks that seldom change. If computer names are
often added or changed, however, dynamic name resolution is
recommended.
Once you have compiled an LMHOSTS file with entries for all
computers in the network, you can install the file on each
computer. In Windows 9x, LMHOSTS must be saved in the
Windows installation directory (usually C:\Windows). In Windows
NT, 2000 and XP, it must be saved in %SYSTEMROOT%\
SYSTEM32\DRIVERS\ETC.