Gift Guide

Sams Teach Yourself TCP/IP in 24 Hours [NOOK Book]


In just 24 sessions of one hour or less, you’ll discover how to implement, monitor, and manage a TCP/IP network–even the latest cloud-based and IPv6 networks. Using this book’s straightforward, step-by-step approach, you’ll uncover the essentials of TCP/IP and put that knowledge to work through practical examples. Each lesson builds on what you’ve already learned, giving you a strong real-world foundation for success. Expert author and network engineer Joe Casad guides you from the basics to advanced ...

See more details below
Sams Teach Yourself TCP/IP in 24 Hours

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49 price
(Save 44%)$27.99 List Price


In just 24 sessions of one hour or less, you’ll discover how to implement, monitor, and manage a TCP/IP network–even the latest cloud-based and IPv6 networks. Using this book’s straightforward, step-by-step approach, you’ll uncover the essentials of TCP/IP and put that knowledge to work through practical examples. Each lesson builds on what you’ve already learned, giving you a strong real-world foundation for success. Expert author and network engineer Joe Casad guides you from the basics to advanced techniques—including TCP/IP’s architecture, layers, subnetting, CIDR, routing, security, utilities, remote access, web services, streaming, and much more.

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 how to…

  • Understand what TCP/IP is, and how it works
  • Discover how IPv6 differs from IPv4, and how to migrate or coexist with IPv6
  • Work with TCP/IP’s Network
  • Access, Internet, Transport, and Application layers
  • Implement flexible addressing with subnetting and CIDR
  • Establish efficient and reliable routing
  • Implement name resolution
  • Secure TCP/IP networks—detect and prevent attacks
  • Automatically configure TCP/IP clients and hosts
  • Provide classic TCP/IP services and powerful new Web services
  • Use TCP/IP in advanced cloud-based environments
  • Support efficient media streaming and webcasting
  • Capitalize on the benefits of the new HTML5 standard
  • Run TCP/IP protocols over wireless networks
  • Troubleshoot TCP/IP networks with ping, traceroute, and other tools
  • Provide for monitoring and remote access
  • Deploy efficient email systems with POP3, IMAP4, and SMTP
  • Walk through all facets of implementing a TCP/IP network
Read More Show Less

Editorial Reviews

