TCP/IP First-Step By Mark A Sportack Publisher : Cisco Press Pub Date : December 03, 2004 ISBN : 1-58720-108-9 Pages : 432 Your first step into the world of TCP/IP No TCP/IP experience required Includes clear and easily understood explanations Makes learning easy Your first step to understanding TCP/IP begins here! Table of • Contents • Index Learn TCP/IP basics Discover the power of TCP/IP components and subcomponents Use hands-on activities to understand TCP/IP Benefit from examples that illustrate the power of TCP/IP Welcome to the world of TCP/IP! TCP/IP is the world's de facto communications protocol It is the official protocol of the Internet and, consequently, has become the predominant communications protocol suite in many private networks and internetworks No TCP/IP experience needed! TCP/IP First-Step explores TCP/IP concepts in a reader-friendly manner that assumes no previous experience Learn about packetized data transfer, open networking, reference models, and standards bodies Understand the architecture of the TCP/IP protocol suite and learn about its components, functions, and respective uses TCP/IP First-Step helps you understand TCP/IP's role in the network Learn more about the First-Step Series at www.ciscopress.com/firststep TCP/IP First-Step By Mark A Sportack Publisher : Cisco Press Pub Date : December 03, 2004 Table of ISBN : 1-58720-108-9 • Contents Pages : 432 • Index Copyright About the Author About the Technical Reviewers Acknowledgments Introduction Goals of This Book Who Should Read This Book How This Book Is Organized Stuff You'll Find in This Book Part I Introduction and Architecture Chapter 1 TCP/IP: The Official Protocol of the Internet! What Is TCP/IP? The Abilities and Limitations of TCP/IP Chapter Summary Chapter Review Questions Chapter 2 What Has TCP/IP Done for Me Lately? Business and Pleasure? What's the Secret? Chapter Summary Chapter Review Questions Chapter 3 The Quest for Freedom of Choice Open or Closed? How Do You Not Keep a Secret? Speaking of Political Committees… Gotcha! Chapter Summary Chapter Review Questions Chapter 4 TCP/IP: The Networking Protocol That Changed the World The Official Protocol of the Internet Inside the Tool Box The Big Picture Chapter Summary Chapter Review Questions Part II Protocols: The Building Blocks of TCP/IP Chapter 5 Peeking Under the Covers Tools of the Trade A Closer Look at Port Numbers Chapter Summary Chapter Review Questions Chapter 6 Pushing the Envelope The Life of a Packet The Numbers Game The Architecture of an IP Address Learning to Count All Over Again Using IP Addresses Chapter Summary Chapter Review Questions Chapter 7 More Fun with IP Addresses Subdivision: It's Not Just for Real Estate Subnetting a Network Mystery Behind the Mask Chapter Summary Chapter Review Questions Chapter 8 Guaranteed Delivery: Your Package Will Get Delivered…Eventually! Reliability and Networking Multitasking with TCP Chapter Summary Chapter Review Questions Chapter 9 Best-Effort Delivery: It's Now or Never! User Datagram Protocol Yeah, but What's It Good For? UDPIn Action! Chapter Summary Chapter Review Questions Part III Network Services: Making Your Network Easy to Use Chapter 10 Special Delivery for Special Messages ICMP: A Protocol for System Messages Using ICMP Chapter Summary Chapter Review Questions Chapter 11 How Do I Get There from Here? Routers Route! Calculating Routes Chapter Summary Chapter Review Questions Part IV User Services: Making the Most Use of Your Network Chapter 12 Connecting to TCP/IP Networks Anatomy of a Local-Area Network Configuring a Network Connection Chapter Summary Chapter Review Questions Chapter 13 Smiling and Dialing What, Exactly, Is the Internet? More Power! What's the Story with Dial-Up Connections? Configuring a Dial-Up Connection Chapter Summary Chapter Review Questions Chapter 14 Taking the Next Step Information, Please! TCP/IP's Bugshooting Tools Tracking Down Problems Beyond Your Control Chapter Summary Chapter Review Questions Part V Appendix Appendix A Chapter Review Answers Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Glossary A B C D E F H I L M N O P R S T U V W Index Copyright Copyright© 2005 Cisco Systems, Inc Published by: Cisco Press 800 East 96th Street Indianapolis, IN 46240 USA All rights reserved No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without written permission from the publisher, except for the inclusion of brief quotations in a review Printed in the United States of America 1 2 3 4 5 6 7 8 9 0 First Printing December 2004 Library of Congress Cataloging-in-Publication Number: 2003109693 Warning and Disclaimer This book is designed to provide information about the basics of TCP/IP Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied The information is provided on an "as is" basis The authors, Cisco Press, and Cisco Systems, Inc shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the discs or programs that may accompany it The opinions expressed in this book belong to the author and are not necessarily those of Cisco Systems, Inc Trademark Acknowledgments All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized Cisco Press or Cisco Systems, Inc cannot attest to the accuracy of this information Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark Credits Publisher John Wait Editor-in-Chief John Kane Cisco Representative Anthony Wolfenden Cisco Press Program Manager Nannette M Noble Executive Editor Jim Schachterle Production Manager Patrick Kanouse Development Editor Grant Munroe Senior Project Editor San Dee Phillips Copy Editor Tonya Cupp Technical Editors Henry Benjamin Ron Kovac David Kurtiak Editorial Assistant Tammi Barnett Cover and Book Designer Louisa Adair Compositor Mark Shirar Indexer Tim Wright Proofreader Katherin Bidwell Corporate and Government Sales Cisco Press offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales For more information please contact: U.S Corporate and Government Sales 1-800-382-3419 corpsales@pearsontechgroup.com For sales outside the U.S please contact: International Sales international@pearsoned.com Feedback Information At Cisco Press, our goal is to create in-depth technical books of the highest quality and value Each book is crafted with care and precision, undergoing rigorous development that involves the unique expertise of members from the professional technical community Readers' feedback is a natural continuation of this process If you have any comments regarding how we could improve the quality of this book, or otherwise alter it to better suit your needs, you can contact us through email at feedback@ciscopress.com Please make sure to include the book title and ISBN in your message We greatly appreciate your assistance Corporate Headquarters Cisco Systems, Inc 170 West Tasman Drive San Jose, CA 95134-1706 USA www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 European Headquarters Cisco Systems International BV Haarlerbergpark Haarlerbergweg 13-19 1101 CH Amsterdam The Netherlands www-europe.cisco.com Tel: 31 0 20 357 1000 Fax: 31 0 20 357 1100 Americas Headquarters Cisco Systems, Inc 170 West Tasman Drive San Jose, CA 95134-1706 USA www.cisco.com Tel: 408 526-7660 Fax: 408 527-0883 Asia Pacific Headquarters Cisco Systems, Inc Capital Tower 168 Robinson Road #22-01 to #29-01 Singapore 068912 www.cisco.com Tel: +65 6317 7777 Fax: +65 6317 7799 Cisco Systems has more than 200 offices in the following countries and regions Addresses, phone numbers, and fax numbers are listed on the Cisco.com Web site at www.cisco.com/go/offices Argentina • Australia • Austria • Belgium • Brazil • Bulgaria • Canada • Chile • China PRC • Colombia • Costa Rica • Croatia • Czech Republic • Denmark • Dubai, UAE • Finland • France • Germany • Greece • Hong Kong SAR • Hungary • India • Indonesia • Ireland • Israel • Italy • Japan • Korea • Luxembourg • Malaysia • Mexico • The Netherlands • New Zealand • Norway • Peru • Philippines • Poland • Portugal • Puerto Rico • Romania • Russia • Saudi Arabia • Scotland • Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] packet FIN packets 2nd forwarding 2nd IP checksum algorithm encapsulation 2nd frames TTL unicast padding padding field (IP) Parameter Problem messages (ICMP) 2nd PARC (Palo Alto Research Center) payload payload field (IP) payload field (UDP) ping 2nd ping command 2nd 3rd 4th policy-based routing port number port numbers 2nd 3rd 4th dynamic private registered UDP 2nd well-known 2nd ports POTS 2nd asymmetric cable solutions 2nd asymmetric cables solutions 2nd dial-up connections configuring 2nd 3rd 4th 5th 6th 7th 8th 9th 10th 11th 12th modems bandwidth 2nd trunk lines priority handling private port numbers process/application layer 2nd Project 802 Project 802 reference model propagation delay proprietary architecture proprietary technologies creating through open standards Protocol field (IP) protocols 2nd PSH field Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] real-time video receiving data with UDP 2nd redirect messages (ICMP) 2nd 3rd reference models 2nd 3rd 4th consensus-building process IEEE OSI reference model 2nd layers 2nd 3rd logical adjacencies registered port numbers reliability of communications of data delivery reliable delivery 2nd 3rd reliable transport mechanisms TCP resequencing Reserved field (TCP) Reset Connections errors (ICMP) RFCs (Requests for Comments) routers 2nd and IP addresses functions of forwarding packets 2nd in single-router networks 2nd functions performed 2nd software-based subnetting routing policy-based routing protocols best path determination 2nd 3rd cost 2nd distance-vector best path determination 2nd 3rd 4th link-state best path determination 2nd 3rd 4th 5th routing tables RTT (round trip time) Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] Security Tab (Network Setup Wizard) 2nd segmentation and reassembly segments 2nd 3rd 4th maximum size of 2nd selecting access technologies selecting an ISP 2nd sequence number field (TCP) sequence numbers 2nd 3rd 4th sessions TCP 2nd 3rd 4th 5th 6th timed out packets shared networks single-router networks 2nd sliding windows 2nd sockets 2nd software closed technologies consumer benefits of manufacturer's benefits of 2nd functions categorizing interoperability 2nd open technologies 2nd software development open standards 2nd functional abstraction 2nd 3rd software-based routers source port field (TCP) source port field (UDP) Source Quench errors (ICMP) source quench messages (ICMP) 2nd sourceIP address field (IP) standards open standards manufacturer's benefits of reference models 2nd 3rd IEEE reference model OSI reference model 2nd 3rd 4th 5th 6th standards bodies consensus-building process EIA/TIA 2nd categories of performance IEEE 2nd IETF 2nd RFCs 2nd subnet masks 2nd 3rd FLSM VLSM 2nd subnetting 2nd 3rd 4th benefits of binary representation 2nd decimal masks 2nd 3rd extended network prefix limitations of masks network address network masks subnet masks 2nd FLSM VLSM 2nd subnetwork address subnetwork address subnetworks switches versus hubs system messages ICMP 2nd 3rd destination unreachable messages 2nd Echo messages fields 2nd message types 2nd Parameter Problem messages 2nd redirect messages 2nd 3rd source quench messages 2nd Time Exceeded messages Timestamp messages system-level processes Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] TCP 2nd 3rd header fields 2nd multitasking port numbers 2nd 3rd 4th 5th dynamic private registered well-known 2nd reliability of segments 2nd 3rd maximum size of 2nd sequence numbers 2nd 3rd 4th sessions 2nd 3rd 4th 5th 6th 7th timed out packets sliding windows 2nd three-way handshakes 2nd versus UDP 2nd window size TCP (Transmission Control Protocol) three-way handshakes 2nd Tier 3 ISPs Time Exceeded messages (ICMP) timed out packets timely communications 2nd 3rd Timestamp messages (ICMP) tools [See utilities] ToS field (IP) Total Length (IP) tracert 2nd tracert command 2nd transmission media coaxial cable twisted-pair wire 2nd wireless 2nd benefits of disadvantages of 2nd transmitting data with UDP 2nd transport layer best-effort delivery 2nd TCP 2nd header information 2nd 3rd 4th 5th UDP 2nd 3rd 4th 5th 6th header fields 2nd header information 2nd 3rd 4th 5th 6th 7th 8th port numbers 2nd real-time video receiving data 2nd transmitting audio transmitting data 2nd transmitting video 2nd troubleshooting IP address ping command 2nd tracert command 2nd ipconfig command 2nd 3rd 4th netstat utility 2nd -e option 2nd 3rd -s option 2nd 3rd 4th ping command 2nd web browsers 2nd 3rd whois command 2nd 3rd ARIN database 2nd InterNIC database 2nd Trouting protocols best path determination trunk lines TTL (Time-To-Live) TTL field (IP) twisted-pair wire 2nd type indicator field (ICMP messages) Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] ubiquitous nature of TCP/IP UDP 2nd 3rd 4th best-effort delivery 2nd latency propagation delay header fields 2nd header information 2nd 3rd 4th 5th 6th 7th 8th port numbers 2nd receiving data 2nd transmitting audio transmitting data 2nd transmitting video 2nd real-time versus TCP 2nd unicast packets universality of TCP/IP urgent packets priority handling USB (Universal Serial Bus) cable utilities ipconfig 2nd 3rd 4th netstat -e option 2nd 3rd -s option 2nd 3rd 4th troubleshooting TCP/IP 2nd ping 2nd ping command 2nd tracert command 2nd whois 2nd 3rd ARIN database 2nd InterNIC database 2nd utilities supported by TCP/IP 2nd application tools 2nd TCP 2nd 3rd UDP 2nd network tools IP 2nd 3rd Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] versatility of TCP/IP Version field (IP) video real-time transmitting with UDP 2nd viewing ICMP statistics 2nd 3rd VLSM (variable-length subnet masking) 2nd VoIP Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] WANs routers web browsers troubleshooting TCP/IP 2nd 3rd well-known port numbers 2nd 3rd whois command 2nd 3rd 4th ARIN database 2nd InterNIC database 2nd window size (TCP) Window size field (TCP) wire-based networks 2nd benefits of 2nd coaxial cable connecting to 2nd 3rd disadvantages of twisted-pair wire 2nd Wireless A Wireless B Wireless G wireless networks 2nd benefits of connecting to 2nd 3rd disadvantages of 2nd firewalls enabling 2nd wizards ... ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Empowering the Internet... TCP/IP First- Step By Mark A Sportack Publisher : Cisco Press Pub Date : December 03, 2004 Table of ISBN : 1-58720-108-9 • Contents Pages : 432 • Index... Zimbabwe Copyright © 2003 Cisco Systems, Inc All rights reserved CCIP, CCSP, the Cisco Arrow logo, the Cisco Powered Network mark, the Cisco Systems Verified logo, Cisco Unity, Follow Me Browsing, FormShare, iQ Net Readiness Scorecard, Networking