LMHOSTS     Last updated on 2011/2555     11     10, a full moon day;

lmhosts file, a static way of confirmation and authentication; Also see: Script.htm;

A file to lookup in TCP / IP network; Within a LAN, LMHOSTS is not needed, NetBEUI is good enough to use because NetBEUI || TCP / IP broadcasts within a local subnet; However, when $_shared_parameter is needed i.e. sharing print$, path$, ... , NetBIOS over TCP / IP must be processed; lmhosts can be assigned in an initial stage inside as [Service General Setting];

Running a lmhosts file is similar to using a WINS server; In common, routers separate LANs, switches separate Internets therefore lmhost file to be looked up among different LANs, Intranets, Internets, ... , to define, to name computer_names;

Lmhost.bat vs. WINS server: Lmhost is static, on the other hand, WINS is dynamic; Lmhost.bat is a text file, but WINS is not; Since lmhost has been in static, whenever IP addresses change, text contents of lmhost.bat file must be changed also; In static networking environment, replication of one and only one master lmhost file to all machines is recommended; 5W1H of dynamic DNS?

Please do not confuse among computer machine and %BIN%, user's SID+GUID and %USER%, profile's Do(s) Dont(s) and %PROFILE%; To manage computer systems, set theoretical union i.e. system time stamp, intersection, subtraction, ..., must be explicitly understood, otherwise networks handshake implicitly is unwanted in security;

Sample lmhosts.bat file's contents are:

IP_AddressServer_Name#PRE#DOM:Domain_Name

...

... i.e. 123.456.789.101        PDC1010        #PRE    #DOM:usamyanmar

... i.e. 987.654.321.10        BDC10        #PRE    #DOM:usamyanmar

... i.e. Notice that www. and .net are excluded in text content because DNS forwarder forwards www. and .net; PDC1010 has been mapped in first octet as 123 a.k.a. Class A because octet_number between   001~126, and BDC10 is neither Class A, nor B   128~191, nor C   192~223, nor D   224~239, nor E   240~247, ... ;

IP_AddressServer_Name#PRE#DOM:Domain_Name

Notice the tabs among texts; Server_Name can be Application_servers, BDC_numbers, MS_Exchange_servers, PDC_number, server_names, ... ; #PRE is preprocessor static value; Also see: #PRE in Duo-binary OSI; Notice that CFID, page_id, ...*id(s)* vary among #APP, #PRE, #SESSION OSI layers depending on how iexp* has been called; Also use: noCOOKIE;

Also see: #INCLUDE

#BEGIN_ALTERNATE

#INCLUDE\\Server_Name\..\lmhosts

...

#INCLUDE\\Server_Name\..\lmhosts

#END_ALTERNATE

Also see: If characters are not printable AND preceded by \0x in hexadecimal value

... i.e. 123.456.789.101        "PDC1010        \0xHexadecimal_value"

 

Up