ۥ-1@ -kGjr%X hhkkkkk3kkkkk,k@/l(kWlAll>q>q>q>qYq(qqqqqqqqq4/r;qkqq$. TCP/IP Microsoft Windows NT Server Version 3.5 Microsoft Corporation Information in this document is subject to change without notice. Companies, names, and data used in examples herein are fictitious unless otherwise noted. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Microsoft Corporation. 19851994 Microsoft Corporation. All rights reserved. Microsoft, MS, MS-DOS, MSX, and Win32 are registered trademarks and Windows and Windows NT are trademarks of Microsoft Corporation in the U.S.A. and other countries. Apple, AppleTalk, and Macintosh are registered trademarks of Apple Computer, Inc. CompuServe is a registered trademark of CompuServe, Inc. Open VMS is a registered trademark and DEC and DECnet are trademarks of Digital Equipment Corporation. HP is a registered trademark of Hewlett-Packard Company. IBM is a registered trademark of International Business Machines Corporation. Lotus and Lotus Notes are registered trademarks of Lotus Development Corporation. Novell and NetWare are registered trademarks of Novell, Inc. NT is a trademark of Northern Telecom Limited in the U.S.A. and other countries. PostScript is a registered trademark of Adobe Systems, Inc. Sun is a registered trademark of Sun Microsystems, Incorporated. UNIX is a registered trademark of UNIX Systems Laboratories. Document No. 58007-0794 Printed in the United States of America. Contents rd "D:\ntdocs\xlannt\xltcp\doc\00a_intr.doc" rd "D:\ntdocs\xlannt\xltcp\doc\01a_over.doc" rd "D:\ntdocs\xlannt\xltcp\doc\02a_inst.doc" rd "D:\ntdocs\xlannt\xltcp\doc\03a_net.doc" rd "D:\ntdocs\xlannt\xltcp\doc\04a_dhc.doc" rd "D:\ntdocs\xlannt\xltcp\doc\05a_wins.doc" rd "D:\ntdocs\xlannt\xltcp\doc\06a_host.doc" rd "D:\ntdocs\xlannt\xltcp\doc\07a_ftp.doc" rd "D:\ntdocs\xlannt\xltcp\doc\08a_perf.doc" rd "D:\ntdocs\xlannt\xltcp\doc\09a_prnt.doc" rd "D:\ntdocs\xlannt\xltcp\doc\10a_trbl.doc" rd "D:\ntdocs\xlannt\xltcp\doc\11a_util.doc" rd "D:\ntdocs\xlannt\xltcp\doc\a_snmp.doc" rd "D:\ntdocs\xlannt\xltcp\doc\a_winsok.doc" rd "D:\ntdocs\xlannt\xltcp\doc\a_gloss.doc" rd "D:\ntdocs\xlannt\xltcp\doc\tcpidx.doc" Welcome xi Whats New in This Release? xii How to Use This Manual xiii Documentation Conventions xv Finding More Information xv Chapter 1 Overview of Microsoft TCP/IP for WindowsNT 1 What Is TCP/IP for WindowsNT? 2 What Does Microsoft TCP/IP Include? 3 WindowsNT Solutions in TCP/IP Internetworks 7 Using TCP/IP for Scalability in Windows Networks 7 Using TCP/IP for Connectivity to the Internet 8 TCP/IP for Heterogeneous Networking 10 Using TCP/IP with Third-Party Software 11 Chapter 2 Installing and Configuring Microsoft TCP/IP and SNMP 15 Before Installing Microsoft TCP/IP 16 Installing TCP/IP 17 Configuring TCP/IP 20 Using DHCP 20 Configuring TCP/IP Manually 21 Configuring TCP/IP to Use DNS 25 Configuring Advanced TCP/IP Options 27 Configuring SNMP 30 Configuring SNMP Security 32 Configuring SNMP Agent Information 34 Removing TCP/IP Components 35 Configuring RAS for Use with TCP/IP 36 Chapter 3 Networking Concepts for TCP/IP 37 TCP/IP and WindowsNT Networking 38 Internet Protocol Suite 39 Transmission Control Protocol and Internet Protocol 39 User Datagram Protocol 40 Address Resolution Protocol and Internet Control Message Protocol 40 IP Addressing 41 IP Addresses 41 Network ID and Host ID 42 Subnet Masks 43 Routing and IP Gateways 44 Dynamic Host Configuration Protocol 46 Name Resolution for Windows Networking 48 NetBIOS over TCP/IP and Name Resolution 50 B-Node 51 P-Node 51 MNode 52 HNode 52 BNode with LMHOSTS and Combinations 52 Windows Internet Name Service and Broadcast Name Resolution 53 WINS in a Routed Environment 53 WINS Name Registration 58 WINS Name Release 58 WINS Name Renewal 59 IP Addressing for RAS 60 Name Resolution with Host Files 61 Domain Name System Addressing 62 SNMP 65 Chapter 4 Installing and Configuring DHCP Servers 67 Overview of DHCP Clients and Servers 68 Installing DHCP Servers 69 Using DHCP Manager 70 Defining DHCP Scopes 72 Creating Scopes 73 Changing Scope Properties 75 Removing a Scope 75 Configuring DHCP Options 75 Assigning DHCP Configuration Options 76 Creating New DHCP Options 78 Changing DHCP Option Values 80 Defining Options for Reservations 81 Predefined DHCP Client Configuration Options 82 Administering DHCP Clients 87 Managing Client Leases 88 Managing Client Reservations 89 Managing the DHCP Database Files 91 Troubleshooting DHCP 92 Restoring the DHCP Database 93 Backing up the DHCP Database onto Another Computer 93 Advanced Configuration Parameters for DHCP 94 Registry Parameters DHCP Servers 95 Registry Parameters for DHCP Clients 97 Guidelines for Setting Local Policies 97 Guidelines for Managing DHCP Addressing Policy 97 Dynamic Allocation of IP Addresses 97 Manual Allocation of IP Addresses 99 Guidelines for Lease Options 99 Guidelines for Partitioning the Address Pool 100 Guidelines for Avoiding DNS Naming Conflicts 100 Using DHCP with Diskless Workstations 101 Planning a Strategy for DHCP 101 Planning a Small-Scale Strategy for DHCP Servers 102 Planning a Large-Scale Strategy for DHCP Servers 103 Chapter 5 Installing and Configuring WINS Servers 105 WINS Benefits 106 Installing WINS Servers 106 Administering WINS Servers 107 Configuring WINS Servers and Replication Partners 112 Configuring WINS Servers 113 Configuring Replication Partners 116 Configuring Replication Partner Properties 118 Triggering Replication Between Partners 120 Managing Static Mappings 120 Adding Static Mappings 122 Editing Static Mappings 124 Filtering the Range of Mappings 125 Managing Special Names 126 Normal Group Names 126 Multihomed Names 126 Internet Group Names 126 How WINS Handles Special Names 127 Setting Preferences for WINS Manager 129 Managing the WINS Database 132 Scavenging the Database 132 Viewing the WINS Database 134 Backing Up the Database 136 Troubleshooting WINS 137 Basic WINS Troubleshooting 137 Restoring or Moving the WINS Database 139 Restoring a WINS Database 139 Restarting and Rebuilding a Down WINS Server 139 Moving the WINS Database 140 Advanced Configuration Parameters for WINS 141 Registry Parameters for WINS Servers 142 Registry Parameters for Replication Partners 143 Parameters for Push Partners 143 Parameters for Pull Partners 144 Planning a Strategy for WINS Servers 145 Planning for Server Performance 145 Planning Replication Partners and Proxies 145 Planning Replication Frequency Between Hubs 146 Chapter 6 Setting Up LMHOSTS 147 Editing the LMHOSTS File 148 Rules for LMHOSTS 148 Guidelines for LMHOSTS 150 Using LMHOSTS with Dynamic Name Resolution 151 Specifying Remote Servers in LMHOSTS 151 Designating Domain Controllers Using #DOM 153 Using Centralized LMHOSTS Files 155 Chapter 7 Using the Microsoft FTP Server Service 157 Installing the FTP Server Service 158 Configuring the FTP Server Service 159 Administering the FTP Server Service 163 Using FTP Commands at the Command Prompt 164 Managing Users 164 Controlling the FTP Server and User Access 165 Annotating Directories 165 Changing Directory Listing Format 166 Customizing Greeting and Exit Messages 166 Logging FTP Connections 166 Advanced Configuration Parameters for FTPServerService 167 Chapter 8 Using Performance Monitor with TCP/IP Services 171 Using Performance Monitor with TCP/IP 172 Monitoring TCP/IP Performance 173 ICMP Performance Counters 173 IP Performance Counters 175 Network Interface Performance Counters for TCP/IP 177 TCP Performance Counters 179 UDP Performance Counters 180 Monitoring FTP Server Traffic 180 Monitoring WINS Server Performance 182 Chapter 9 Internetwork Printing with TCP/IP 183 Overview of TCP/IP Printing 184 Setting Up WindowsNT for TCP/IP Printing 185 Creating a Printer for TCP/IP Printing 185 Printing to Windows NT from UNIX Clients 189 Chapter 10 Troubleshooting TCP/IP 191 Troubleshooting IP Configuration 192 Troubleshooting Name Resolution Problems 193 Name Resolution Problems in HOSTS 193 Name Resolution Problems in LMHOSTS 193 Troubleshooting Other Connection Problems 193 Troubleshooting Other Problems 195 Troubleshooting the FTP Server Service 195 Troubleshooting Telnet 196 Troubleshooting Gateways 196 Troubleshooting TCP/IP Database Files 197 Chapter 11 Utilities Reference 199 arp 200 finger 201 ftp 201 hostname 204 ipconfig 205 lpq 206 lpr 206 nbtstat 207 netstat 209 ping 210 rcp 212 rexec 215 route 216 rsh 217 telnet 218 tftp 219 tracert 220 Appendixes Appendix A MIB Object Types for WindowsNT 223 LAN Manager MIB II for WindowsNT Objects 224 Common Group 224 Server Group 225 Workstation Group 228 Domain Group 228 Microsoft DHCP Objects 229 DHCP MIB Parameters 229 DHCP Scope Group 229 Microsoft WINS Objects 230 WINS Parameters 230 WINS Datafiles Group 232 WINS Pull Group 232 WINS Push Group 233 WINS Cmd Group 234 Appendix B Windows Sockets Applications 237 Vendors 237 Internet Sources for Applications 241 Glossary 245 Index 253 BLANK PAGE IMPORTANT: This text will appear on screen, but will not print. Do not type any additional text on this page! print "1 setgray 41.5 73 moveto 0 646 rlineto 529 0 rlineto 0 646 neg rlineto closepath fill" \p page print \p page " /ndf{1 index where{pop pop pop}{dup xcheck{bind}if def} ifelse}bd /SetPageOffset{neg wp$y add/dTop ed/dLeft ed}ndf /SetPageSize {neg dTop add/dBot ed dLeft add/dRight ed}ndf /DoCropMarks{gs 0 setgray /dopaint true def 0.25 sl dLeft 76 sub dTop M 72 0 rlt dLeft 76 sub dBot M 72 0 rlt dRight 4 add dTop M 72 0 rlt dRight 4 add dBot M 72 0 rlt dLeft dTop 76 add M 0 -72 rlt dRight dTop 76 add M 0 -72 rlt dLeft dBot 4 sub M 0 -72 rlt dRight dBot 4 sub M 0 -72 rlt stroke gr}ndf /DoPageBox {gs 0 setgray /dopaint true def 0.25 sl dLeft dTop M dRight dTop L dRight dBot L dLeft dBot L cp stroke gr}ndf 40.5 72 SetPageOffset 531 648 SetPageSize DoCropMarks DoPageBox" Filename: filename 00A_FRT.DOC Project: title  Template: template NT4_FA1.DOT Author: author Microsoft Last Saved By: lastsavedby Microsoft Revision #: revnum 2 Page: page \* arabic2 of numpages 10 Printed: printdate \@ "MM/dd/yy hh:mm AM/PM"00/00/00 00:00 AM print \p para " 0 setgray /dopaint true def 2 2 moveto /str 30 string def /Times-Roman findfont 5 scalefont setfont (Printed On: ) show statusdict begin product show end ( Colorlayer: ) show /colorlayer where {pop colorlayer str cvs show}{(?) show}ifelse ( Document Page: ) show wp$fpage show"!Unexpected End of Expression print \p page " /ndf{1 index where{pop pop pop}{dup xcheck{bind}if def} ifelse}bd /SetPageOffset{neg wp$y add/dTop ed/dLeft ed}ndf /SetPageSize {neg dTop add/dBot ed dLeft add/dRight ed}ndf /DoCropMarks{gs 0 setgray /dopaint true def 0.25 sl dLeft 76 sub dTop M 72 0 rlt dLeft 76 sub dBot M 72 0 rlt dRight 4 add dTop M 72 0 rlt dRight 4 add dBot M 72 0 rlt dLeft dTop 76 add M 0 -72 rlt dRight dTop 76 add M 0 -72 rlt dLeft dBot 4 sub M 0 -72 rlt dRight dBot 4 sub M 0 -72 rlt stroke gr}ndf /DoPageBox {gs 0 setgray /dopaint true def 0.25 sl dLeft dTop M dRight dTop L dRight dBot L dLeft dBot L cp stroke gr}ndf 40.5 72 SetPageOffset 531 648 SetPageSize DoCropMarks DoPageBox" Filename: filename 00A_FRT.DOC Project: title  Template: template NT4_FA1.DOT Author: author Microsoft Last Saved By: lastsavedby Microsoft Revision #: revnum 2 Page: page \* arabic1 of numpages 10 Printed: printdate \@ "MM/dd/yy hh:mm AM/PM"00/00/00 00:00 AM print \p para " 0 setgray /dopaint true def 2 2 moveto /str 30 string def /Times-Roman findfont 5 scalefont setfont (Printed On: ) show statusdict begin product show end ( Colorlayer: ) show /colorlayer where {pop colorlayer str cvs show}{(?) show}ifelse ( Document Page: ) show wp$fpage show"!Unexpected End of Expression print \p page " /ndf{1 index where{pop pop pop}{dup xcheck{bind}if def} ifelse}bd /SetPageOffset{neg wp$y add/dTop ed/dLeft ed}ndf /SetPageSize {neg dTop add/dBot ed dLeft add/dRight ed}ndf /DoCropMarks{gs 0 setgray /dopaint true def 0.25 sl dLeft 76 sub dTop M 72 0 rlt dLeft 76 sub dBot M 72 0 rlt dRight 4 add dTop M 72 0 rlt dRight 4 add dBot M 72 0 rlt dLeft dTop 76 add M 0 -72 rlt dRight dTop 76 add M 0 -72 rlt dLeft dBot 4 sub M 0 -72 rlt dRight dBot 4 sub M 0 -72 rlt stroke gr}ndf /DoPageBox {gs 0 setgray /dopaint true def 0.25 sl dLeft dTop M dRight dTop L dRight dBot L dLeft dBot L cp stroke gr}ndf 40.5 72 SetPageOffset 531 648 SetPageSize DoCropMarks DoPageBox" Filename: filename 00A_FRT.DOC Project: title  Template: template NT4_FA1.DOT Author: author Microsoft Last Saved By: lastsavedby Microsoft Revision #: revnum 2 Page: page \* arabic1 of numpages 10 Printed: printdate \@ "MM/dd/yy hh:mm AM/PM"00/00/00 00:00 AM print \p para " 0 setgray /dopaint true def 2 2 moveto /str 30 string def /Times-Roman findfont 5 scalefont setfont (Printed On: ) show statusdict begin product show end ( Colorlayer: ) show /colorlayer where {pop colorlayer str cvs show}{(?) show}ifelse ( Document Page: ) show wp$fpage show"!Unexpected End of Expression PAGEviii Contents Contents PAGEix print \p page " /ndf{1 index where{pop pop pop}{dup xcheck{bind}if def} ifelse}bd /SetPageOffset{neg wp$y add/dTop ed/dLeft ed}ndf /SetPageSize {neg dTop add/dBot ed dLeft add/dRight ed}ndf /DoCropMarks{gs 0 setgray /dopaint true def 0.25 sl dLeft 76 sub dTop M 72 0 rlt dLeft 76 sub dBot M 72 0 rlt dRight 4 add dTop M 72 0 rlt dRight 4 add dBot M 72 0 rlt dLeft dTop 76 add M 0 -72 rlt dRight dTop 76 add M 0 -72 rlt dLeft dBot 4 sub M 0 -72 rlt dRight dBot 4 sub M 0 -72 rlt stroke gr}ndf /DoPageBox {gs 0 setgray /dopaint true def 0.25 sl dLeft dTop M dRight dTop L dRight dBot L dLeft dBot L cp stroke gr}ndf 40.5 72 SetPageOffset 531 648 SetPageSize DoCropMarks DoPageBox" Filename: filename 00A_FRT.DOC Project: title  Template: template NT4_FA1.DOT Author: author Microsoft Last Saved By: lastsavedby Microsoft Revision #: revnum 2 Page: page \* arabic8 of numpages 10 Printed: printdate \@ "MM/dd/yy hh:mm AM/PM"00/00/00 00:00 AM print \p para " 0 setgray /dopaint true def 2 2 moveto /str 30 string def /Times-Roman findfont 5 scalefont setfont (Printed On: ) show statusdict begin product show end ( Colorlayer: ) show /colorlayer where {pop colorlayer str cvs show}{(?) show}ifelse ( Document Page: ) show wp$fpage show"!Unexpected End of Expression print \p page " /ndf{1 index where{pop pop pop}{dup xcheck{bind}if def} ifelse}bd /SetPageOffset{neg wp$y add/dTop ed/dLeft ed}ndf /SetPageSize {neg dTop add/dBot ed dLeft add/dRight ed}ndf /DoCropMarks{gs 0 setgray /dopaint true def 0.25 sl dLeft 76 sub dTop M 72 0 rlt dLeft 76 sub dBot M 72 0 rlt dRight 4 add dTop M 72 0 rlt dRight 4 add dBot M 72 0 rlt dLeft dTop 76 add M 0 -72 rlt dRight dTop 76 add M 0 -72 rlt dLeft dBot 4 sub M 0 -72 rlt dRight dBot 4 sub M 0 -72 rlt stroke gr}ndf /DoPageBox {gs 0 setgray /dopaint true def 0.25 sl dLeft dTop M dRight dTop L dRight dBot L dLeft dBot L cp stroke gr}ndf 40.5 72 SetPageOffset 531 648 SetPageSize DoCropMarks DoPageBox" Filename: filename 00A_FRT.DOC Project: title  Template: template NT4_FA1.DOT Author: author Microsoft Last Saved By: lastsavedby Microsoft Revision #: revnum 2 Page: page \* arabic9 of numpages 10 Printed: printdate \@ "MM/dd/yy hh:mm AM/PM"00/00/00 00:00 AM print \p para " 0 setgray /dopaint true def 2 2 moveto /str 30 string def /Times-Roman findfont 5 scalefont setfont (Printed On: ) show statusdict begin product show end ( Colorlayer: ) show /colorlayer where {pop colorlayer str cvs show}{(?) show}ifelse ( Document Page: ) show wp$fpage show"!Unexpected End of Expression PAGEiii print \p page " /ndf{1 index where{pop pop pop}{dup xcheck{bind}if def} ifelse}bd /SetPageOffset{neg wp$y add/dTop ed/dLeft ed}ndf /SetPageSize {neg dTop add/dBot ed dLeft add/dRight ed}ndf /DoCropMarks{gs 0 setgray /dopaint true def 0.25 sl dLeft 76 sub dTop M 72 0 rlt dLeft 76 sub dBot M 72 0 rlt dRight 4 add dTop M 72 0 rlt dRight 4 add dBot M 72 0 rlt dLeft dTop 76 add M 0 -72 rlt dRight dTop 76 add M 0 -72 rlt dLeft dBot 4 sub M 0 -72 rlt dRight dBot 4 sub M 0 -72 rlt stroke gr}ndf /DoPageBox {gs 0 setgray /dopaint true def 0.25 sl dLeft dTop M dRight dTop L dRight dBot L dLeft dBot L cp stroke gr}ndf 40.5 72 SetPageOffset 531 648 SetPageSize DoCropMarks DoPageBox" Filename: filename 00A_FRT.DOC Project: title  Template: template NT4_FA1.DOT Author: author Microsoft Last Saved By: lastsavedby Microsoft Revision #: revnum 2 Page: page \* arabic3 of numpages 10 Printed: printdate \@ "MM/dd/yy hh:mm AM/PM"00/00/00 00:00 AM print \p para " 0 setgray /dopaint true def 2 2 moveto /str 30 string def /Times-Roman findfont 5 scalefont setfont (Printed On: ) show statusdict begin product show end ( Colorlayer: ) show /colorlayer where {pop colorlayer str cvs show}{(?) show}ifelse ( Document Page: ) show wp$fpage show"!Unexpected End of Expression "uvz},h Tvz?h Tt L dLeft dBot L cp stroke gr}ndf 40.5 72 SetPageOffset 531 648 SetPageSize DoCr13KLHIKLwxz{  6 7 9 : f g i j $ % ' ( S T V W   A B c d  $  \  F G q r   ; < ] ^ &'VW{|01CDTUop&'12<=GHpq23VWxy/0C $ cCDabvw !QRpq  BCqrCDij:;pq01gh &'BC_`  67WX $ cXtu45fg23TU~()FG]^yz'(`aKLghWX  6 7 T U w x $ c #!$!O!P!}!~!!!!!!!""#"K"L"z"{"""""""##/#0#W#X#`#a#l#m#u#v#########################$$$$R$S$$$$$$$$$$$$$%%%%5%6%J%K%d%e%y%z%%%%%%%%% $ c%& &&&!&"&,&6&&&''''))))))))* *** *!***+*6*7*D*E*L*M*V*W*k*l*x*y*************************++++F,G,d,e,i,j,.///;/9O999999 ::N;`;;;;Y<<<<<-=i===>X>>>>?(???T?a?n?@@@AVAAAA B BB!BdBBBCDCCCCDDD}DDDDDDF!FIFFFGeGgG ]gGiGkGTBtProdVnDescMS CorpOpDnPbIhrd header ruleD D F D EL F0 F D F0   D  @T 0X !X !(0 o9.0 h t 8P 8"%.-   @% @%`  1  ( 2&*   EkGGM 2!)$$E  %  ' '1   X #=V \  CX %/5?EG$%&'()*+,- P%|4gGkG./0123ATimes New Roman Symbol&Arial&Arial NarrowTimes(%%E0%3;EZgq5SX*4@OVgq}   C U X u !/79ETV[ehw .36=%4;LVbpx(:=rZgq}*9;@JM\ #19CXeo}3 Q \ 0!0 0!0 0!0 !!0!00!0!0!0Y BeginSelect EndofRDFieldsTOCDummyParagraphMSDInitialSelection TOCGoesHere ChapTOCTop   $$%   $$%#hEE% ;C:\WINWORD\NT4_FA1.DOT Microsoft Microsoft