陕西师范大学
计算机网络课后习题指导
Solutions for Problem Sets of Computer
Networking
王涛 秦石醉 张阳阳 张敏江等 编著
6/25/2015
本书提供教材:Computer Networking A Top-down Approach 6th edition 的配套习题指导,
习题及相关资源的原始版权归原作者所有。
说明
本书系 西师范大学内部教学参考使用,编者对教程所包含内容没有权利要求,
一切权利归Computer Networking A Top-down Approach 6th edition 原作者及出版
社所有。
本书由王涛、秦石醉、张阳阳、张敏江等人编著,部分内容参考自网络公开资源。
编写过程难免有错误,请谅解。
本书习题基于英文经典计算机网络教材 Computer Networking A Top-down
Approach”第六版。
Table of Contents
说明 0
Chapter 1 Computer Networks and the Internet 1
Chapter 2 Application Layer 19
Chapter 3 Transport Layer36
Chapter 4 The Network Layer69
Chapter 5 The Link Layer: Links, Access Networks, and LANs93
Chapter 6 Wireless and Mobile Networks110
Chapter 7 Multimedia Networking 117
Chapter 8 Security in Computer Networks133
Chapter 9 Network Management 145
计算机网络课后习题指导 陕西师范大学
Chapter 1 Computer Networks and the Internet
P 1. Design and describe an application-level protocol to be used between an automatic teller machine
and a bank ’s centralized computer. Your protocol should allow a user ’s card and password to be
verified, the account balance (which is maintained at the centralized computer) to be queried, and
anaccount withdrawal to be made (that is, money disbursed to the user). Your protocol entities
should be able to handle the all-too-common case in which there is not enough money in the
account to cover the withdrawal. Specify your protocol by listing the messages exchanged and the
action taken by theautomatic teller machine or the bank ’s centralized computer on transmission and
receipt of messages. Sketch the operation of your protocol for the case of a simple withdrawal with
no