Table Of ContentCompTIA®
Network+
Third Edition
Mike Harwood
CompTIA®Network+ Exam Cram, Third Edition Publisher
Copyright © 2009 by Pearson Education Inc. Paul Boger
All rights reserved. No part of this book shall be reproduced, stored in a retrieval sys-
tem, or transmitted by any means, electronic, mechanical, photocopying, recording, or Acquisitions Editor
otherwise, without written permission from the publisher. No patent liability is Betsy Brown
assumed with respect to the use of the information contained herein. Although every
precaution has been taken in the preparation of this book, the publisher and author Senior
assume no responsibility for errors or omissions. Nor is any liability assumed for dam- Development Editor
ages resulting from the use of the information contained herein. Christopher
ISBN-13: 978-0-7897-3796-0 Cleveland
ISBN-10: 0-7897-3796-5
Managing Editor
Library of Congress Cataloging-in-Publication Data: Patrick Kanouse
Harwood, Mike.
CompTIA Network+ exam cram / Mike Harwood. -- 3rd ed. Project Editor
p. cm. Mandie Frank
ISBN 978-0-7897-3796-0 (pbk. w/cd)
Copy Editor
1. Computer networks--Examinations--Study guides. 2.
Gayle Johnson
Telecommunications engineers--Certification. 3. Electronic data
processing personnel--Certification. I. Title. Indexer
TK5105.5.H372 2009 Ken Johnson
004.6--dc22
2009004266 Proofreader
Molly Proue
Printed in the United States of America
Technical Editors
First Printing: March 2009
Chris Crayton,
13 12 11 10 09 4 3 2 1
Pawan Bhardwaj
Trademarks
All terms mentioned in this book that are known to be trademarks or service marks Publishing
have been appropriately capitalized. Pearson cannot attest to the accuracy of this infor- Coordinator
mation. Use of a term in this book should not be regarded as affecting the validity of
Vanessa Evans
any trademark or service mark.
Warning and Disclaimer Multimedia
Every effort has been made to make this book as complete and accurate as possible, Developer
but no warranty or fitness is implied. The information provided is on an “as is” basis. Dan Scherf
The author and the publisher shall have neither liability nor responsibility to any person
or entity with respect to any loss or damages arising from the information contained in
Designer
this book or from the use of the CD or programs accompanying it.
Gary Adair
Bulk Sales
Que Publishing offers excellent discounts on this book when ordered in quantity for Compositor
bulk purchases or special sales. For more information, please contact:
Mark Shirar
U.S. Corporate and Government Sales
1-800-382-3419
[email protected]
For sales outside of the U.S., please contact:
International Sales
+1-317-581-3793
[email protected]
Contents at a Glance
Introduction 1
Self-Assessment 7
Chapter 1 Introduction to Networking 13
Chapter 2 Cabling, Connectors, and Ethernet Standards 43
Chapter 3 Networking Components and Devices 95
Chapter 4 OSI Model and Network Protocols 133
Chapter 5 TCP/IP Routing and Addressing 177
Chapter 6 WAN Technologies and Internet Access 213
Chapter 7 Wireless Networking 245
Chapter 8 Network Performance Optimization 283
Chapter 9 Network Security 343
Chapter 10 Network Management Tools and Documentation 397
Chapter 11 Troubleshooting and Supporting the Network 443
Practice Exam 1 479
Answers to Practice Exam 1 499
Practice Exam 2 515
Answers to Practice Exam 2 533
Glossary 553
Index 601
iv
CompTIA®Network+ Exam Cram, Third Edition
Table of Contents
Introduction.........................................................1
Self-Assessment.....................................................7
Chapter 1:
Introduction to Networking................................................................13
Introduction..............................................................................................14
LANs, WANs, MANs, and WPANs.......................................................14
LANs................................................................................................14
WANs..............................................................................................15
Metropolitan Area Networks (MANs)...........................................15
WPANs............................................................................................15
Network Models.......................................................................................16
Peer-to-Peer Networking Model....................................................16
Client/Server Networking Model...................................................16
Comparing Peer-to-Peer and Client/Server Network Models.....17
Centralized and Distributed Computing.................................................18
Virtual Private Networks (VPNs)............................................................18
Components of the VPN Connection...........................................19
VPN Pros and Cons........................................................................20
Virtual Local Area Networks (VLANs)...................................................21
VLAN Membership........................................................................23
Network Topologies.................................................................................26
Bus Topology...................................................................................26
Ring Topology.................................................................................27
Star Topology..................................................................................28
Wired Mesh Topology....................................................................30
Wireless Topologies........................................................................31
Point-to-Point, Point-to-Multipoint, and Wireless Mesh
Topologies.....................................................................................33
Hybrid Topologies...........................................................................36
v
Contents
Review and Test Yourself..........................................................................37
The Facts.........................................................................................37
Key Terms........................................................................................38
Exam Prep Questions......................................................................39
Answers to Exam Prep Questions...................................................41
Need to Know More?...............................................................................42
Chapter 2:
Cabling, Connectors, and Ethernet Standards.........................................43
Introduction..............................................................................................45
General Media Considerations................................................................45
Broadband Versus Baseband...........................................................46
Simplex, Half Duplex, and Full Duplex.........................................46
Media Interference..........................................................................46
Attenuation......................................................................................47
Data Transmission Rates.................................................................48
Network Media.........................................................................................48
Twisted-Pair Cabling.......................................................................49
Coaxial.............................................................................................52
Fiber-Optic Cable...........................................................................53
Plenum Cables.................................................................................56
Media Connectors....................................................................................56
BNC Connectors.............................................................................56
RJ-11 Connectors............................................................................57
RJ-45 Connectors............................................................................58
F-Type Connectors and RG-59 and RG-6....................................59
Fiber Connectors.............................................................................59
RS-232 Standard.............................................................................61
IEEE 1394.......................................................................................62
Universal Serial Bus (USB).............................................................62
568A and 568B Wiring Standards...........................................................63
Straight Versus Crossover Cable..............................................................64
Rollover and Loopback Cables................................................................66
Loopback Cable...............................................................................66
Components of Wiring Distribution.......................................................66
Network Cross-Connects...............................................................67
Horizontal Cabling.........................................................................67
vi
CompTIA®Network+ Exam Cram, Third Edition
Vertical Cable..................................................................................69
Patch Panels.....................................................................................69
Type 66 and Type 110 Punchdown Blocks....................................71
MDF and IDF.................................................................................71
Demarc, Demarc Extension, and Smart Jacks...............................72
Verify Wiring Installation and Termination...................................74
IEEE and Overview of Networking Standards.......................................75
IEEE 802.2 Standard......................................................................76
IEEE 802.3x Standard Characteristics...........................................76
802.3 Ethernet Standards.........................................................................81
10BaseT...........................................................................................81
10BaseFL.........................................................................................82
Fast Ethernet...................................................................................82
Gigabit Ethernet: 1000BaseX.........................................................84
1000BaseT.......................................................................................85
10 Gigabit Ethernet........................................................................86
10GBaseT........................................................................................88
Review and Test Yourself..........................................................................88
The Facts.........................................................................................89
Key Terms........................................................................................90
Exam Prep Questions......................................................................90
Answers to Exam Prep Questions...................................................93
Need to Know More?...............................................................................94
Chapter 3:
Networking Components and Devices...................................................95
Introduction..............................................................................................96
Hubs..........................................................................................................96
MSAU.......................................................................................................97
Switches.....................................................................................................98
Hub and Switch Cabling.................................................................99
Bridges.....................................................................................................100
Bridge Placement and Bridging Loops........................................101
Types of Bridges............................................................................101
Routers....................................................................................................102
Gateways.................................................................................................103
vii
Contents
Network Cards.......................................................................................104
Types of Network Interfaces.........................................................104
Installing Network Cards..............................................................105
Media Converters...................................................................................106
Wireless Access Points...........................................................................107
Modems...................................................................................................108
Firewalls..................................................................................................110
DHCP Server.........................................................................................111
Repeaters.................................................................................................112
Specialized Network Devices.................................................................112
Multilayer and Content Switches.................................................113
Intrusion Detection and Prevention Systems...............................114
Load Balancer................................................................................115
Multifunction Network Devices...................................................115
DNS Server...................................................................................116
Bandwidth Shaper.........................................................................117
Proxy Server..................................................................................118
CSUs/DSUs..................................................................................120
Network Devices Summary..........................................................121
Advanced Features of a Switch...............................................................123
Power over Ethernet (PoE)..........................................................123
Spanning Tree................................................................................124
Trunking........................................................................................125
Port Mirroring...............................................................................126
Port Authentication.......................................................................126
Review and Test Yourself........................................................................126
The Facts.......................................................................................126
Key Terms......................................................................................128
Exam Prep Questions....................................................................129
Answers to Exam Prep Questions.................................................131
Need to Know More?.............................................................................132
Chapter 4:
OSI Model and Network Protocols......................................................133
Introduction............................................................................................134
The OSI Seven-Layer Model................................................................134
viii
CompTIA®Network+ Exam Cram, Third Edition
Physical Layer (Layer 1)...............................................................135
Data Link Layer (Layer 2)............................................................136
Network Layer (Layer 3)..............................................................136
Transport Layer (Layer 4).............................................................137
Session Layer (Layer 5).................................................................138
Presentation Layer (Layer 6)........................................................138
Application Layer (Layer 7)..........................................................138
OSI Model Summary....................................................................139
Identifying the OSI Layers at Which Various Network
Components Operate...........................................................................140
Connectionless and Connection-Oriented Protocols...........................140
Introduction to Protocols.......................................................................141
Internet Protocol (IP)....................................................................142
Transmission Control Protocol (TCP)........................................142
User Datagram Protocol (UDP)..................................................143
File Transfer Protocol (FTP)........................................................144
Secure File Transfer Protocol (SFTP)..........................................146
Trivial File Transfer Protocol (TFTP).........................................146
Simple Mail Transfer Protocol (SMTP).......................................147
Hypertext Transfer Protocol (HTTP).........................................147
Hypertext Transfer Protocol Secure (HTTPS)...........................148
Post Office Protocol Version 3/Internet Message Access
Protocol Version 4 (POP3/IMAP4)...........................................148
Telnet.............................................................................................149
Secure Shell (SSH)........................................................................150
Internet Control Message Protocol (ICMP)................................150
Address Resolution Protocol (ARP)/Reverse Address
Resolution Protocol (RARP)......................................................151
Network Time Protocol (NTP)...................................................152
Network News Transfer Protocol (NNTP).................................153
Secure Copy Protocol (SCP)........................................................153
Lightweight Directory Access Protocol (LDAP).........................154
Internet Group Management Protocol (IGMP)..........................154
Domain Name System (DNS)......................................................154
Simple Network Management Protocol (SNMP).......................161
Dynamic Host Configuration Protocol (DHCP)........................164
ix
Contents
Transport Layer Security..............................................................166
Session Initiation Protocol (SIP)/Real-Time Transport
Protocol (RTP)............................................................................166
TCP/IP Protocol Suite Summary................................................168
Review and Test Yourself........................................................................170
The Facts.......................................................................................171
Key Terms......................................................................................172
Exam Prep Questions....................................................................173
Answers to Exam Prep Questions.................................................175
Need to Know More?.............................................................................176
Chapter 5:
TCP/IP Routing and Addressing.........................................................177
Introduction............................................................................................179
IP Addressing.................................................................................179
IPv4................................................................................................180
IP Address Classes.........................................................................180
Subnet Mask Assignment..............................................................181
Subnetting......................................................................................182
Identifying the Differences Between IPv4 Public and
Private Networks..................................................................................183
Private Address Ranges.................................................................184
Classless Interdomain Routing (CIDR).......................................185
Default Gateways..........................................................................185
IPv4 Address Types.......................................................................187
IPv6 Addressing.............................................................................187
Comparing IPv4 and IPv6 Addressing.........................................191
Assigning IP Addresses...........................................................................191
Static Addressing...........................................................................191
Dynamic Addressing.....................................................................192
BOOT Protocol (BOOTP)..........................................................194
APIPA............................................................................................194
Identifying MAC Addresses...................................................................195
NAT, PAT, and SNAT............................................................................196
Network Address Translation (NAT)...........................................196
PAT and SNAT.............................................................................197
TCP/UDP Port Functions....................................................................198