Homework Chapter_第1页
Homework Chapter_第2页
Homework Chapter_第3页
Homework Chapter_第4页
Homework Chapter_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Homework Chapter 41. In the text we have used the term connection-oriented service to describe a transport-layer service and connection service for a network-layer service. Why the subtle shades in terminology?在文中,我们所用的术语面向连接的服务来描述传输层服务和连接服务为网络层的服务。为什么术语中细微的色调?In a virtual circuit network, there is

2、an end-to-end connection in the sense that each router along the path must maintain state for the connection; hence the terminology connection service. In a connection-oriented transport service over a connectionless network layer, such as TCP over IP, the end systems maintain connection state; howe

3、ver the routers have no notion of any connections; hence the terminology connection-oriented service.在一个虚电路网络,有在这个意义上,沿路径的每个路由器必须维护状态为连接端至端连接;即术语连接服务。在通过无连接网络层,例如TCP到 IP上一个面向连接的传输服务,所述终端系统保持连接状态;但是,路由器没有任何连接的概念;因此术语面向连接的服务。2. Consider a datagram network using 32-bit host addresses. Suppose a router

4、has four links, numbered 0 through 3, and packets are to be forwarded to the link interfaces as follows:考虑使用32位主机地址的数据包网络。假设路由器具有四个链接,编号为0到3,并且分组将被转发到链路接口如下:Destination Address RangeLink Interface11100000 00000000 00000000 00000000through011100000 00111111 11111111 1111111111100000 01000000 00000000

5、 00000000through111100000 01000000 11111111 1111111111100000 01000001 00000000 00000000through211100001 01111111 11111111 11111111otherwise3a. Provide a forwarding table that has four entries, uses longest prefix matching, and forwards packets to the correct link interfaces.b. Describe how your forw

6、arding table determines the appropriate link interface for datagrams with destination addresses:11001000 10010001 01010001 0101010111100001 01000000 11000011 0011110011100001 10000000 00010001 011101111.提供一个转发表,有四个条目,使用最长前缀匹配,并且报文转发到正确的链路接口。2.描述你如何根据转发表,决定了数据报的目的地址相应的链路接口:3. Consider a datagram netw

7、ork using 8-bit host addresses. Suppose a router uses longest prefix matching and has the following forwarding table:考虑使用8位主机地址的数据包网络。假设一台路由器使用最长前缀匹配,并具有下列转发表:For each of the four interfaces, give the associated range of destination host addresses and the number of addresses in the range.对于每4个接口,给目的

8、地的主机地址相关联的范围,并在范围内的地址的数目。4. Consider sending a 2400-byte datagram into a link that has an MTU of 700 bytes. Suppose the original datagram is stamped with the identification number 422. How many fragments are generated? What are the values in the various fields in the IP datagram(s) generated related

9、 to fragmentation?考虑派遣一个2400字节的数据包到具有700字节的MTU的链接。假设原始数据包上印有识别号码422。产生多少碎片?什么是在IP数据报(多个)的各个领域中的值产生相关碎片?5. Suppose datagrams are limited to 1500 bytes (including header) between source Host A and destination Host B. Assuming a 20-byte IP header, how many datagrams would be required to send an MP3 con

10、sisting of 5 million bytes? Explain how you computed your answer.假设数据报被限制在1500字节(包括字头)在源主机A和目标主机B之间.假设一个20字节的IP报头,有多少数据包将被要求送往一个有5亿字节的MP3?解释你如何计算你的答案。6. Consider the network setup in following 考虑下图中的网络设置。假设在ISP代替分配路由器的地址24.34.112.235和所述家庭网络的网络地址为192.168.1/ 24。a. Assign addresses to all interfaces in

11、 the home network.b. Suppose each host has two ongoing TCP connections, all to port 80 at host 128.119.40.86. Provide the six corresponding entries in the NAT translation table.1.指定地址在家庭网络中的所有接口。2.假定每个主机有两个正在进行的TCP连接,所有80端口的主机128.119.40.86。提供NAT转换表的六个相应的条目。7. Consider the following network. With the

12、 indicated link costs, use Dijkstras shortest-path algorithm to compute the shortest path from x to all network nodes. And compute the shortest path from t to all network nodes. Show how the algorithm works by computing a table.考虑下面的网络。用所示链路成本,使用Dijkstra的最短路径算法来从x到所有的网络节点计算最短路径。并从t到所有的网络节点计算最短路径。显示如何算法通过计算表。Answer:StepND(t),p(t)D(u),p(u)D(v),p(v)D(w),p(w)D(y),p(y)D(z),p(z)0x123456StepND(x), p(x)D(u),p(u)D(v),p(v)D(w),p(w)D(y),p(y)D(z),p(z)0t1234568. Consider the network shown below, and assume that eac

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论