Docsity

data comunications and networking, Apuntes de Informática

Vista previa parcial del texto

¡Descarga data comunications and networking y más Apuntes en PDF de Informática solo en Docsity!

Don't forget to check out the Online Learning Center, www.mhhe.com/forouzan for

additional resources!

Instructors and students using Data Communications and Networking, Fourth Edition

by Behrouz A. Forouzan will find a wide variety of resources available at the Online

Learning Center, www.mhhe.comlforouzan

Instructor Resources

Instructors can access the following resources by contacting their McGraw-Hill Repre-

sentative for a secure password.

a PowerPoint Slides. Contain figures, tables, highlighted points, and brief descriptions

of each section.

o Complete Solutions Manual. Password-protected solutions to all end-of-chapter

problems are provided.

a Pageout. A free tool that helps you create your own course website. D Instructor Message Board. Allows you to share ideas with other instructors

using the text.

Student Resources

The student resources are available to those students using the book. Once you have

accessed the Online Learning Center, click on "Student Resources," then select a chap-

ter from the drop down menu that appears. Each chapter has a wealth of materials to

help you review communications and networking concepts. Included are:

a Chapter Summaries. Bulleted summary points provide an essential review of

major ideas and concepts covered in each chapter.

a Student Solutions Manual. Contains answers for odd-numbered problems. o Glossary. Defines key terms presented in the book. o Flashcards. Facilitate learning through practice and review. a Animated Figures. Visual representations model key networking concepts, bringing

them to life.

D Automated Quizzes. Easy-to-use quizzes strengthen learning and emphasize impor-

tant ideas from the book.

a Web links. Connect students to additional resources available online.

DATA

COMMUNICATIONS

AND

NETWORKING

McGraw-Hill Forouzan Networking Series

Titles by Behrouz A. Forouzan:

Data Communications and Networking

TCPflP Protocol Suite

Local Area Networks

Business Data Communications

The McGraw·HiII Companies .~I

II Higher Education

DATA COMMUNICATIONS AND NETWORKING, FOURTH EDITION

Published by McGraw-Hill, a business unit of The McGraw-Hill Companies. Inc., 1221 Avenue of the Americas, New York, NY 10020. Copyright © 2007 by The McGraw-Hill Companies, Inc. AlI rights reserved. No part of this publication may be reproduced or distributed in any form or by any means, or stored in a database or retrieval system, without the prior written consent of The McGraw-Hill Companies, Inc., including, but not limited to, in any network or other electronic storage or transmission, or broadcast for distance learning.

Some ancillaries, including electronic and print components, may not be available to customers outside the United States.

This book is printed on acid-free paper.

1234567890DOC/DOC

ISBN-13 978-0-07-296775-

ISBN-to 0-07-296775-

Publisher: Alan R. Apt Developmental Editor: Rebecca Olson Executive Marketing Manager: Michael Weitz Senior Project Manager: Sheila M. Frank Senior Production Supervisor: Kara Kudronowicz Senior Media Project Manager: Jodi K. Banowetz Associate Media Producer: Christina Nelson Senior Designer: David W Hash Cover Designer: Rokusek Design (USE) Cover Image: Women ascending Mount McKinley, Alaska. Mount McKinley (Denali) 12,000 feet, ©Allan Kearney/Getty Images Compositor: Interactive Composition Corporation Typeface: 10/12 Times Roman Printer: R. R. Donnelley Crawfordsville, IN

Library of Congress Cataloging-in~Publication Data

Forouzan, Behrouz A. Data communications and networking I Behrouz A Forouzan. - 4th ed. p. em. - (McGraw-HilI Forouzan networking series) Includes index. ISBN 978-0-07-296775-3 - ISBN 0-07-296775-7 (hard eopy : alk. paper)

  1. Data transmission systems. 2. Computer networks. I. Title. II. Series.

TK5105.F

004.6--dc

www.mhhe.com

CIP

To lny wife, Faezeh, with love

Behrouz Forouzan

Preface XXlX

