March 2001
Intermediate to advanced
576 pages
16h 42m
English
A hosts file provides similar functionality to lmhosts. This static text file also must be in \winnt\system32\drivers\etc. Although its syntax is similar to lmhosts, it is used to map hostnames, whereas lmhosts is used to map NetBIOS names. A sample hosts file appears in Listing 8.3.
C:\WINNT\system32\drivers\etc>type hosts 192.168.2.200 server11.fis.local server11 dc 192.168.2.199 server12.fis.local server12 |
Tip
Make sure your text editor is not automatically appending a file extension to either the lmhosts or hosts file. If, for example, Notepad saves your hosts file as hosts.txt, it will not function.
Notice from the lines of the hosts file in ...
Read now
Unlock full access