下載本文檔
版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、精選優(yōu)質(zhì)文檔傾情為你奉上精選優(yōu)質(zhì)文檔傾情為你奉上專(zhuān)心專(zhuān)注專(zhuān)業(yè)專(zhuān)心專(zhuān)注專(zhuān)業(yè)精選優(yōu)質(zhì)文檔傾情為你奉上專(zhuān)心專(zhuān)注專(zhuān)業(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)用層:提供與用戶(hù)應(yīng)用有關(guān)功能,包括網(wǎng)絡(luò)瀏覽、電子郵件、不同類(lèi)文件系統(tǒng)的文件傳輸、虛擬終端軟件、過(guò)程作業(yè)輸入、目錄查詢(xún)和其他各種通用的和專(zhuān)用的功能等。(1分)傳輸層:完成端到端的可靠數(shù)據(jù)傳輸。(1
2、分)網(wǎng)絡(luò)層:關(guān)系到子網(wǎng)的運(yùn)行控制,其中一個(gè)關(guān)鍵問(wèn)題是確定分組從源端到目的端的路由選擇,以分組為單位進(jìn)行傳輸。(1分)鏈路層:主要任務(wù)是加強(qiáng)物理傳輸原始比特的功能,以幀為單位進(jìn)行傳輸。完成相鄰結(jié)點(diǎn)間的可靠數(shù)據(jù)傳輸。(1分)物理層:負(fù)責(zé)提供和維護(hù)物理線路,并檢測(cè)處理爭(zhēng)用沖突,提供端到端錯(cuò)誤恢復(fù)和流控制以比特為單位進(jìn)行傳輸。(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、同的特征(如都運(yùn)行在TCP之上)。不過(guò)這兩個(gè)應(yīng)用層協(xié)議最重要的差別是FTP使用兩個(gè)并行的TCP連接來(lái)傳送文節(jié)件,一個(gè)是控制連接,一個(gè)是數(shù)據(jù)連接。(2分)控制連接用于在客戶(hù)主機(jī)和服務(wù)器主機(jī)之間發(fā)送控制信息,例如用戶(hù)名和口令、改變遠(yuǎn)程目錄的命令、取來(lái)或放回文件的命令。數(shù)據(jù)連接用于真正發(fā)送文件。既然TCP使用一個(gè)獨(dú)立的控制連接,我們說(shuō)FTP在帶外(out-of-band)發(fā)送控制信息的。(2分)HTTP中,同一個(gè)TCP連接既用于承載請(qǐng)求和響應(yīng)頭部,也用于承裁所傳送的文件,因此我們說(shuō)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)是指以分層的方式來(lái)描述通信過(guò)程的組織體系。(例如五層網(wǎng)絡(luò)結(jié)構(gòu))另一方面,應(yīng)用體系結(jié)構(gòu)是由應(yīng)用程序的研發(fā)者設(shè)計(jì),并規(guī)定應(yīng)用程序的主要結(jié)構(gòu)(例如客戶(hù)機(jī)/服務(wù)器或P2P)從應(yīng)用程序研發(fā)者的角度看,網(wǎng)絡(luò)體系結(jié)構(gòu)是固定的,并為應(yīng)用程序提供了特定的服務(wù)集合。(評(píng)分標(biāo)準(zhǔn):網(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(評(píng)分標(biāo)準(zhǔn):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ù)報(bào)網(wǎng)絡(luò)中網(wǎng)絡(luò)層兩個(gè)最重要的功能是轉(zhuǎn)發(fā)和選路。(2分)轉(zhuǎn)發(fā)(Forwarding)特指在一個(gè)路由器內(nèi)將數(shù)據(jù)從輸入端口移動(dòng)到合適的輸出端口(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ā)生差錯(cuò),但它不能保證IP 數(shù)據(jù)包是按照正確的順序到達(dá)最終的目的地。IP 數(shù)據(jù)包可以使用不同的路由通過(guò)網(wǎng)絡(luò),到達(dá)接收端的順序會(huì)不一致,因此,TCP 需要用來(lái)使字節(jié)流按正確的序號(hào)到達(dá)接收端(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補(bǔ)全3個(gè)0(G的位數(shù)-1),為(2分).再對(duì)其用G進(jìn)行二進(jìn)制除法,得到的余數(shù)即為R=111。(2分)其具體計(jì)算過(guò)程如下:計(jì)算過(guò)程(2分)驗(yàn)算過(guò)程(不算分)三. 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個(gè)可能的序列號(hào)。(2分)a) 由于序列號(hào)不隨著TCP報(bào)文段個(gè)數(shù)增長(zhǎng)而增長(zhǎng)。而是根據(jù)發(fā)送數(shù)據(jù)的字節(jié)數(shù)而增長(zhǎng)。因此,MSS的大小與
11、可以從A發(fā)送到B的文件的大小無(wú)關(guān)。文件大小可以簡(jiǎn)單估算為: 232 4.19 Gbytes 。(3分)b) TCP報(bào)文段的個(gè)數(shù)為= 2,941,758。66字節(jié)的首部加到每個(gè)報(bào)文段將帶來(lái)194,156,028字節(jié)的首部。要傳輸?shù)淖止?jié)總數(shù)為:(232+ 194,156,028) 8 = 3,591107 bits。(3分)因此將花費(fèi) 359 seconds = 6 minutes 來(lái)傳輸文件在一個(gè) 100Mbps 鏈路上。(2分)(思路正確,計(jì)算錯(cuò)誤給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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 小學(xué)數(shù)學(xué)一年級(jí)第二學(xué)期口算計(jì)算共3011道題
- 2025年四川貨運(yùn)資格證在哪里練題
- 2025年馬鞍山考貨運(yùn)從業(yè)資格證
- 七年級(jí) 下學(xué)期 地理 商務(wù)星球版《澳大利亞》合作探究教案(第1課時(shí))
- 2025年西雙版納從業(yè)資格證模擬考試題下載貨運(yùn)
- 2025年鶴崗貨運(yùn)資格證考試口訣
- 2025年天津貨運(yùn)從業(yè)資格證考試題庫(kù)答案解析大全
- 企業(yè)如何應(yīng)對(duì)不斷變化的安全法規(guī)環(huán)境
- 制造業(yè)的數(shù)字化轉(zhuǎn)型與工業(yè)互聯(lián)網(wǎng)的溝通技術(shù)
- 2025年廣州貨運(yùn)考試
- 裝修逾期索賠合同范例
- 【MOOC】全新版大學(xué)進(jìn)階英語(yǔ)綜合教程II-內(nèi)蒙古大學(xué) 中國(guó)大學(xué)慕課MOOC答案
- 印刷保密協(xié)議
- 輔導(dǎo)員年終匯報(bào)
- 中國(guó)當(dāng)代文學(xué)專(zhuān)題-003-國(guó)開(kāi)機(jī)考復(fù)習(xí)資料
- 【MOOC】綜合英語(yǔ)-中南大學(xué) 中國(guó)大學(xué)慕課MOOC答案
- 2025年1月“八省聯(lián)考”考前猜想卷歷史試題02 含解析
- 人教版2025九年級(jí)道德與法治中考備考復(fù)習(xí)計(jì)劃
- 農(nóng)村集體經(jīng)濟(jì)組織內(nèi)部控制制度
- 高中數(shù)學(xué)64數(shù)列求和省公開(kāi)課獲獎(jiǎng)?wù)n件市賽課比賽一等獎(jiǎng)?wù)n件
- 淮陰工學(xué)院《供應(yīng)鏈管理3》2022-2023學(xué)年第一學(xué)期期末試卷
評(píng)論
0/150
提交評(píng)論