EDELKAMP 19-ch15-671-700-9780123725127 2011/5/28 14:50 Page 672 #2 This page intentionally left blank PETERSON-AND-DAVIE 01-pra-i-ii-9780123850591 2011/3/5 0:50 Page i #1 In Praise of Computer Networks: A Systems Approach Fifth Edition I have known and used this book for years and I always found it very valu- able as a textbook for teaching computer networks as well as a reference book for networking professionals. This Fifth Edition maintains the core value of former editions and brings the clarity of explanation of network protocols in the introduction of the most up-to-date techniques, technolo- gies and requirements of networking. Beyond describing the details of past and current networks, this book successfully motivates the curiosity, and hopefully new research, for the networks of the future. Stefano Basagni Northeastern University Peterson and Davie have written an outstanding book for the computer networking world.
It is a well-organized book that features a very helpful “big picture” systems approach. This book is a must have! Yonshik Choi Illinois Institute of Technology The Fifth Edition of Computer Networks: A Systems Approach is well- suited for the serious student of computer networks, though it remains accessible to the more casual reader as well. The authors’ enthusiasm for their subject is evident throughout; they have a thorough and current grasp of the interesting problems of the field. They explain not only how vari- ous protocols work, but also why they work the way they do, and even why certain protocols are the important and interesting ones.
The book is also filled with little touches of historical background, from the main text to the “Where Are They Now” sidebars to the papers described in each chap- ter’s “Further Reading” section—these give the reader a perspective on how things came to be the way they are. All in all, this book provides a lucid and literate introduction to networking. Peter Dordal Loyola University Chicago I have used Computer Networks: A Systems Approach for over five years in an introductory course on communications networks aimed at upper-level undergraduates and first-year Masters students. I have gone through sev- eral editions and over the years the book has kept what from the beginning PETERSON-AND-DAVIE 01-pra-i-ii-9780123850591 2011/3/5 0:50 Page ii #2 had been its main strength, namely, that it not only describes the ‘how,’ but also the ‘why’ and equally important, the ‘why not’ of things.
It is a book that builds engineering intuition, and in this day and age of fast-paced technology changes, this is critical to develop a student’s ability to make informed decisions on how to design or select the next generation systems. Roch Guerin University of Pennsylvania This book is an outstanding introduction to computer networks that is clear, comprehensive, and chock-full of examples. Peterson and Davie have a gift for boiling networking down to simple and manageable concepts without compromising technical rigor. Computer Networks: A Systems Approach strikes an excellent balance between the principles underlying network architecture design and the applications built on top.
It should prove invaluable to students and teachers of advanced undergraduate and graduate networking courses. Arvind Krishnamurthy University of Washington Computer Networks: A Systems Approach has always been one of the best resources available to gain an in-depth understanding of computer net- works. The latest edition covers recent developments in the field. Starting with an overview in Chapter 1, the authors systematically explain the basic building blocks of networks.
Both hardware and software concepts are pre- sented. The material is capped with a final chapter on applications, which brings all the concepts together. Optional advanced topics are placed in a separate chapter. The textbook also contains a set of exercises of varying difficulty at the end of each chapter which ensure that the students have mastered the material presented.
Karkal Prabhu Drexel University Peterson and Davie provide a detailed yet clear description of the Internet protocols at all layers. Students will find many study aids that will help them gain a full understanding of the technology that is transforming our society. The book gets better with each edition. Jean Walrand University of California at Berkeley PETERSON-AND-DAVIE 02-fm-iii-vi-9780123850591 2011/3/5 0:52 Page 3 #1 Fifth Edition Computer Networks a systems approach PETERSON-AND-DAVIE 02-fm-iii-vi-9780123850591 2011/2/27 15:21 Page iv #2 Recommended Reading List For students interested in furthering their understanding of Computer Networking, the content in the following books supplements this textbook: Network Analysis, Architecture, and Design, 3rd Edition By James D.
McCabe ISBN: 9780123704801 The Illustrated Network How TCP/IP Works in a Modern Network By Walter Goralski ISBN: 9780123745415 Interconnecting Smart Objects with IP The Next Internet By Jean-Philippe Vasseur and Adam Dunkels ISBN: 9780123751652 Network Quality of Service Know It All Edited by Adrian Farrel ISBN: 9780123745972 Optical Networks, 3rd Edition A Practical Perspective By Rajiv Ramaswami, Kumar Sivarajan and Galen Sasaki ISBN: 9780123740922 Broadband Cable Access Networks The HFC Plant By David Large and James Farmer ISBN: 9780123744012 Deploying QoS for Cisco IP and Next Generation Networks The Definitive Guide By Vinod Joseph and Brett Chapman ISBN: 9780123744616 mkp.com PETERSON-AND-DAVIE 02-fm-iii-vi-9780123850591 2011/2/27 15:21 Page v #3 Fifth Edition Computer Networks a systems approach Larry L. Peterson and Bruce S. Davie AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Morgan Kaufmann Publishers is an imprint of Elsevier PETERSON-AND-DAVIE 02-fm-iii-vi-9780123850591 2011/2/27 15:21 Page vi #4 Acquiring Editor: Rick Adams Development Editor: Nate McFadden Project Manager: Paul Gottehrer Designer: Dennis Schaefer Morgan Kaufmann is an imprint of Elsevier 30 Corporate Drive, Suite 400, Burlington, MA 01803, USA © 2012 Elsevier, Inc. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing.
As new research and experience broaden our understanding, changes in research methods or professional practices, may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information or methods described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility. To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the material herein.
Library of Congress Cataloging-in-Publication Data Peterson, Larry L. Computer networks : a systems approach / Larry L. Peterson and Bruce S. – (The Morgan Kaufmann series in networking) Includes bibliographical references.6–dc22 2011000786 British Library Cataloguing-in-Publication Data A catalogue record for this book is available from the British Library.
ISBN: 978-0-12-385059-1 For information on all Morgan Kaufmann publications visit our website at www.com Typeset by: diacriTech, India Printed in the United States of America 11 12 13 14 15 16 10 9 8 7 6 5 4 3 2 PETERSON-AND-DAVIE 03-ded-vii-viii-9780123850591 2011/3/5 0:55 Page vii #1 To Lee Peterson and Robert Davie EDELKAMP 19-ch15-671-700-9780123725127 2011/5/28 14:50 Page 672 #2 This page intentionally left blank PETERSON-AND-DAVIE 04-fore-ix-xii-9780123850591 2011/2/25 15:10 Page ix #1 Foreword O nce again, this now-classic textbook has been revised to keep it up-to-date with our evolving field. While the Internet and its proto- cols now dominate networking everywhere, we see continued evolution in the technology used to support the Internet, with switching at “layer 2” providing rich functionality and powerful tools for network management. The previous edition dealt with switching and routing in two chapters, but a presentation based on layers is not always the best way to convey the essentials of the material, since what we call switching and routing actually play similar and complementary roles. This edition of the book looks at these topics in an integrated way, which brings out their func- tional similarities and differences.
More advanced topics in routing have been moved to a second chapter that can be skipped, depending on the emphasis and level of the class. I have never been a fan of teaching networking based on a purely layered approach, as my foreword to the first edition indicated (we’ve reprinted it in this edition just for fun.) Some key issues in networking, including security and performance, cannot be solved by assigning them to one layer—there cannot be a “performance” layer. These sorts of topics are both critical and cross-cutting, and the organization of this book continues to treat topics, as well as layers. The organization of this book reflects a great deal of expe- rience using it as a classroom textbook, and as well a preference for an approach that brings out fundamentals as well as current practice.
Some moribund technologies are now missing or minimized, including token ring (one of my old favorites, but clearly it was time to go) and ATM. This edition recognizes that we need to pay more attention to application design, and not just packet forwarding. Wireless and mobility gets more attention as well. The authors, once again, have worked hard to produce a revision that conveys the essentials of the field in a way that is pedagogically effective.
I am pleased to say that I think it is better than ever. David Clark November, 2010 ix EDELKAMP 19-ch15-671-700-9780123725127 2011/5/28 14:50 Page 672 #2 This page intentionally left blank PETERSON-AND-DAVIE 04-fore1-ix-xii-9780123850591 2011/2/25 12:37 Page xi #1 Foreword to the First Edition T he term spaghetti code is universally understood as an insult. All good computer scientists worship the god of modularity, since modularity brings many benefits, including the all-powerful benefit of not having to understand all parts of a problem at the same time in order to solve it. Modularity thus plays a role in presenting ideas in a book, as well as in writing code.
If a book’s material is organized effectively—modularly— the reader can start at the beginning and actually make it to the end. The field of network protocols is perhaps unique in that the “proper” modularity has been handed down to us in the form of an international standard: the seven-layer reference model of network protocols from the ISO. This model, which reflects a layered approach to modularity, is almost universally used as a starting point for discussions of protocol organization, whether the design in question conforms to the model or deviates from it. It seems obvious to organize a networking book around this layered model.
However, there is a peril to doing so, because the OSI model is not really successful at organizing the core concepts of networking. Such basic requirements as reliability, flow control, or security can be addressed at most, if not all, of the OSI layers. This fact has led to great confusion in trying to understand the reference model. At times it even requires a suspension of disbelief.
Indeed, a book organized strictly according to a layered model has some of the attributes of spaghetti code. Which brings us to this book. Peterson and Davie follow the tradi- tional layered model, but they do not pretend that this model actually helps in the understanding of the big issues in networking. Instead, the authors organize discussion of fundamental concepts in a way that is independent of layering.