下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、精選優(yōu)質(zhì)文檔傾情為你奉上精選優(yōu)質(zhì)文檔傾情為你奉上專心專注專業(yè)專心專注專業(yè)精選優(yōu)質(zhì)文檔傾情為你奉上專心專注專業(yè)Questions(40)What are the five layers in the Internet protocol stack? What are the principal responsibilities of each of these layers? (5)答案:從上向下各層:應(yīng)用層:提供與用戶應(yīng)用有關(guān)功能,包括網(wǎng)絡(luò)瀏覽、電子郵件、不同類文件系統(tǒng)的文件傳輸、虛擬終端軟件、過程作業(yè)輸入、目錄查詢和其他各種通用的和專用的功能等。(1分)傳輸層:完成端到端的可靠數(shù)據(jù)傳輸。(1
2、分)網(wǎng)絡(luò)層:關(guān)系到子網(wǎng)的運行控制,其中一個關(guān)鍵問題是確定分組從源端到目的端的路由選擇,以分組為單位進行傳輸。(1分)鏈路層:主要任務(wù)是加強物理傳輸原始比特的功能,以幀為單位進行傳輸。完成相鄰結(jié)點間的可靠數(shù)據(jù)傳輸。(1分)物理層:負責(zé)提供和維護物理線路,并檢測處理爭用沖突,提供端到端錯誤恢復(fù)和流控制以比特為單位進行傳輸。(1分)Why is it said that FTP sends control information out-of-band but HTTP sends control information “in-band”? (6)答:HTTP和FTP都是文件傳送協(xié)議,它們有許多共
3、同的特征(如都運行在TCP之上)。不過這兩個應(yīng)用層協(xié)議最重要的差別是FTP使用兩個并行的TCP連接來傳送文節(jié)件,一個是控制連接,一個是數(shù)據(jù)連接。(2分)控制連接用于在客戶主機和服務(wù)器主機之間發(fā)送控制信息,例如用戶名和口令、改變遠程目錄的命令、取來或放回文件的命令。數(shù)據(jù)連接用于真正發(fā)送文件。既然TCP使用一個獨立的控制連接,我們說FTP在帶外(out-of-band)發(fā)送控制信息的。(2分)HTTP中,同一個TCP連接既用于承載請求和響應(yīng)頭部,也用于承裁所傳送的文件,因此我們說HTTP在帶內(nèi)(in-band)發(fā)送控制信息。(2分)What is the difference between ne
4、twork architecture and application architecture? (6)答:網(wǎng)絡(luò)體系結(jié)構(gòu)是指以分層的方式來描述通信過程的組織體系。(例如五層網(wǎng)絡(luò)結(jié)構(gòu))另一方面,應(yīng)用體系結(jié)構(gòu)是由應(yīng)用程序的研發(fā)者設(shè)計,并規(guī)定應(yīng)用程序的主要結(jié)構(gòu)(例如客戶機/服務(wù)器或P2P)從應(yīng)用程序研發(fā)者的角度看,網(wǎng)絡(luò)體系結(jié)構(gòu)是固定的,并為應(yīng)用程序提供了特定的服務(wù)集合。(評分標準:網(wǎng)絡(luò)體系結(jié)構(gòu)和應(yīng)用體系結(jié)構(gòu)各占3分)Suppose Host A sends two TCP segments back to back to Host B over a TCP connection. The first
5、 segment has sequence number 92; the second has sequence number 111. (6)a. How much data is in the first segment?b. Suppose that the first segment is lost but the second segment arrives at B. In the acknowledgment that Host B sends to Host A, what will be the acknowledgment number?答:a) 19 bytes b) a
6、ck number = 92(評分標準:a,b各占3分)What are the two most important network-layer functions in a datagram network? What is the difference between them? (6)答:數(shù)據(jù)報網(wǎng)絡(luò)中網(wǎng)絡(luò)層兩個最重要的功能是轉(zhuǎn)發(fā)和選路。(2分)轉(zhuǎn)發(fā)(Forwarding)特指在一個路由器內(nèi)將數(shù)據(jù)從輸入端口移動到合適的輸出端口(2分),而選路(Routing)特指確定從數(shù)據(jù)源端到目的端的整條傳輸路徑(2分)。If all the links in the Internet were to
7、 provide reliable delivery service, would the TCP reliable delivery service be redundant? Why or why not? (5)答:不多余(1分)。雖然每條鏈路都能保證數(shù)據(jù)包在端到端的傳輸中不發(fā)生差錯,但它不能保證IP 數(shù)據(jù)包是按照正確的順序到達最終的目的地。IP 數(shù)據(jù)包可以使用不同的路由通過網(wǎng)絡(luò),到達接收端的順序會不一致,因此,TCP 需要用來使字節(jié)流按正確的序號到達接收端(2分)。路由器也可能由于緩存溢出而丟棄IP數(shù)據(jù)包(2分)。In Cyclic Redundancy Check (CRC), co
8、nsider the 4-bit generator G is 1001, and suppose that D has the value . What is the value R? Show your calculation steps. (6)答:本題中G=1001,D=,需要求R,先將D補全3個0(G的位數(shù)-1),為(2分).再對其用G進行二進制除法,得到的余數(shù)即為R=111。(2分)其具體計算過程如下:計算過程(2分)驗算過程(不算分)三. Consider transferring an enormous file of L bytes from Host A to Host B
9、. Assume an MSS of 1,460 bytes. (10)What is the maximum value of L such that TCP sequence numbers are not exhausted? Recall that the TCP sequence number fields has 4 bytes.For the L you obtain in (a), find how long it takes to transmit the file. Assume that a total of 66 bytes of transport, network,
10、 and data-link header are added to each segment before the resulting packet is sent our over a 100 Mbps link. Ignore flow control and congestion control so A can pump out the segments back to back and continuously.一共有 232 = 4,294,967,296個可能的序列號。(2分)a) 由于序列號不隨著TCP報文段個數(shù)增長而增長。而是根據(jù)發(fā)送數(shù)據(jù)的字節(jié)數(shù)而增長。因此,MSS的大小與
11、可以從A發(fā)送到B的文件的大小無關(guān)。文件大小可以簡單估算為: 232 4.19 Gbytes 。(3分)b) TCP報文段的個數(shù)為= 2,941,758。66字節(jié)的首部加到每個報文段將帶來194,156,028字節(jié)的首部。要傳輸?shù)淖止?jié)總數(shù)為:(232+ 194,156,028) 8 = 3,591107 bits。(3分)因此將花費 359 seconds = 6 minutes 來傳輸文件在一個 100Mbps 鏈路上。(2分)(思路正確,計算錯誤給1半分)四. Consider a router that interconnects four subnets: N1, N2, N3 and
12、N4. Suppose all of the interfaces in each of these four subnets are required to have the prefix 4/26. Also suppose the N1 is required to support up to 24 interfaces, N2 is required to support up to 12 interfaces, and N3 and N4 are each required to support up to 6 interfaces. Provide four network add
13、resses of the form a.b.c.d/x that satisfy these constraints. (10)答:N1: 4/27 (3分)N2: 6/28 (3分)N3: 12/29 (2分)N4: 20/29 (2分)五. (10) Suppose CSMA/CD protocol is used in a LAN. The distance between hosts A and B is 2 km, propagation speed is km/s, transmission rate of the link is 10 Mbps. Please answer t
14、he following questions:(1) Suppose collision occurred when the two hosts send data. How long is the time from the beginning of data transmission to collision is detected?(2) What is the smallest frame from A to B?(1)2/=10-5(s)(2)2*10-5*10*106=200(bit)六. Suppose within your Web browser you click on a
15、 link to obtain a Web page. The IP address for the associated URL is cached in your local host. Further suppose that the Web page associated with the link contains a small amount of HTML text, and the HTML file references five very small objects on the same server. Let RTT2 denote the RTT between the local host and the server containing the object. Neglecting transmission times, how much time elapses with: (10)a. Non-persistent HTTP with no parallel TCP connec
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五版家屬區(qū)整體改造裝修服務(wù)合同3篇
- 江蘇省南通市如皋市 2024-2025學(xué)年九年級上學(xué)期1月期末道德與法治試題(含答案)
- 二零二五年度企業(yè)并購合同法操作指南3篇
- 保健品批發(fā)商的社區(qū)健康宣傳效果評估考核試卷
- 家居布藝的智能化窗簾控制系統(tǒng)設(shè)計與實現(xiàn)考核試卷
- 二零二五年度造紙機械租賃施工合同2篇
- 2025年新能源車位租賃與維護保養(yǎng)一體化服務(wù)合同2篇
- 2025年新能源產(chǎn)品銷售業(yè)績達標合同范本2篇
- 2025年信息安全技術(shù)協(xié)議
- 2025年度智能設(shè)備維修個人勞務(wù)合同模板3篇
- 我的家鄉(xiāng)瓊海
- (2025)專業(yè)技術(shù)人員繼續(xù)教育公需課題庫(附含答案)
- 《互聯(lián)網(wǎng)現(xiàn)狀和發(fā)展》課件
- 【MOOC】計算機組成原理-電子科技大學(xué) 中國大學(xué)慕課MOOC答案
- 2024年上海健康醫(yī)學(xué)院單招職業(yè)適應(yīng)性測試題庫及答案解析
- 2024年湖北省武漢市中考語文適應(yīng)性試卷
- 非新生兒破傷風(fēng)診療規(guī)范(2024年版)解讀
- EDIFIER漫步者S880使用說明書
- 皮膚惡性黑色素瘤-疾病研究白皮書
- 從心理學(xué)看現(xiàn)代家庭教育課件
- C語言程序設(shè)計PPT(第7版)高職完整全套教學(xué)課件
評論
0/150
提交評論