这是第一张答案部分紧跟前两篇博客的最后一篇
ReviewQuestion
R22. Which layers in the Internet protocol stack does a router process? Which layers does a link-layer switch process? Which layers does a host process?
答: 路由器处理第1层到第3层。链路层交换机处理1到2.主机处理所有5层。
R23. List five tasks that a layer can perform. Is it possible that one (or more) of these tasks could be performed by two (or more) layers?
答: 五个通用任务是错误控制、流控制、分段和重组、多路复用和连接设置。这些任务可以在不同的层重复。
R25 What are the five layers in the Internet protocol stack? What are the principal responsibilities of each of these layers?
答: 应用层:应用层是网络应用层协议存留的地方;
运输层:因特网的运输层在应用程序端点之间传输报文;
网络层:因特网的网络层负责将成为数据报的网络层分组从一台主机移动到另一台主机;
链路层:因特网的网络层通过源和目的地之间的一系列路由器路由数据报;
物理层:将帧的一个个比特从一个结点转移到另一个结点。
Problem:
20. Consider the airline travel analogy in our discussion of layering in Section 1.5, and the addition of headers to protocol data units as they flow down the protocol stack. Is there an equivalent notion of header information that is added to passengers and baggage as they move down the airline protocol stack?
答:假设乘客和他/她的包对应于到达协议栈顶部的数据单元。旅客办理登机手续时,要托运行李,并在行李和机票上贴上标签。这是在行李层中添加的附加信息,如果图1.20允许行李层实现服务或在发送端分离乘客和行李,然后在目的地端重新合并它们.当旅客通过安检时,通常会在车票上加盖印章,表明旅客通过了安检。这些信息是用来确定的。g,由hater检查安全信息)安全的人员转移。