Table Of ContentPage iii
CISCO and IP Addressing
Louis D. Rossi
Louis R. Rossi
Thomas Rossi
McGraw-Hill
New York San Francisco Washington, D.C.
Auckland Bogotá Caracas Lisbon London
Madrid Mexico City Milan Montreal New Delhi
San Juan Singapore Sydney Tokyo Toronto
Page iv
Copyright © 1999 by The McGraw-Hill Companies, Inc. All rights reserved. Printed in the
United States of America. Except as permitted under the United States Copyright Act of 1976, no
part of this publication may be reproduced or distributed in any form or by any means, or stored
in a data base or retrieval system, without the prior written permission of the publisher.
The views expressed in this book are solely those of the author, and do not represent the views of
any other party or parties.
1 2 3 4 5 6 7 8 9 0 DOC/DOC 9 0 4 3 2 1 0 9
ISBN 0-07-134925-1
The sponsoring editor for this book was Steven Elliot and the production supervisor was Clare
Stanley. It was set in Cochin by Patricia Wallenburg.
Printed and bound by R. R. Donnelley & Sons.
McGraw-Hill books are available at special quantity discounts to use as premiums and sales
promotions, or for use in corporate training programs. For more information, please write to the
Director of Special Sales, McGraw-Hill, 11 West 19th Street, New York, NY 10011. Or contact
your local bookstore.
Information contained in this work has been obtained by The McGraw-Hill Companies, Inc.
("McGraw-Hill") from sources believed to be reliable. However, neither McGraw-Hill nor its
authors guarantee the accuracy or completeness of any information published herein and
neither McGraw-Hill nor its authors shall be responsible for any errors, omissions, or
damages arising out of use of this information. This work is published with the understanding
that McGraw-Hill and its authors are supplying information but are not attempting to render
engineering or other professional services. If such services are required, the assistance of an
appropriate professional should be sought.
This book is printed on recycled, acid-free paper containing a minimum of 50%
recycled, de-inked fiber.
Page v
Acknowledgment
I would like to express my gratitude to the thousands of students I have had the pleasure to meet
over the years.
Teaching is about the best learning process one can have.
In gratitude to all the students who have helped me in the past I would like to help all future
students by setting up a scholarship fund for all graduates of the Cisco Network Academy
Program.
This fund will initially be funded with 10% of the proceeds from this book.
For more information concerning this scholarship please send email to
[email protected].
Page vii
Contents
Page viii
Introduction xv
Chapter 1 1
IP Addresses
Objectives 1
What Is a MAC Address? 2
What Is a Network Address? 4
What Is an IP Address? 5
The IP Address 7
What Is the Purpose of the Network Mask? 9
How Is the Wire or Network Address Calculated? 11
Summary 12
Exercises 13
Answers 14
Chapter 2 17
The Mystery of Subnetting
Objectives 17
Why Do We Subnet? 18
Combinations 18
Combinations and Subnets 20
What Is the Value of the Mask If We Have Four Subnet Bits? 23
What Addresses Will Identify the Networks of ARI? 24
What Addresses Will Identify the Hosts of ARI? 25
What Addresses Will Be Identified as Broadcast Addresses? 26
Applying the Address Scheme to ARI 27
Summary 28
Exercises 28
Answers 29
Page ix
Chapter 3 31
Subnetting and Class C Addresses
Objectives 31
The Multiple Process 34
Summary 36
Exercises 37
Answers 38
Chapter 4 41
Class B Addresses
Objectives 41
The Class B Address 42
Summary 46
Exercises 47
Answers 48
Chapter 5 51
Introduction to IP Routing Protocols
Objectives 51
What Is a Routing Protocol? 52
What Are the Basic Differences Between Distance-Vector and 53
Link-State Routing Protocols?
What Is a Hybrid Routing Protocol? 56
What Is Metric? 56
What Is the Meaning of Administrative Distance? 59
What Does Convergence Mean? 60
What Is Load Sharing? 60
What Is the Difference Between an Interior Gateway Protocol 61
and an Exterior Gateway Protocol?
What Is a Static Route? 61
What Is a Default Route? 62
Page x
Summary 63
Exercises 64
Answers 65
Chapter 6 67
Classful Routing Protocols and Network Topology
Objectives 67
Summary 75
Exercises 76
Answers 76
Chapter 7 77
Variable Length Subnet Masking (VLSM)
Objectives 77
Address Summary 81
IP Unnumbered 81
When Can VLSM Be Used? 82
Summary 82
Exercises 82
Answers 83
Chapter 8 85
Classless Routing Protocols
Objectives 85
Summary 89
Exercises 90
Answers 90
Chapter 9 91
Wild Card Masks
Objectives 91
Page xi
Summary 96
Exercises 96
Answers 96
Chapter 10 97
Route Summarization and Classless Interdomain Routing
(CIDR)
Objectives 97
Classless Interdomain Routing (CIDR) 102
Summary 104
Exercises 105
Answers 105
Chapter 11 107
Hello Cisco!
Objectives 107
Summary 114
Exercises 114
Answers 115
Chapter 12 117
Configuring IP RIP
Objectives 117
Configuration Commands 119
Verifying Configuration 120
Viewing the Routing Table 122
Configuring a Static Route 123
Configuring a Default Route 124
Summary 125
Exercises 126
Answers 126
Page xii
Chapter 13 131
Configuring IGRP
Objective 131
Configuration Commands 133
Verifying Configuration 134
Viewing the Routing Table 137
Summary 138
Exercises 138
Answers 138
Chapter 14 143
Configuring OSPF
Objective 143
Single-Area Topology 144
Types of OSPF Routers 148
Multiple-Area Topology 149
Totally Stubby Areas 152
Multiple Autonomous Systems 154
IP/OSPF Addressing Design 155
Summary 157
Exercises 157
Answers 158
Chapter 15 161
Configuring EIGRP
Description:Electronically enhanced - The accompanying CD-ROM includes tutorial software that features video with illustrated examples and tutorials by the authors. Additionally, the CCIEPREP.COM Web site will offer instant updates. The most thorough coverage including: Subnetting & IP Addressing. NAT (network