ebook img

The ABCs of IP Addressing PDF

212 Pages·2002·3.96 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview The ABCs of IP Addressing

The ABCs of IP Addressing OTHER AUERBACH PUBLICATIONS ABCs of IP Addressing Information Security Risk Analysis Gilbert Held Thomas Peltier ISBN: 0-8493-1144-6 ISBN: 0-8493-0880-1 Application Servers for E-Business Information Technology Control Lisa M. Lindgren and Audit ISBN: 0-8493-0827-5 Frederick Gallegos, Sandra Allen-Senft, and Daniel P. Manson Architectures for e-Business ISBN: 0-8493-9994-7 Sanjiv Purba, Editor ISBN: 0-8493-1161-6 Integrating ERP, CRM, Supply Chain Management, and Smart Materials A Technical Guide to IPSec Virtual Dimitris N. Chorafas Private Networks ISBN: 0-8493-1076-8 James S. Tiller ISBN: 0-8493-0876-3 New Directions in Internet Management Building an Information Security Sanjiv Purba, Editor Awareness Program ISBN: 0-8493-1160-8 Mark B. Desman ISBN: 0-8493-0116-5 New Directions in Project Management Paul C. Tinnirello, Editor Computer Telephony Integration ISBN: 0-8493-1190-X William Yarberry, Jr. ISBN: 0-8493-9995-5 Oracle Internals: Tips, Tricks, and Techniques for DBAs Cyber Crime Field Handbook Donald K. Burleson, Editor Bruce Middleton ISBN: 0-8493-1139-X ISBN: 0-8493-1192-6 Practical Guide to Security Engineering Enterprise Systems Architectures and Information Assurance Mark Goodyear, Editor Debra Herrmann ISBN: 0-8493-9836-3 ISBN: 0-8493-1163-2 Enterprise Systems Integration, TCP/IP Professional Reference Guide 2nd Edition Gilbert Held Judith Myerson ISBN: 0-8493-0824-0 ISBN: 0-8493-1149-7 Roadmap to the e-Factory Information Security Architecture Alex N. Beavers, Jr. Jan Killmeyer Tudor ISBN: 0-8493-0099-1 ISBN: 0-8493-9988-2 Securing E-Business Applications and Information Security Management Communications Handbook, 4th Edition, Volume 2 Jonathan S. Held Harold F. Tipton and Micki Krause, Editors John R. Bowers ISBN: 0-8493-0800-3 ISBN: 0-8493-0963-8 Information Security Management Handbook, 4th Edition, Volume 3 Harold F. Tipton and Micki Krause, Editors ISBN: 0-8493-1127-6 Information Security Policies, Procedures, and Standards: Guidelines for Effective Information Security Thomas Peltier ISBN: 0-8493-1137-3 AUERBACH PUBLICATIONS www.auerbach-publications.com To Order: Call: 1-800-272-7737 • Fax: 1-800-374-3401 E-mail: [email protected] The ABCs of IP Addressing GILBERT HELD AUERBACH PUBLICATIONS A CRC Press Company Boca Raton London New York Washington, D.C. AU1144_ FM*_fm Page iv Thursday, October 11, 2001 1:19 PM Library of Congress Cataloging-in-Publication Data Held, Gilbert, 1943- The ABCs of IP addressing / Gilbert Held. p. cm. Includes index. ISBN 0-8493-1144-6 (alk. paper) 1. TCP/IP (Computer network protocol) 2. Internet addresses. 3. Directory services (Computer network technology) I. Title. TK105.585 H44694 2001 004.6'2—dc21 2001046273 This book contains information obtained from authentic and highly regarded sources. Reprinted material is quoted with permission, and sources are indicated. A wide variety of references are listed. Reasonable efforts have been made to publish reliable data and information, but the author and the publisher cannot assume responsibility for the validity of all materials or for the consequences of their use. Neither this book nor any part may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, microfilming, and recording, or by any information storage or retrieval system, without prior permission in writing from the publisher. The consent of CRC Press LLC does not extend to copying for general distribution, for promotion, for creating new works, or for resale. Specific permission must be obtained in writing from CRC Press LLC for such copying. Direct all inquiries to CRC Press LLC, 2000 N.W. Corporate Blvd., Boca Raton, Florida 33431. Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are used only for identification and explanation, without intent to infringe. Visit the Auerbach Web site at www.auerbach-publications.com © 2002 by CRC Press LLC Auerbach is an imprint of CRC Press LLC No claim to original U.S. Government works International Standard Book Number 0-8493-1144-6 Library of Congress Card Number 2001046273 Printed in the United States of America 1 2 3 4 5 6 7 8 9 0 Printed on acid-free paper AU1144_ FM*_fm Page v Thursday, October 11, 2001 1:19 PM Dedication Teaching represents a learning process for the instructor. For this opportunity, which has been provided to me over the past decade, I would be remiss if I did not acknowledge the students of Georgia College and State University who provide a learning laboratory for the presentation of technical information. I also thank Dr. Harry Glover for providing me with the opportunity to teach graduate school at Georgia College and State University. v AU1144_ FM*_fm Page vi Thursday, October 11, 2001 1:19 PM AU1144_ FM*_fm Page vii Thursday, October 11, 2001 1:19 PM Contents 1 Introduction.....................................................................................1 Rationale.............................................................................................1 Router Operations..........................................................................2 Use of IP Addresses.......................................................................2 Address Space Availability.............................................................3 Internet Operations........................................................................4 IPv4 versus IPv6.............................................................................6 Book Preview.....................................................................................7 The TCP/IP Protocol Suite............................................................7 IPv4 Addressing Basics and the DNS...........................................7 The Role of Special IP Addresses.................................................8 Subnetting.......................................................................................8 CIDR and Multicasting...................................................................8 NAT and Naming Services.............................................................8 Working With IPv6.........................................................................9 Network Utility Tools.....................................................................9 2 The TCP/IP Protocol Suite...........................................................11 The OSI Reference Model...............................................................11 OSI Reference Model Layers.......................................................12 Layer 1: The Physical Layer....................................................12 Layer 2: The Data Link Layer..................................................13 Layer 3: The Network Layer....................................................13 Layer 4: The Transport Layer..................................................14 Layer 5: The Session Layer......................................................14 Layer 6: The Presentation Layer .............................................15 Layer 7: The Application Layer...............................................15 Data Flow..................................................................................15 Overview of the TCP/IP Protocol Suite.........................................16 vii AU1144_ FM*_fm Page viii Thursday, October 11, 2001 1:19 PM viii The ABCs of IP Addressing The Network Layer......................................................................16 IP................................................................................................17 ARP............................................................................................17 ICMP..........................................................................................17 The Transport Layer.................................................................18 TCP............................................................................................18 UDP...........................................................................................18 Application Layer......................................................................19 Data Flow..................................................................................19 The Internet Protocol and Related Protocols................................20 The Internet Protocol...................................................................20 Datagrams and Segments.........................................................20 Datagrams and Datagram Transmissions................................20 Routing......................................................................................21 The IP Header..............................................................................22 Bytes versus Octets..................................................................22 Vers Field..................................................................................23 Hlen Field.................................................................................23 Service Type Field....................................................................24 Total Length Field....................................................................25 Identification and Fragment Offset Fields..............................25 Flag Field .................................................................................27 Time to Live Field....................................................................27 Protocol Field ..........................................................................27 Header Checksum Field...........................................................31 Source and Destination Address Fields..................................31 Multiple Interface Addresses...................................................31 Address Resolution.......................................................................32 Ethernet and Token-Ring Frame Formats..............................33 LAN Delivery.............................................................................33 Address Resolution Operation.................................................34 ARP Packet Fields.....................................................................34 Locating the Required Address...............................................35 Gratuitous ARP.........................................................................35 Proxy ARP.................................................................................36 RARP..........................................................................................36 ICMP..............................................................................................36 Overview...................................................................................37 The ICMP Type Field...............................................................37 The ICMP Code Field..............................................................40 Evolution...................................................................................40 The Transport Layer.........................................................................40 TCP................................................................................................42 AU1144_ FM*_fm Page ix Thursday, October 11, 2001 1:19 PM ix The TCP Header.......................................................................42 Source and Destination Port Fields........................................42 Multiplexing and Demultiplexing............................................43 Port Numbers............................................................................43 Sequence and Acknowledgment Number Fields...................46 Hlen Field ................................................................................47 Code Bits Field.........................................................................47 Window Field ..........................................................................48 Checksum Field........................................................................48 Urgent Pointer Field.................................................................48 Options Field............................................................................48 Padding Field............................................................................49 Connection Establishment........................................................49 Connection Function Calls.......................................................49 The Three-Way Handshake.....................................................51 Operation..................................................................................51 The TCP Window.....................................................................53 Avoiding Congestion................................................................54 TCP Slow Start..........................................................................54 The Slow Start Threshold........................................................55 TCP Retransmissions................................................................56 Session Termination.................................................................56 UDP...............................................................................................56 The UDP Header......................................................................57 Operation..................................................................................58 Applications..................................................................................58 3 IPv4 Addressing Basics and the DNS........................................61 IPv4 Addressing................................................................................61 Working with Binary and Hexadecimal Numbering Systems..........................................................62 IPv4 Addressing............................................................................64 Address Classes............................................................................66 Class A.......................................................................................66 Class B.......................................................................................67 Class C.......................................................................................68 Class D......................................................................................68 Class E.......................................................................................69 Dotted-Decimal Notation.............................................................69 Reserved Addresses......................................................................70 Networking Basics............................................................................71 Host Restrictions...........................................................................72 The Domain Name System.............................................................73 Overview.......................................................................................73

Description:
Our world is rapidly becoming an Internet-based world, with tens of millions of homes, millions of businesses, and within a short period of time, possibly hundreds of millions of mobile professionals accessing the literal mother of all networks. One of the key problems affecting many Internet users,
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.