Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Microsoft Windows XP Networking Inside Out

.pdf
Скачиваний:
21
Добавлен:
15.03.2015
Размер:
19.49 Mб
Скачать

PUBLISHED BY

Microsoft Press

A Division of Microsoft Corporation

One Microsoft Way

Redmond, Washington 98052-6399

Copyright © 2003 by Curt Simmons

Portions copyright © 2003 by James Causey

All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher.

Library of Congress Cataloging-in-Publication Data Simmons, Curt, 1968-

Microsoft Windows XP Networking Inside Out / Curt Simmons. p. cm.

Includes index. ISBN 07356-1652-3

1. Microsoft Windows (Computer file) 2. Operating systems (Computers) 3. Computer networks. I. Title.

QA76.76.O63 S558553

2002

005.4'4769-dc21

2002075345

Printed and bound in the United States of America.

1 2 3 4 5 6 7 8 9 QWT 7 6 5 4 3 2

Distributed in Canada by H.B. Fenn and Company Ltd.

A CIP catalogue record for this book is available from the British Library.

Microsoft Press books are available through booksellers and distributors worldwide. For further information about international editions, contact your local Microsoft Corporation office or contact Microsoft Press International directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress. Send comments to mspinput@microsoft.com.

Active Directory, ActiveX, FrontPage, Microsoft, the Microsoft Internet Explorer logo, Microsoft Press, MS-DOS, MSN, NetMeeting, the Office logo, Outlook, the Passport logo, PowerPoint, Visual Studio, WebTV, Win32, Windows, Windows Media, Windows NT, and Xbox are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Other product and company names mentioned herein may be the trademarks of their respective owners.

The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.

Acquisitions Editor: Alex Blanton

Project Editor: Aileen Wrothwell

Technical Editor: Curtis Philips

Series Editor: Sandra Haynes

Body Part No. X08-82180

Contents at a Glance

Contents at a Glance

Part 1

Windows XP . . . . . . . .1

Networking

Chapter 1

Introduction to . . . . . . . . . . . . . . . . . . . . 3 Windows XP Networking

Chapter 2

Configuring TCP/IP . . . . . . . . . . . . . . . . 15

and Other Protocols

Chapter 3

Creating Network Connections . . . . . . . 47

Part 2

Internet . . . . . . . . . . 79

Networking

Chapter 4

Configuring Internet Connections . . . . . 81

Chapter 5

Using Internet . . . . . . . . . . . . . . . . . . . 117

Connection Firewall

Chapter 6

Using Internet Explorer . . . . . . . . . . . . 137

Advanced Features

Chapter 7

Using Outlook Express . . . . . . . . . . . . 181

Advanced Features

Chapter 8

 

Using Windows Messenger . . . . . . . .

219

Chapter 9

Using Internet . . . . . . . . . . . . . . . . . . . 249

Information Services

Part 3

Network . . . . . . . . 281

Connectivity

Chapter 10

Managing Workgroup Connections . . . 283

Chapter 11

Understanding . . . . . . . . . . . . . . . . . . . 311

Domain Connectivity

Chapter 12

Solving Connectivity Problems . . . . . . 345

Part 4

Network . . . . . . . . 371

Resources

Chapter 13

Selecting a File System . . . . . . . . . . . 373

Chapter 14

Understanding Resource . . . . . . . . . . . 397

Sharing and NTFS Security

Chapter 15

Making Files Available Offline . . . . . 449

Part 5

Advanced . . . . . . . 471

Networking

Chapter 16

Remote Desktop and . . . . . . . . . . . . . . 473

Remote Assistance

Chapter 17

Remote Access and . . . . . . . . . . . . . . . 503

Virtual Private Networking

iii

Contents at a Glance

Chapter 18

Interconnectivity . . . . . . . . . . . . . . . . . 519 with Other Systems

Chapter 19

Wireless Networking . . . . . . . . . . . . . . 531

Chapter 20

Maintaining Network Security . . . . . . 557

Chapter 21

Monitoring Windows XP . . . . . . . . . . . 597

Network Performance

Part 6

Appendix . . . . . . . 611

Appendix A

Windows XP Service Pack 1 . . . . . . . . 613

Glossary . . . . . . . . . . . . . . . . . . . . . . . 617

Index to Troubleshooting Topics . . . . . 629

Index . . . . . . . . . . . . . . . . . . . . . . . . . . 631

iv

Table of Contents

 

Table of Contents

 

Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xvii

We’d Like to Hear from You! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