CONTENTS xvii

  • PART 1 Overview
  • Chapter 1 Introduction
  • Chapter 2 Network Models
  • PART
  • Chapter
  • Chapter
  • Chapter
  • Chapter
  • Chapter
    • Chapter
    • Chapter
    • PART
    • Chapter
    • Chapter
    • Chapter
    • Chapter
    • Chapter
    • Chapter
    • Chapter
    • Chapter
    • Chapter
      • Physical Layer and Media
        • Data and Signals
        • Digital Transmission
      • Analog Transmission
        • Bandwidth Utilization: Multiplexing and Spreading
        • Transmission Media
        • Switching
        • Using Telephone and Cable Networksfor Data Transmission
        • Data Link Layer
        • Error Detection and Correction
        • Data Link Control
        • Multiple Access
        • Wired LANs: Ethernet
          • Wireless LANs
          • Connecting LANs, Backbone Networks, and Virtual LANs
          • Wireless WANs: Cellular Telephone and Satellite Networks
        • SONETISDH
          • Virtual-Circuit Nenvorks: Frame Relay andATM
  • PART viii BRIEF CONTENTS
  • Chapter
  • Chapter
  • Chapter
  • Chapter
  • Chapter PARTS
  • Chapter
    • PART
  • Chapter
  • Chapter
  • Chapter
  • Chapter
  • Chapter - Network Layer - Netvvork Layer: Logical Addressing - Netvvork Layer: Internet Protocol - and Multicasting Netl,vork La.ver: Address Mapping, Error Reporting, - Network Layer: Delivery, Fonvarding, and Routing - Transport Layer - Process-to-Process Delivery: UDp, TCP, and SCTP - Congestion Control and Quality ql'Sen'ice - Application Layer - Domain Name System - Remote Logging, Electronic Mail, and File Transfer - WWW and HTTP - Network Management: SNMP - Multimedia
    • PART 7 Security
  • Chapter 30 Cf}1J tography
  • Chapter 31 Network Security - and Firewalls Chapter 32 Securit}' in the Internet: IPSec, SSLlTLS, PCp, VPN,
  • Appendix A Unicode
  • Appendix B Numbering Systems
  • Appendix C Mathematical Review
  • Appendix D 8B/6T Code
  • Appendix E Telephone History
  • Appendix F Co!1tact Addresses
  • Appendix G RFCs
  • Appendix H UDP and TCP Ports
  • Acron.Vl11s
    • ClOSSOlY
    • References - PART 1 Overview Preface xxix - Chapter 1 Introduction
  • 1.1 DATA COMMUNICATIONS - Components - Data Representation - DataFlow
    • 1.2 NETWORKS
      • Distributed Processing
        • Network Criteria
        • Physical Structures
        • Network Models
        • Categories of Networks
    • 1.3 THE INTERNET Interconnection of Networks: Internetwork IS - A Brief History
      • The Internet Today
    • 1.4 PROTOCOLS AND STANDARDS - Protocols - Standards - Standards Organizations - Internet Standards
    • 1.5 RECOMMENDED READING - Books - Sites - RFCs
    • 1.6 KEY TERMS
    • 1.7 SUMMARY
    • 1.8 PRACTICE SET - Review Questions - Exercises - Research Activities - Chapter 2 Network Models
    • 2.1 LAYERED TASKS - Sender, Receiver, and Carrier - Hierarchy
  • 2.2 THE OSI MODEL x CONTENTS
    • Layered Architecture
    • Peer-to-Peer Processes
    • Encapsulation
  • 2.3 LAYERS IN THE OSI MODEL
    • Physical Layer
    • Data Link Layer
      • Network Layer
    • Transport Layer
      • Session Layer
      • Presentation Layer
      • Application Layer
      • Summary of Layers
  • 2.4 TCP/IP PROTOCOL SUITE - Physical and Data Link Layers - Network Layer - Transport Layer - Application Layer
  • 2.5 ADDRESSING - Physical Addresses - Logical Addresses - Port Addresses - Specific Addresses
  • 2.6 RECOMMENDED READING - Books - Sites - RFCs
  • 2.7 KEY lERMS
  • 2.8 SUMMARY
  • 2.9 PRACTICE SET - Review Questions - Exercises - Research Activities - PART 2 Physical Layer and Media - Chapter 3 Data and Signals
  • 3.1 ANALOG AND DIGITAL - Analog and Digital Data - Analog and Digital Signals - Periodic and Nonperiodic Signals
  • 3.2 PERIODIC ANALOG SIGNALS - Sine Wave - Phase - Wavelength - Time and Frequency Domains - Composite Signals - Bandwidth
  • 3.3 DIGITAL SIGNALS - Bit Rate - Bit Length - Digital Signal as a Composite Analog Signal - Transmission of Digital Signals - 3.4 TRANSMISSION IMPAIRMENT - Attenuation - Distortion - Noise - 3.5 DATA RATE LIMITS - Noiseless Channel: Nyquist Bit Rate - Noisy Channel: Shannon Capacity - Using Both Limits - 3.6 PERFORMANCE - Bandwidth - Throughput - Latency (Delay) - Bandwidth-Delay Product - Jitter - 3.7 RECOMMENDED READING - Books - 3.8 KEYTERMS - 3.9 SUMMARY - 3.10 PRACTICE SET - Review Questions - Exercises - Chapter 4 Digital Transmission - 4.1 DIGITAL-TO-DIGITAL CONVERSION - Line Coding - Line Coding Schemes - Block Coding - Scrambling - 4.2 ANALOG-TO-DIGITAL CONVERSION - Pulse Code Modulation (PCM) - Delta Modulation (DM) - 4.3 TRANSMISSION MODES - Parallel Transmission - Serial Transmission - 4.4 RECOMMENDED READING - Books - 4.5 KEYTERMS - 4.6 SUMMARY - 4.7 PRACTICE SET - Review Questions - Exercises - Chapter 5 Analog TranSl1'lission
    • 5.1 DIGITAL-TO-ANALOG CONVERSION - Aspects of Digital-to-Analog Conversion - Amplitude Shift Keying - Frequency Shift Keying - Phase Shift Keying - Quadrature Amplitude Modulation
  • 5.2 ANALOG-TO-ANALOG CONVERSION - Amplitude Modulation - Frequency Modulation - Phase Modulation
  • 5.3 RECOMMENDED READING xii CONTENTS - Books
  • 5.4 KEY lERMS
  • 5.5 SUMMARY
  • 5.6 PRACTICE SET - Review Questions - Exercises - and Spreading Chapter 6 Ba17chridth Utili::.ation: Multiplexing
  • 6.1 MULTIPLEXING - Frequency-Division Multiplexing - Wavelength-Division Multiplexing - Synchronous Time-Division Multiplexing - Statistical Time-Division Multiplexing
  • 6.2 SPREAD SPECTRUM - Frequency Hopping Spread Spectrum (FHSS) - Direct Sequence Spread Spectrum
  • 6.3 RECOMMENDED READING - Books
  • 6.4 KEY lERMS
  • 6.5 SUMMARY
  • 6.6 PRACTICE SET - Review Questions - Exercises - Chapter 7 Transmission Media
  • 7.1 GUIDED MEDIA - Twisted-Pair Cable - Coaxial Cable - Fiber-Optic Cable
  • 7.2 UNGUIDED MEDIA: WIRELESS - Radio Waves - Microwaves - Infrared
  • 7.3 RECOMMENDED READING - Books
  • 7.4 KEY lERMS
  • 7.5 SUMMARY
  • 7.6 PRACTICE SET - Review Questions - Exercises - Chapter 8 Svvitching
    • 8.1 CIRCUIT-SWITCHED NETWORKS - Three Phases - Efficiency - Delay - Circuit-Switched Technology in Telephone Networks
    • 8.2 DATAGRAM NETWORKS - Routing Table - Efficiency CONTENTS xiii - Delay - Datagram Networks in the Internet
  • 8.3 VIRTUAL-CIRCUIT NETWORKS - Addressing - Three Phases - Efficiency - Delay in Virtual-Circuit Networks - Circuit-Switched Technology in WANs
    • 8.4 STRUCTURE OF A SWITCH - Structure of Circuit Switches - Structure of Packet Switches
    • 8.5 RECOMMENDED READING - Books
    • 8.6 KEY TERMS
    • 8.7 SUMMARY
    • 8.8 PRACTICE SET - Review Questions - Exercises - Transm,ission Chapter 9 Using Telephone and Cable Networks for Data
    • 9.1 1ELEPHONE NETWORK - Major Components - LATAs - Signaling - Services Provided by Telephone Networks
    • 9.2 DIAL-UP MODEMS - Modem Standards
    • 9.3 DIGITAL SUBSCRIBER LINE - ADSL - ADSL Lite - HDSL - SDSL - VDSL - Summary
    • 9.4 CABLE TV NETWORKS - Traditional Cable Networks - Hybrid Fiber-Coaxial (HFC) Network
      • 9.5 CABLE TV FOR DATA TRANSFER - Bandwidth - Sharing - CM and CMTS - Data Transmission Schemes: DOCSIS
      • 9.6 RECOMMENDED READING - Books
      • 9.7 KEY TERMS
      • 9.8 SUMMARY
      • 9.9 PRACTICE SET - Review Questions - Exercises
        • PART 3 Data Link Layer xiv CONTENTS
        • Chapter 10 Error Detection and Correction
  • 10.1 INTRODUCTION - Types of Errors - Redundancy - Detection Versus Correction - Forward Error Correction Versus Retransmission - Coding - Modular Arithmetic
    • 10.2 BLOCK CODING - Error Detection - Error Correction - Hamming Distance - Minimum Hamming Distance
    • 10.3 LINEAR BLOCK CODES - Minimum Distance for Linear Block Codes - Some Linear Block Codes
    • 10.4 CYCLIC CODES - Cyclic Redundancy Check - Hardware Implementation - Polynomials - Cyclic Code Analysis - Advantages of Cyclic Codes - Other Cyclic Codes
    • 10.5 CHECKSUM - Idea - One's Complement - Internet Checksum - Books 10.6 RECOMMENDED READING 30 I - RFCs
    • 10.7 KEY lERMS
    • 10.8 SUMMARY
    • 10.9 PRACTICE SET - Review Questions - Exercises - Chapter 11 Data Link Control
    • 11.1 FRAMING - Fixed-Size Framing - Variable-Size Framing
    • 11.2 FLOW AND ERROR CONTROL - Flow Control - Error Control
    • 11.3 PROTOCOLS
    • 11.4 NOISELESS CHANNELS - Simplest Protocol - Stop-and-Wait Protocol
    • 11.5 NOISY CHANNELS - Stop-and-Wait Automatic Repeat Request - Go-Back-N Automatic Repeat Request
      • Piggybacking Selective Repeat Automatic Repeat Request
      • HDLC
      • Configurations and Transfer Modes
      • Frames
      • Control Field
      • POINT-TO-POINT PROTOCOL
      • Framing
      • Transition Phases
      • Multiplexing
      • Multilink PPP
      • RECOMMENDED READING
      • Books
      • KEY TERMS
      • SUMMARY
      • PRACTICE SET
      • Review Questions
      • Exercises
      • Chapter 12 Multiple Access CONTENTS xv
  • 12.1 RANDOMACCESS - ALOHA - Carrier Sense Multiple Access (CSMA) - Carrier Sense Multiple Access with Collision Detection (CSMAlCD) - Carrier Sense Multiple Access with Collision Avoidance (CSMAlCA)
  • 12.2 CONTROLLED ACCESS - Reservation - Polling - Token Passing
  • 12.3 CHANNELIZATION - Frequency-Division Multiple Access (FDMA) - Time-Division Multiple Access (TDMA) - Code-Division Multiple Access (CDMA)
  • 12.4 RECOMMENDED READING - Books
  • 12.5 KEY TERMS
  • 12.6 SUMMARY
  • 12.7 PRACTICE SET - Review Questions - Exercises - Research Activities - Chapter 13 Wired LANs: Ethernet
  • 13.1 IEEE STANDARDS - Data Link Layer - Physical Layer
  • 13.2 STANDARD ETHERNET - MAC Sublayer - Physical Layer
  • 13.3 CHANGES IN THE STANDARD - Bridged Ethernet - Switched Ethernet - Full-Duplex Ethernet
  • 13.4 FAST ETHERNET xvi CONTENTS - MAC Sublayer - Physical Layer
  • 13.5 GIGABIT ETHERNET - MAC Sublayer - Physical Layer
    • Ten-Gigabit Ethernet
  • 13.6 RECOMMENDED READING - Books
  • 13.7 KEY TERMS
  • 13.8 SUMMARY
  • 13.9 PRACTICE SET - Review Questions - Exercises - Chapter 14 Wireless LANs
  • 14.1 IEEE 802.11 - Architecture - MAC Sublayer - Addressing Mechanism - Physical Layer
  • 14.2 BLUETOOTH - Architecture - Bluetooth Layers - Radio Layer - Baseband Layer - L2CAP - Other Upper Layers - Books 14.3 RECOMMENDED READING 44 I
  • 14.4 KEYTERMS
  • 14.5 SUMMARY
  • 14.6 PRACTICE SET - Review Questions - Exercises - and VirtuaL LANs Chapter 15 Connecting LANs, Backbone Networks,
  • 15.1 CONNECTING DEVICES - Passive Hubs - Repeaters - Active Hubs - Bridges - Two-Layer Switches - Routers - Three-Layer Switches - Gateway
  • 15.2 BACKBONE NETWORKS - Bus Backbone - Star Backbone - Connecting Remote LANs - 15.3 VIRTUAL LANs - Membership - Configuration - Communication Between Switches - IEEE Standard - Advantages - 15.4 RECOMMENDED READING - Books - Site - 15.5 KEY TERMS - 15.6 SUMMARY - 15.7 PRACTICE SET - Review Questions - Exercises - Satellite Networks Chapter 16 Wireless WANs: Cellular Telephone and - 16.1 CELLULAR TELEPHONY - Frequency-Reuse Principle - Transmitting - Receiving - Roaming - First Generation - Second Generation - Third Generation - 16.2 SATELLITE NETWORKS - Orbits - Footprint - Three Categories of Satellites - GEO Satellites - MEO Satellites - LEO Satellites - 16.3 RECOMMENDED READING - Books - 16.4 KEY TERMS
    • 16.5 SUMMARY
    • 16.6 PRACTICE SET - Review Questions - Exercises - Chapter 17 SONETISDH
  • 17.1 ARCHITECTURE - Signals - SONET Devices - Connections
  • 17.2 SONET LAYERS - Path Layer - Line Layer - Section Layer - Photonic Layer - Device-Layer Relationships