计算机网络第一周作业
- 格式:doc
- 大小:302.50 KB
- 文档页数:12
Review1. The word protocol is often used to describe diplomatic relations. Give an example of a diplomatic protocol.答:比如说联合国宪章、世界贸易组织协定。
2. What is the difference between a host and an end system? List the types of end systems. Is a Web server an end system?答没有不同,主机系统和终端设备可以互换。
终端系统包括PC、工作站、web服务器、服务器等等。
WEB服务器也是端系统。
3. List six access technologies. Classify each one as residential access, companyaccess, or mobile access.答:住宅接入:数字用户线DSL、混合光纤同轴电缆公司接入:无线网接入、网线接入无线接入:无线局域网、广域无线局域网4. What is a client program? What is a server program? Does a server program requestand receive services from a client program?答:端系统或者主机,他们都连接在Internet上,根据不同的服务又分为客户机、服务器。
客户机程序是这样一种运行在端系统上的程序上的程序,它发出请求,并且从运行在其他端设备上的程序接受服务。
而服务器程序就是给那些客户机程序,提供服务的程序。
5. List the available residential access technologies in your city. For each typeof access, provide the advertised downstream rate, upstream rate, and monthly price.答:光纤接入(HFC) 100Mbits/s 20Mbits/s 20RMB/月6. What are some of the physical media that Ethernet can run over?答:同轴电缆、双绞线都可以作为以太网的传输媒介。
8.Describe the most popular wireless Internet access technologies today. Compareand contrast them.答:主要有两种接入方式:* IEEE 802.11技术无线LAN接入,用户距离接入点的几十米的围。
通过连接到有线网的基站间接将用户连接到有线网上。
* 3G与LET网络。
在这些系统过用于拨打的网络硬件设施,为在基站围的用户提供无线网络接入。
9.Dial-up modems, HFC, and DSL are all used for residential access. For each of these access technologies, provide a range of transmission rates and comment onwhether the transmission rate is shared or dedicated.答:拨号调制解调器的速率通常是56K左右,这个是很早的技术与速率,带宽是独占的。
DSL的速率是上下行不对称的,根据费用不同分为512K、1M、2M三种,还有不限速的上网,带宽是专用的。
HFC的速率优于10M、100M、1G、10G的速率,带宽是共享的。
10.What is the transmission rate of Ethernet LANs?…….答:以太网拥有10Mbps、100Mbps、1Gbps和10Gbps几种。
不能,带宽是在该线路上的用户共享。
11.Suppose there is exactly one packet switch between a sending host and a receiving host……答:延时为两段延时之和,L/R1+L/R2。
14.Suppose users share a 2Mbps link. Also suppose each user requires 1Mbps when transmitting。
答 a:2个,一人分1Mbps的专有带宽;b:当有两个人或一个人使用网络时,最高带宽占用为2Mbps,所以绝对不会有排队延时出现。
但是,当3个及以上人使用时,最高需要3Mbps,但是最高提供2Mbps,所以会出现延时;c:0.2;d:3人同时传输的概率是0.008;所以时间增长的时间出现也是0.00815.Why is it said that packet switching employs statistical multiplexing?.......答:统计复用是对通信链路的一种高效的利用方法。
所有链路上被按需分配,是一种按照概率统计的方法假设在一个时间段,只有某几个用户在使用链路。
TDM中的统计复用是对所有用户的事先分配了链路上的所有资源,传输速率是恒定的。
按照预定分配,标记适合于处理恒定传输速率的业务,比如电路。
而分组交换是按需分配,对链路的利用效率更高,资源共享,速率不恒定。
17.Consider sending a packet from a source host to a destination host over a fixedroute. List the delay components in the end-to-end delay. Which of these delaysare constant and which are variable?答:节点总时延由处理时延、传输时延、传播时延和排队时延组成。
所有这些时延除了排队时延都是固定的。
18. Suppose Host A wants to send a large file to Host B. The path from Host A toHost B has three links, of rates R1 = 250 kbps, R2 = 500 kbps, and R3 = 1 Mbps.答:a:R = min{R1,R2,R3} = min{500kbp,2Mbps,1Mbps} = 500kbpsb:T = 4000KB / (500Kbps / 8) = 64sc:R = min{R1,R2,R3} = min{500kbps,100kbps,1Mbps} = 100Kpbs;T = 4000KB / (100Kbps / 8) = 320s20.How long does it take a packet of length 1,000 bytes to propagate over a link of distance 2,500 km, propagation speed 2.5 · 108 m/s...答:10 ^ -5 s; L/s; 否;否21.Suppose end system A wants to send a large file to end system B. At a very high level, describe how end system A creates packets from the file. When one of these packets arrives to a packet switch, what information in the packet does the switch use to determine the link onto which the packet is forwarded? Why is packet switching in the Internet analogous to driving from one city to another and asking directionsalong the way?答:将文件拆成多个小块。
并为每个块添加标头,从而从文件生成多个数据包。
每个数据包中的标头包括目的地址的IP。
分组交换机使用该IP地址确定输出链路。
在给定数据包的目的地址情况下,询问哪条路要类似于这个的数据包,询问它应该转发哪个输出链路。
22.Which layers in the Internet protocol stack does a router process? Which layersdoes a link-layer switch process? Which layers does a host process?答: 路由器处理第1层到第3层。
链路层交换机处理1到2.主机处理所有5各层。
23.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?答:五个通用任务是错误控制、流控制、分段和重组、多路复用和连接设置。
这些任务可以在不同的层重复。
25. What are the five layers in the Internet protocol stack? What are the principalresponsibilities of each of these layers?答:应用层:应用层是网络应用层协议存留的地方;运输层:因特网的运输层在应用程序端点之间传输报文;网络层:因特网的网络层负责将成为数据报的网络层分组从一台主机移动到另一台主机;链路层:因特网的网络层通过源和目的地之间的一系列路由器路由数据报;物理层:将帧的一个个比特从一个结点转移到另一个结点。
Problem1 Consider the circuit-switched network in Figure 1.8. Recall that there are n circuits on each link答 a:4n;b:2n。
2.Consider an application that transmits data at a steady rate (for example, thesender generates an N-bit unit of data every k time units, where k is small andfixed). Also, when such an application starts, it will continue running for arelatively long period of time. Answer the following questions, briefly justifyingyour answer:答:a:电路交换非常适合这个应用,因为传输速率已知并且会话为长会话,不会造成带宽的大量浪费。