You are previewing Sams Teach Yourself TCP/IP in 24 Hours, Fourth Edition.
O'Reilly logo
Sams Teach Yourself TCP/IP in 24 Hours, Fourth Edition

Book Description

In just 24 lessons of one hour or less, you will uncover the inner workings of TCP/IP. Using a straightforward, step-by-step approach, each lesson builds on the previous ones, enabling you to learn the essentials of TCP/IP from the ground up.

Practical discussions provide an inside look at TCP/IP components and protocols. 

Step-by-step instructions walk you through many common tasks.  

Q&As at the end of each hour help you test your knowledge. 

Notes and tips point out shortcuts and solutions and help you steer clear of potential problems.

If you're looking for a smart, concise introduction to the protocols that power the Internet, start your clock and look inside. Sams Teach Yourself TCP/IP in 24 Hours is your guide to the secrets of TCP/IP.

Learn about...

  • Protocols at each layer of the TCP/IP stack

  • Routers and gateways

  • IP addressing

  • Subnetting TCP/IP networks

  • Name resolution techniques

  • TCP/IP utilities such as ping and traceroute

  • TCP/IP over wireless networks

  • IP version 6

  • The World Wide Web and how it works

  • TCP/IP mail protocols such as POP3, IMAP4, and SMTP

  • Casting, streaming, and automation

  • Web services

  • Detecting and stopping network attacks

  • Part I: TCP/IP Basics

    Hour 1   What Is TCP/IP? 7

    Hour 2   How TCP/IP Works 21

    Part II: The TCP/IP Protocol System

    Hour 3   The Network Access Layer 35

    Hour 4   The Internet Layer 47

    Hour 5   Subnetting and CIDR 69

    Hour 6   The Transport Layer 83

    Hour 7   The Application Layer 107

    Part III: Networking with TCP/IP

    Hour 8    Routing 121

    Hour 9    Getting Connected 143

    Hour 10   Firewalls 175

    Hour 11   Name Resolution 185

    Hour 12   Automatic Configuration 215

    Hour 13   IPv6--The Next Generation 229

    Part IV: TCP/IP Utilities

    Hour 14   TCP/IP Utilities 243

    Hour 15   Monitoring and Remote Access 275

    Part V: TCP/IP and the Internet

    Hour 16   The Internet: A Closer Look 297

    Hour 17   HTTP, HTML, and the World Wide Web 305

    Hour 18   Email 321

    Hour 19   Streaming and Casting 339

    Part VI: Advanced Topics

    Hour 20   Web Services 353

    Hour 21   The New Web 363

    Hour 22   Network Intrusion 375

    Hour 23   TCP/IP Security 391

    Hour 24   Implementing a TCP/IP Network--Seven Days in the Life of a Sys Admin 413

    Index

    Table of Contents

    1. Copyright
    2. About the Author
    3. Acknowledgments
    4. We Want to Hear from You!
    5. Reader Services
    6. Introduction
      1. Does Each Chapter Take an Hour?
      2. How to Use This Book
      3. How This Book Is Organized
      4. Key Terms
    7. TCP/IP Basics
      1. What Is TCP/IP?
        1. Networks and Protocols
        2. The Development of TCP/IP
        3. TCP/IP Features
        4. Standards Organizations and RFCs
        5. Summary
        6. Q&A
        7. Key Terms
      2. How TCP/IP Works
        1. The TCP/IP Protocol System
        2. TCP/IP and the OSI Model
        3. Data Packages
        4. A Quick Look at TCP/IP Networking
        5. Summary
        6. Q&A
        7. Key Terms
    8. The TCP/IP Protocol System
      1. The Network Access Layer
        1. Protocols and Hardware
        2. The Network Access Layer and the OSI Model
        3. Network Architecture
        4. Physical Addressing
        5. Ethernet
        6. Anatomy of an Ethernet Frame
        7. Summary
        8. Q&A
        9. Key Terms
      2. The Internet Layer
        1. Addressing and Delivering
        2. Internet Protocol (IP)
        3. Address Resolution Protocol (ARP)
        4. Reverse ARP (RARP)
        5. Internet Control Message Protocol (ICMP)
        6. Other Internet Layer Protocols
        7. Summary
        8. Q&A
        9. Workshop
        10. Key Terms
      3. Subnetting and CIDR
        1. Subnets
        2. Dividing the Network
        3. Converting a Subnet Mask to Dotted Decimal Notation
        4. Working with Subnets
        5. Classless Internet Domain Routing (CIDR)
        6. Summary
        7. Q&A
        8. Key Terms
      4. The Transport Layer
        1. Introducing the Transport Layer
        2. Transport Layer Concepts
        3. Understanding TCP and UDP
        4. Firewalls and Ports
        5. Summary
        6. Q&A
        7. Key Terms
      5. The Application Layer
        1. What Is the Application Layer?
        2. The TCP/IP Application Layer and OSI
        3. Network Services
        4. APIs and the Application Layer
        5. TCP/IP Utilities
        6. Summary
        7. Q&A
        8. Key Terms
    9. Networking with TCP/IP
      1. Routing
        1. Routing in TCP/IP
        2. Routing on Complex Networks
        3. Examining Interior Routers
        4. Classless Routing
        5. Higher in the Stack
        6. Summary
        7. Q&A
        8. Key Terms
      2. Getting Connected
        1. Dial-Up Networking
        2. Cable Broadband
        3. Digital Subscriber Line (DSL)
        4. Wide Area Networks (WANs)
        5. Wireless Networking
        6. Connectivity Devices
        7. Summary
        8. Q&A
        9. Key Terms
      3. Firewalls
        1. What Is a Firewall?
        2. Firewall Options
        3. The DMZ
        4. Firewall Rules
        5. Proxy Service
        6. Reverse Proxy
        7. Summary
        8. Q&A
        9. Key Terms
      4. Name Resolution
        1. What Is Name Resolution?
        2. Name Resolution Using Hosts Files
        3. DNS Name Resolution
        4. Registering a Domain
        5. Managing DNS
        6. Dynamic DNS
        7. NetBIOS Name Resolution
        8. Summary
        9. Q&A
        10. Workshop
        11. Key Terms
      5. Automatic Configuration
        1. The Case for Server-Supplied IP Addresses
        2. What Is DHCP?
        3. How DHCP Works
        4. Configuring DHCP
        5. DHCP Server Configuration
        6. Network Address Translation (NAT)
        7. Zero Configuration
        8. Summary
        9. Q&A
        10. Key Terms
      6. IPv6—The Next Generation
        1. Why a New IP?
        2. IPv6 Header Format
        3. IPv6 Addressing
        4. IPv6 with IPv4
        5. IPv6 and Quality of Service (QoS)
        6. Summary
        7. Q&A
        8. Key Terms
    10. TCP/IP Utilities
      1. TCP/IP Utilities
        1. Connectivity Problems
        2. Protocol Dysfunction and Misconfiguration
        3. Line Problems
        4. Name Resolution Problems
        5. Network Performance Problems
        6. Using Connectivity Utilities to Troubleshoot Problems
        7. File Transfer Protocol (FTP)
        8. Trivial File Transfer Protocol (TFTP)
        9. Remote Copy
        10. Integrating Network File Access
        11. Summary
        12. Q&A
        13. Workshop
        14. Key Terms
      2. Monitoring and Remote Access
        1. Telnet
        2. Berkeley Remote Utilities
        3. Secure Shell (SSH)
        4. Screen Sharing
        5. Simple Network Management Protocol
        6. Remote Monitoring
        7. Summary
        8. Q&A
        9. Key Terms
    11. TCP/IP and the Internet
      1. The Internet: A Closer Look
        1. How the Internet Looks
        2. What Happens on the Internet
        3. URIs and URLs
        4. Summary
        5. Q&A
        6. Key Terms
      2. HTTP, HTML, and the World Wide Web
        1. What Is the World Wide Web?
        2. Understanding HTML
        3. Understanding HTTP
        4. Dynamic HTML
        5. Summary
        6. Q&A
        7. Key Terms
      3. Email
        1. What Is Email?
        2. Email Format
        3. How Email Works
        4. Simple Mail Transfer Protocol (SMTP)
        5. Retrieving the Mail
        6. Email Readers
        7. Webmail
        8. Spam
        9. Summary
        10. Q&A
        11. Workshop
        12. Key Terms
      4. Streaming and Casting
        1. The Streaming Problem
        2. Realtime Transport Protocol (RTP)
        3. Transport Options
        4. Multimedia Links
        5. Podcasting
        6. Voice Over IP (VoIP)
        7. Summary
        8. Q&A
        9. Key Terms
    12. Advanced Topics
      1. Web Services
        1. Understanding Web Services
        2. XML
        3. SOAP
        4. WSDL
        5. Web Service Stacks
        6. E-Commerce
        7. Summary
        8. Q&A
        9. Key Terms
      2. The New Web
        1. Web 2.0
        2. XHTML
        3. Peer-to-Peer
        4. IRC and Instant Messaging
        5. The Semantic Web
        6. Summary
        7. Q&A
        8. Key Terms
      3. Network Intrusion
        1. Vandals and Cyber-Crooks
        2. What Do Intruders Want?
        3. Root Access
        4. Going Phishing
        5. Denial-of-Service Attacks
        6. Summary
        7. Key Terms
      4. TCP/IP Security
        1. Encryption
        2. Securing TCP/IP
        3. Virtual Private Networks (VPNs)
        4. Kerberos
        5. Summary
        6. Q&A
        7. Key Terms
      5. Implementing a TCP/IP Network—Seven Days in the Life of a Sys Admin
        1. A Brief History of Hypothetical, Inc.
        2. Seven Days in the Life of Maurice
        3. Summary
        4. Q&A
    13. Inside Back Cover