2 !== RoutedNetworks.txt for Samba release 2.0.0-alpha6 19 Sep 1998
4 #NOFNR Flag in LMHosts to Communicate Across Routers
\r
6 Last reviewed: May 5, 1997
\r
8 The information in this article applies to:
\r
10 Microsoft Windows NT operating system version 3.1
\r
11 Microsoft Windows NT Advanced Server version 3.1
\r
15 Some of the LAN Manager for UNIX and Pathworks servers may have
\r
16 problems in communicating across routers with
\r
17 Windows NT workstations. The use of #NOFNR flag in the LMHosts
\r
18 file solves the problem.
\r
22 When you are communicating with a server across a router in a IP
\r
23 routed environment, the LMHosts file is used to
\r
24 resolve Workstation name-to-IP address mapping. The LMHosts
\r
25 entry for a remote machine name provides the IP
\r
26 address for the remote machine. In Lan Manager 2.x, providing
\r
27 the LMHosts entry eliminates the need to do a Name
\r
28 Query broadcast to the local domain and instead a TCP session is
\r
29 established with the remote machine. Windows NT
\r
30 performs the same function in a different way.
\r
32 When an LMHosts entry exists for a remote server, Windows NT
\r
33 will not send a Name Query broadcast to the local
\r
34 subnet and instead send a directed Name Query to the remote
\r
35 server. If the remote server does not respond to the Name
\r
36 Query, further communications (TCP SYN, and so on) will not take
\r
37 place. This was done to eliminate the performance
\r
38 issues when trying to connect to a remote machine when it was
\r
39 not available (down).
\r
41 Some of the older LAN Manager for UNIX and DEC Pathworks servers
\r
42 do not respond to directed Name Queries sent
\r
43 by Windows NT. In that case, the users will see an error 53
\r
44 (Path not found), even though they have specified the
\r
45 LMHosts entries correctly. A new LMHosts flag #NOFNR was added
\r
46 to solve this problem. By specifying the
\r
47 #NOFNR flag on the same line where the name resolution
\r
48 information for the server is provided, the directed Name
\r
49 Query can be avoided. For example:
\r
51 130.20.1.1 mylmxserver #PRE #NOFNR
\r
54 Note that this will only apply to mylmxserver and not to any
\r
55 other entries in the LMHosts file. To set
\r
56 a global flag, an entry could be added in the registry. To
\r
57 completely remove any directed Name
\r
58 Queries sent from a Windows NT machine, create the following
\r
61 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Nbt\Parameters:
\r
63 NoDirectedFNR REG_DWORD 1
\r
66 This will cause the directed Name Queries to not go out for any
\r