xix

Conventions and Features Used in This Book . . . . . . . . . . . . . . . . . . . . . . . .

xxi

Part 1

 

Windows XP Networking

1

Chapter 1

 

Introduction to Windows XP Networking

3

Windows Networking Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 3

What Is a Network? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 4

Why Is a Network Necessary? . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 4

What Is Needed for a Network? . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 5

Understanding Home Networks and Workgroups . . . . . . . . . . . . . .

. . 6

Understanding Domain Environments . . . . . . . . . . . . . . . . . . . . . .

. . 7

Windows XP Networking Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 9

TCP/IP Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 9

NTFS File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 10

Internet Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 10

Remote Control and Remote Troubleshooting . . . . . . . . . . . . . . . .

. 11

Virtual Private Networks and Remote Networking . . . . . . . . . . . . .

. 13

Support for Internet Information Services . . . . . . . . . . . . . . . . . . . .

. 13

Wireless Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 14

Universal Plug and Play . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 14

Chapter 2

 

Configuring TCP/IP and Other Protocols

15

OSI Reference Model Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 15

Using Layers in the OSI Model . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 16

The Seven Layers of the OSI Model . . . . . . . . . . . . . . . . . . . . . . .

. 17

Understanding TCP/IP in Depth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 24

Application Layer Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 24

Transport Layer Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 28

Network Layer Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 31

Internet Protocol Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 32

Classifying IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 33

Applying the Subnet Mask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 33

Using Default Gateways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 34

Understanding Public and Private IP Addresses . . . . . . . . . . . . . . .

. 35

v

Table of Contents

Configuring IP Settings in Windows XP . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Configuring Advanced TCP/IP Options . . . . . . . . . . . . . . . . . . . . . . 37

Understanding Internet Protocol Version 6 (IPv6) . . . . . . . . . . . . . . . . . . . 41

Using IPv6 with Windows XP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

Other Networking Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

Internetwork Packet Exchange (IPX) . . . . . . . . . . . . . . . . . . . . . . . . 42

AppleTalk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44

Chapter 3

 

Creating Network Connections

47

Understanding Network Hardware Components . . . . . . . . . . . . . . . . . .

. . 47

Installing a Network Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 48

Connecting with Hubs and Switches . . . . . . . . . . . . . . . . . . . . . . .

. 49

Wiring the Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 50

Adding Routers and Residential Gateways . . . . . . . . . . . . . . . . . . .

. 51

Choosing a Network Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 55

Direct Cable Connection (DCC) . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 55

Ethernet Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 60

HomePNA Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 63

Powerline Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 66

Wireless Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 67

Other Types of LANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 67

Installing NICs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 68

Managing Network Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 69

Checking the Status of the Connection . . . . . . . . . . . . . . . . . . . . .

. 70

Understanding Connection Protocols and Services . . . . . . . . . . . . .

. 71

Network Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 72

Bindings and Provider Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 73

Bridging Network Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 75

Part 2

 

Internet Networking

79

Chapter 4

 

Configuring Internet Connections

81

Internet Connections 101 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 81

The Role of an Internet Service Provider (ISP) . . . . . . . . . . . . . . . .

. 82

What an ISP Provides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 83

Types of Internet Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 85

Dial-up Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 86

Digital Subscriber Line (DSL) Connections . . . . . . . . . . . . . . . . . . .

. 89

Satellite Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 91

Cable Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 94

vi

Table of Contents

 

Corporate Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . 95

Fixed Wireless Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 96

Configuring Modems and Broadband Hardware . . . . . . . . . . . . . . . . . .

. . 96

General Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 98

Modem Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 98

Diagnostics Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 99

Advanced Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 99

Driver Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 102

Resources Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 103

Creating New Internet Connections . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 103

Managing Dial-up Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 106

Connection Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 106

Configuring Dialing Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 111

Managing Broadband Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 114

Chapter 5

 

Using Internet Connection Firewall

117

Introducing Firewalls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 117

What Is a Firewall? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 117

Understanding Internet Connection Firewall . . . . . . . . . . . . . . . . . . . . .

. 118

How ICF Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 119

How to Use ICF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 121

When You Should Use ICF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 121

When You Should Not Use ICF . . . . . . . . . . . . . . . . . . . . . . . . . .

. 123

What ICF Does Not Do . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 123

Activating and Configuring ICF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 124

Enabling ICF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 124

Using the ICF Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 125

Enabling Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 130

Allowing ICMP Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 133

Using ICF with E-mail Services . . . . . . . . . . . . . . . . . . . . . . . . . .

