NTU-Exam 板


LINE

課程名稱︰計算機網路 課程性質︰資訊系大三必修 課程教師︰周承復 開課學院:電資學院 開課系所︰資訊系 考試日期(年月日)︰102/10 考試時限(分鐘):120 是否需發放獎勵金:是 (如未明確表示,則不予發放) 試題 : Question1:"Quickies"(15%) Answer each of the following question briefly, i.e., in at most a few sentence a)(5%)Please explain what is head-of-the-line blocking in a router. b)(5%)TCP's current EstimatedRTT is 100ms. Upon receipt of next sample, the EstimatedRTT is 5ms. Is this possible?If so,when.If not, why not? c)(5%)What is meant by network-assited congestion control? Give an example of a congestion control protocol that take this approach. Does TCP take this approach? Explain your answer. Question2: A reliable data transfer protocol(25%) Suppose we have two network entities, A and B. B has a suply of data messages that will be sent to A according to the following conventions. When A gets a request from the layer above to get the next data(D) message from B, A must send a request(R) message to B on the A-to-B channel. Only when B receives an R message can it send a data(D) message back to A on the B-to-A channel. A should deliver exactly one copy of each D message to the layer above. R messages can be lost (but not corrupt) in the A-to-B channel; D message, once sent, are always delivered correctly. The delay along both channel is unknown and variable. Assume no reordering occurs. Design (give an FSM description of) a protocol that incorporate the appropriate mechanisms to compensate for the loss-prone A-to-B channel and implements message passing to the layer above at entity A, as discussed above. Use only those mechanisms that are absolutely necessary. Use a pencil or a rough sheet before finalizing your answer. Qusetion3:Routing Algorithms(30%) Consider the network in the figure below. The numbers on links between the nodes represent the costs corresponding to these links.Assume that nodes initially know only the costs to their neighbors. D--(5)--E--(3)--A | | | (2) (9) | | | | C--(1)--B---(7)-- a)(10%)Using the distance-vector algorithm, show the distance tables at node E Assume that the algorithm works in a synchronous manner, where all nodes simultaneously receive distance vectors from their neighbors, compute their new distance vectors, and inform their neighbors if their distance vectors have changed. b)(5%)Create a routing loop between the nodes B and C by changing the cost of the link between the nodes C and D. What is the minimum change in link cost that creates the routing loop? What is this problem alternatively called? c)(5%)How does the distance-vector-like protocol solve this problem? If the distance-vector-like protocol was used for routing in the above network , what is the finite number that would play the rule of (無限大)? d)(5%)If the link-state-like protocol was used in the above network, how would it handle the routing loop? How do nodes learn the link costs in the link- state-like protocol? e)(5%)Is there any other method to solve this problem? Question4:Transport Layer(20%) Consider the following plot of TCP window size as a function of time for two TCP connection A and B. In this problem we will suppose that both TCP senders are sending large files. We also assume that the packet loss events are independent in connection A and B. a)(5%)Considering the above value of congestion window(CongWin) for these connections, can we identify the type of TCP connections(Reno or Tahoe)that have been used by connection A and B? Justify your answers. b)(5%)What are the values of the Threshold parameter between the 1st and the 14th transmission rounds for each connection? c)(5%)At the 12th transmission round for connection A, is segment loss detected by a triple duplicate ACK or by timeout? Justfy your answer. d)(5%)Assume that the segment size is 1460 bytes and that a total of 87600 bytes have been successfully transmitted over connection A before the 13th transmission round. At which transmission round the cumulative amount of successful transmitted data is equal to 163520 bytes? Again we assume that there is neither timeout nor dupACK after the 13th transmission round. (附圖為折線圖) Question5:(20%) Compare GBN, SR, and TCP(no delayed ack).Assume that the timeout values for all 3 protocols are sufficiently long such that 5 consecutive data segment and their corresponding ACKs can be received (if not lost in the channel) by the receiveing host(Host B) and the 2nd segment(sent from A)is lost.In the end , all 5 data segment have been correctly received by host B. a)(15%)How many segments has lost A sent in total and how many acks has host B sent in total? What are their sequence numbers?Answer this question for all 3 protocols. b)(5%)If the timeout values for all three protocols are much longer than 5 RTT ,then which protocol successfully delivers all 5 data segments in shortest time interval? Question6:(10%) Consider the network shown below. Suppose AS3 and AS2 are running OSPF for their intra-AS routing protocol. Suppose AS1 and AS4 are running RIP for their intra-AS routing protocol. Suppose eBGP and iBGP are used for the inter-AS routing protocol. Initially suppose there is no physical link between AS2 &AS4 (a) Router 3a learns about prefix X from which routing protocol? (b) Router 3c learns about X from which routing protocol? (c) Router 1d learns about X from which routing protocol? (d) Router 1c learns about X form which routing protocol? (圖參考作業) --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.192.186







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:Gossiping站內搜尋

TOP