Featuring 24 one-hour lessons on TCP/IP, this book identifies and describes protocols at each layer, offers instruction on the use of routers and gateways, and provides recommendations for working with IP addresses, TCP/IP networks, utilities, and security. Each lesson builds upon previous lessons. Shortcuts and pitfalls are highlighted. Charts, diagrams, and flow charts are used to illustrate key points. Casad is an engineer. Annotation c. Book News, Inc., Portland, OR (
Read More Show Less

Product Details

  • ISBN-13: 9780132810807
  • Publisher: Pearson Education
  • Publication date: 11/8/2011
  • Series: Sams Teach Yourself
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 5
  • Pages: 500
  • Sales rank: 550,889
  • File size: 16 MB
  • Note: This product may take a few minutes to download.

Meet the Author

Joe Casad is an engineer, author, and editor who has written widely on computer networking and system administration. He has written or cowritten 12 books on computers and networking. He currently serves as editor in chief of Linux Pro Magazine and ADMIN Online. In a past life, he was the editor of C/C++ Users Journal and senior editor of

Read More Show Less

Read an Excerpt

Chapter 1: What Is TCP/IP

TCP/IP is a protocol system-a collection of protocols that support network communications. The answer to the question What is a protocol? must begin with the question What is a network?

This hour describes what a network is and shows why networks need protocols. You'll also learn what TCP/IP is, what it does, and where it began.

At the completion of this hour, you'll be able to

  • Define network
  • Explain what a network protocol suite is
  • Explain what TCP/1P is
  • Discuss the history of TCP/IP
  • List some important features of TCP/1P
  • Identify the organizations that oversee TCP/IP and the Internet
  • Explain what RFCs are and where to find them

Networks and Protocols

A network is a collection of computers or computer-like devices that can communicate across a common transmission medium, as shown in Figure 1. 1.

In a network, requests and data from one computer pass across the transmission medium (which might be a network cable or a phone line) to another computer. In Figure 1.1, computer A must be able to send a message or request to computer B. Computer B must be able to understand computer A's message and respond to it by sending a message back to computer A.

A computer interacts with the world through one or more applications that perform specific tasks and manage input and output. If that computer is part of a network, some of those applications must be capable of communicating with applications on other network computers. A network protocol suite is a system of common rules that helps to define the complex process of transferring data. The data travels from an application on one computer, through the computer's network hardware, across the transmission medium to the correct destination, and up through the destination computer's network hardware to a receiving application (see Figure 1.2).

The protocols of TCP/IP define the network communication process and, more importantly, define how a unit of data should look and what information it should contain so that a receiving computer can interpret the message correctly. TCP/IP and its related protocols form a complete system defining how data should be processed, transmitted, and received on a TCP/IP network. A system of related protocols, such as the TCP/IP protocols, is called a protocol suite.

The actual act of formatting and processing TCP/IP transmissions is performed by a software component that is known as the vendor's implementation of TCP/IP. For instance, Microsoft TCP/IP is a software component that enables Windows NT to process TCP/IPformatted data and thus to participate in a TCP/IP network. As you read this book, be aware of the following distinction:

  • A TCP/IP standard is a system of rules defining communication on TCP/IP networks.
  • A TCP/IP implementation is a software component that performs the
functions that enable a computer to participate in a TCP/IP network. The purpose of the TCP/IP standards is to ensure the compatibility of all TCP/IP implementations regardless of version or vendor.
Read More Show Less

Table of Contents

Introduction 1

Part I: TCP/IP Basics

HOUR 1 : What Is TCP/IP? 7

Networks and Protocols 8

The Development of TCP/IP 10

TCP/IP Features 12

Standards Organizations and RFCs 17

HOUR 2: How TCP/IP Works 23

The TCP/IP Protocol System 24

TCP/IP and the OSI Model 26

Data Packages 28

A Quick Look at TCP/IP Networking 30

Part II: The TCP/IP Protocol System

HOUR 3: The Network Access Layer 37

Protocols and Hardware 38

The Network Access Layer and the OSI Model 39

Network Architecture 40

Physical Addressing 43

Ethernet 43

Anatomy of an Ethernet Frame 45

HOUR 4: The Internet Layer 51

Addressing and Delivering 52

Internet Protocol 54

Address Resolution Protocol 65

Reverse ARP 67

Internet Control Message Protocol 67

Other Internet Layer Protocols 68

HOUR 5: Subnetting and CIDR 73

Subnets 73

Dividing the Network 74

Converting a Subnet Mask to Dotted-Decimal Notation 77

Working with Subnets 79

Classless Interdomain Routing 84

HOUR 6: The Transport Layer 89

Introducing the Transport Layer 90

Transport Layer Concepts 91

Understanding TCP and UDP 97

Firewalls and Ports 107

HOUR 7: The Application Layer 113

What Is the Application Layer? 113

The TCP/IP Application Layer and OSI 114

Network Services 115

APIs and the Application Layer 119

TCP/IP Utilities 120

Part III: Networking with TCP/IP

HOUR 8: Routing 127

Routing in TCP/IP 127

Routing on Complex Networks 139

Examining Interior Routers 141

Exterior Routers: BGP 143

Classless Routing 144

Higher in the Stack 145

HOUR 9: Getting Connected 149

Dial-Up Networking 150

Cable Broadband 156

Digital Subscriber Line 157

Wide Area Networks 158

Wireless Networking 160

Connectivity Devices 169

HOUR 10: Name Resolution 177

What Is Name Resolution? 178

Name Resolution Using Hosts Files 179

DNS Name Resolution 181

Registering a Domain 187

Name Server Types 187

Dynamic DNS 198

NetBIOS Name Resolution 199

HOUR 11: TCP/IP Security 211

What Is a Firewall? 211

Attack Techniques 219

What Do Intruders Want? 220

Encryption and Secrecy 233

HOUR 12: Configuration 255

Getting on the Network 255

The Case for Server-Supplied IP Addresses 256

What Is DHCP? 257

How DHCP Works 258

DHCP Server Configuration 261

Network Address Translation 262

Zero Configuration 264

Configuring TCP/IP 268

HOUR 13: IPv6: The Next Generation 281

Why a New IP? 281

IPv6 Header Format 284

IPv6 Addressing 287

Subnetting 289

Multicasting 289

Link Local 290

Neighbor Discovery 290

Autoconfiguration 291

IPv6 and Quality of Service 291

IPv6 with IPv4 292

IPv6 Tunnels 293

Part IV: Tools

HOUR 14: TCP/IP Utilities 301

Connectivity Problems 302

Protocol Dysfunction and Misconfiguration 302

Line Problems 310

Name Resolution Problems 310

Network Performance Problems 311

HOUR 15: Monitoring and Remote Access 323

Telnet 324

Berkeley Remote Utilities 326

Secure Shell 330

Remote Control 331

Network Management 332

Simple Network Management Protocol 333

Remote Monitoring 338

HOUR 16: Classic Services 345

HTTP 346

Email 347

FTP 347

Trivial File Transfer Protocol 352

File and Print Services 352

Lightweight Directory Access Protocol 355

Part V: The Internet

HOUR 17: The Internet: A Closer Look 365

How the Internet Looks 365

What Happens on the Internet 368

URIs and URLs 370

HOUR 18: HTTP, HTML, and the World Wide Web 375

What Is the World Wide Web? 375

Understanding HTML 378

Understanding HTTP 384

Scripting 387

Web Browsers 390

HOUR 19: The New Web 397

Web 2.0 397

Peer to Peer 402

IRC and IM 404

The Semantic Web 406


HTML5 409

Part VI: TCP/IP At Work

HOUR 20: Web Services 421

Understanding Web Services 421

XML 424

SOAP 425

WSDL 426

Web Service Stacks 427

REST 428

E-Commerce 431

HOUR 21: Email 437

What Is Email? 437

Email Format 438

How Email Works 440

Simple Mail Transfer Protocol 442

Retrieving the Mail 444

Email Clients 446

Webmail 449

Spam 450

HOUR 22: Streaming and Casting 457

The Streaming Problem 457

Multimedia Environments 459

Real-time Transport Protocol 459

Transport Options 462

Multimedia Links 463

Podcasting 465

Voice over IP 466

HOUR 23: Living in the Cloud 471

What Is the Cloud? 471

The User’s Cloud 472

The IT Cloud 478

Future of Computing 484

HOUR 24: Implementing a TCP/IP Network: 7 Days in the Life of a Sys Admin 487

A Brief History of Hypothetical, Inc. 487

7 Days in the Life of Maurice 488

APPENDIX A: Answers to Quizzes and Exercises 501


Read More Show Less



Welcome to Sams Teach Yourself TCP/IP in 24 Hours, Fourth Edition. This book provides a clear and concise introduction to TCP/IP for newcomers, and also for users who have worked with TCP/IP but would like a little more of the inside story. The fourth edition includes new material on recent developments in TCP/IP and offers a closer look at topics such as

  • Firewalls
  • Streaming
  • Web services

You'll find new chapters on casting and streaming, web services, and the new Web, as well as several new sections throughout the book on recent developments in TCP/IP.

Does Each Chapter Take an Hour?

Each chapter is organized so that you can learn the concepts within one hour. The chapters are designed to be short enough to read all at once. In fact, you should be able to read a chapter in less than one hour and still have time to take notes and reread more complex sections in your one-hour study session.

How to Use This Book

The books in the Sams Teach Yourself series are designed to help you learn a topic in a few easy and accessible sessions. Sams Teach Yourself TCP/IP in 24 Hours, Fourth Edition, is divided into six parts. Each part brings you a step closer to mastering the goal of proficiency in TCP/IP.

  • Part I, "TCP/IP Basics," introduces you to TCP/IP and the TCP/IP protocol stack.
  • Part II, "The TCP/IP Protocol System," takes a close look at each of TCP/IP's protocol layers: the Network Access, Internet, Transport, and Application layers. You learn about IP addressing and subnetting, as well as physical networks and application services. You'll also learn about the protocols that operate at each of TCP/IP's layers.
  • Part III, "Networking with TCP/IP," describes some of the devices, services, and utilities necessary for supporting TCP/IP networks. You learn about routing and network hardware, DHCP, DNS, and IPv6.
  • Part IV, "TCP/IP Utilities," introduces some of the common utilities used to configure, manage, and troubleshoot TCP/IP networks. You learn about Ping, Netstat, FTP, Telnet, and other network utilities.
  • Part V, "TCP/IP and the Internet," describes the world's largest TCP/IP network: the Internet. You learn about the structure of the Internet. You also learn about HTTP, HTML, XML, email, and Internet streaming.
  • Part VI, "Advanced Topics," describes topics such as web services, messaging, the semantic web, and TCP/IP security. Part VI ends with a case study showing how the components of TCP/IP interact in a real working environment.

The concepts in this book, like TCP/IP itself, are independent of a system and descend from the standards defined in Internet Requests for Comment (RFCs).

How This Book Is Organized

Each hour in Sams Teach Yourself TCP/IP in 24 Hours, Fourth Edition, begins with a quick introduction and a list of goals for the hour. You can also find the following elements.

Main Section

Each hour contains a main section that provides a clear and accessible discussion of the hour's topic. You'll find figures and tables helping to explain the concepts described in the text. Interspersed with the text are special notes labeled By The Way? These notes come with definitions, descriptions, or warnings that help you build a better understanding of the material.

Note - These boxes clarify a concept that is discussed in the text. A By The Way might add some additional information or provide an example, but they typically aren't essential for a basic understanding of the subject. If you're in a hurry, or if you want to know only the bare essentials, you can bypass these sidebars.


Each hour ends with some questions designed to help you explore and test your understanding of the concepts described in the hour. Complete answers to the questions are also provided.

Note - Additionally, some hours include Workshops—exercises designed to help you through the details or give you practice with a particular task. You'll find them only in hours where a little real-world exploration will help build a better understanding of the material. Even if you don't have the necessary software and hardware to undertake some of the exercises in the Workshop, you might benefit from reading through the exercises to see how the tools work in a real network implementation.

Key Terms

Each hour includes a summary of important key terms that are introduced in the hour. The key terms are compiled into an alphabetized list at the end of each hour.

© Copyright Pearson Education. All rights reserved.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 8 Customer Reviews
  • Anonymous

    Posted March 30, 2005

    Teach yourself... but some help can be useful

    The book covers all the basics but sometimes some previous knowledge seem to be assumed, whereas other topics are covered from the very beginning. (BTW I own the Dutch version). E.g. there is a really good introduction to the binary system but in the chapter about subnets the book talks about some calculations and give examples but doesn't tell HOW the calculation has to be done, from another book I guess it is a binary AND operation. The scheme with the ip-headerfield is not very clear either, especially the upper row with the zeroes and ones in it. It took some time for me to find out they were just the first part of a decimal number 10 !

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 25, 2001

    Not a great book but fairly simple to understand

    I think the book is fairly easy to comprehend. This is also after spending a week on a TCP/IP portion of a CCNA course. This book would be a great walkthrough though if u wanted to set up a network at home.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 22, 2000

    Very badly written and hard to understand

    If you already have a college degree in TCP/IP this book might be of interest, but if you are looking for a book that will be of help to a non-expert this book isn't it. The chapters are written in a very confused way. At one point you think the author is talking to a child with overly simplistic language, then at the next moment he will throw in some advanced mathamatics that will completely lose you. You end up not understanding anything about the subject that you didn't know to begin with. I highly recommend looking elsewhere for a good introduction to TCP/IP.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 29, 2000

    Great for beginners

    This book gives you an overview of tcp/ip and really prepares you for moving on to other intermediate/advanced books such as TCP/IP Illustrated and many others.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Posted December 7, 2011

    I Also Recommend:

    Not bad, Errata, Nothing Changed

    There is nothing changed between 4th edition and this 5th edition. On first page, few words are missing from sentences. 1st page - errata!

    Sometimes the Author communicate in fair English and sometimes in more technical standard. Particularly in dealing with Sub-nets, IP address, I've to spend sometime on Wiki to understand it.

    For absolute beginners, this is not a essential book. I suggest this book: Microsoft Windows Networking Essentials

    For full depth details on TCP/IP or Other Protocols, go with other books.

    Was this review helpful? Yes  No   Report this review
  • Posted February 23, 2009

    more from this reviewer

    Understanding TCP/IP

    Good Info for those want to know a little more about networking.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 4, 2001

    Wasted hours (unless you are already familiar with TCP/IP)

    In my opinion, the book is not a good introduction for beginners. There is no clear picture of TCP/IP architecture, some terms are used before they are defined, etc. <br>Here is a test for a potential buyer. Open it on the page 25 ('TCP/IP and OSI model') and try to understand how TCP/IP and OSI models are really related. If you succeed, buy the book and good luck (but in this case you are most likely not a beginner).

    0 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted May 12, 2010

    No text was provided for this review.

Sort by: Showing all of 8 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)