. 134

Testing ICF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 135

Chapter 6

 

Using Internet Explorer Advanced Features

137

Managing Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 137

Dial-up and Virtual Private Network Connections . . . . . . . . . . . .

. 139

Local Area Network (LAN) Settings . . . . . . . . . . . . . . . . . . . . . . .

. 142

Setting Internet Explorer Security Levels . . . . . . . . . . . . . . . . . . . . . . .

. 143

Security Zones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 144

Understanding Privacy and Content Settings . . . . . . . . . . . . . . . . . . . .

. 148

Privacy Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 148

Content Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 155

vii

Table of Contents

 

Setting Additional Internet Explorer Features and Settings . . . . . . . . .

. . 159

Choosing a Home Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 160

Customizing the Appearance of Internet Explorer . . . . . . . . . . . .

. 160

Managing AutoComplete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 161

Setting Default Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 162

Choosing Advanced Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 163

Customizing the Internet Explorer Interface . . . . . . . . . . . . . . . . . . . . .

. 164

Configuring the Internet Explorer Toolbar . . . . . . . . . . . . . . . . . .

. 164

Managing Internet Explorer History . . . . . . . . . . . . . . . . . . . . . . .

. 166

Managing Favorites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 168

Customizing Search Options . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 171

Importing and Exporting Favorites and Cookies . . . . . . . . . . . . . .

. 172

Choosing Language Encoding Features . . . . . . . . . . . . . . . . . . . .

. 173

Using Keyboard Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 174

Managing Internet Explorer with Local Group Policy . . . . . . . . . . . . . .

. 174

Understanding Local Group Policy . . . . . . . . . . . . . . . . . . . . . . . .

. 175

Using Local Group Policy to Invoke Internet Explorer Settings . . .

. 176

Chapter 7

 

Using Outlook Express Advanced Features

181

Managing Connectivity and Accounts . . . . . . . . . . . . . . . . . . . . . . . . .

. 182

Configuring Connectivity and Accounts . . . . . . . . . . . . . . . . . . . .

. 182

Using Multiple Accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 190

Using Identities in Outlook Express . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 192

Configuring Outlook Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 194

General Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 194

Read Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 195

Receipts Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 196

Send Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 197

Compose Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 198

Signatures Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 198

Security Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 199

Connection Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 201

Maintenance Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 202

Managing E-mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 202

Sending Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 202

Using Mail Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 204

Managing Attachments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 206

Managing Received Messages . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 207

Creating Message Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 209

Managing Spam . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 211

Importing and Exporting Messages . . . . . . . . . . . . . . . . . . . . . . .

. 212

Finding Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. 213

Managing the Appearance of Outlook Express . . . . . . . . . . . . . .

. 214

viii

Table of Contents

 

Using the Address Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 215

Using Keyboard Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 217

Chapter 8

 

Using Windows Messenger

219

Setting Up and Connecting with Windows Messenger . . . . . . . . . . . .

. . 219

Creating a .NET Passport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 220

Connecting Through a Firewall . . . . . . . . . . . . . . . . . . . . . . . . .

. . 222

Windows Messenger and Virtual

 

Private Network (VPN) Connections . . . . . . . . . . . . . . . . . . . . . .

. . 224

Using Windows Messenger . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 225

Managing Sign-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 225

Creating Contacts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 226

Using Instant Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 229

Using File Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 233

Making Voice Calls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 235

Using Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 239

Whiteboard and Application Sharing . . . . . . . . . . . . . . . . . . . . .

. . 240

Requesting Remote Assistance . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 246

Mobile Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 246

Online Security and Privacy . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 247

Chapter 9

 

Using Internet Information Services

249

Running IIS on Windows XP Professional . . . . . . . . . . . . . . . . . . . . . .

. . 250

Getting to Know IIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 251

History of IIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 251

Features Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 252

Preview of IIS Version 6.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 257

Installing IIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 259

Configuring IIS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 260

Configuring Global Web Site Properties . . . . . . . . . . . . . . . . . . .

. . 260

Configuring Individual (Default) Web Site Properties . . . . . . . . .

. . 269

Configuring FTP Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 273

Configuring SMTP Services . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 277

Part 3

 

Network Connectivity

281

Chapter 10

 

Managing Workgroup Connections

283

Planning a Workgroup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 284

Choosing a Network Topology . . . . . . . . . . . . . . . . . . . . . . . . . .

. . 284

Gathering the Network Hardware . . . . . . . . . . . . . . . . . . . . . . .

. . 291

ix

Соседние файлы в предмете Операционные системы