NTU-Exam 板


LINE

课程名称︰计算机网路 课程性质︰系必修 课程教师︰逄爱君 开课学院:电资学院 开课系所︰资工系 考试日期(年月日)︰2010.6.23 考试时限(分钟):180 是否需发放奖励金:是 (如未明确表示,则不予发放) 试题 : Question 1:"Quickies"(30%) Answer each of the following questions briefly, e.g., in at most a few sentences. a)(5%)Where can queueing occur in a router? Briefly explain the conditions that lead to such queueing. Queueing can occur at both the input ports and the output ports of a router. Queueing occurs at the ourpur port when the arriving rate of packets to the outgoing link exceeds the link capacity. Queue occurs on and input port when the arriving rate of packets exceeds the switch capacity; head-of-the-line blocking can also cause queueing at the input ports. b)(5%)What is HOL (Head-of-Line) blocking? Does it occur in input ports or ouput oirts? The switch fabric can only switch the packets at the head of the buffer per clock, HOL arises in input ports when packets arriving at different input ports are destined for the same output port. If the HOL packet of a certain buffer at the input cannot be switched to an output port because of contention, the rest of the packets in that buffer are blocked by that Kead-of-Line packet, even if there is no contention at the destination output ports for those packets. c)(5%)What is meant by the term "tunneling"? In tunneling, an IP datagram (e.g., an Ipv6 datagram) is carried as the patkiad if another IP datagram. d)(5%)Briefly describe TCP's slowstart algorithm. What causes the TCP slowstart algorithm to end, and TCP congestion avoidance begin? When connection begins, TCP's congestion window is 1 MSS. For each ACK received, the congestion window size is double. This causes the number of segments sent per RTT to increase exponentially. Slowstart ends when a threshold window size is reached. e)(5%)Two hosts simultaneously send dat through a link of capacity 1Mbps. Host A generates data with a rate of 1Mbps and uses TCP. Host B uses UDP and transmits a 100bytes packet every 1ms Which host will ontain higher throughput? f)(5%)What are different inter-AS and intra-AS protocols used in the Internet g)(5%)What is the difference between a group-shared tree and a source-based tree in the context of multicast routing? Problem 2: Congestion Control and TCP (40%) a)(5%)What is the difference between congestion control and flow control? Flow control is about matching the speed of a sender to the capabilities of the receiver. Congestion occurs when senders overutilize the resources within the network. b)(5%)It is said that a TCP connection "probes" the network path it uses for available bandwidth. What is meant by that? TCP keeps increasing its send rate (by inceasing its window size) until loss occurs (at which point congestion has set in). TCP then sets its rate lower but again begins increasing its send rate to again determine the point at which congestion sets in. In this sense, TCP is contantly probing the network to see how much bandwidth it can use. c)Suppose that in TCP, the sender window is of size N, the base of the window is at sequence number x, and that the sender has just sent a complete window's worth of segments. Let RTT be the sender-to-receiver-to-sender round trip time, and let MSS be the segment size. i.(10%)Is it possible that there are ACK segments in the receiver-to- sender channel for segments with sequence numbers lower than x? Justigy your answr. ii.(5%)Assuming no loss, what is the throughput(in packets/sec) of the sender-to-receiver connection? iii.(5%)Suppose TCP is in its congestion avoidance phase. Assuming no loss, what will the window size be after the N segments are ACKed? N+1 d)(10%)Consider the use of TCP over a wireless channel, which is much more prone to bit-level errors than a wire or optical fiber. Comment on how well suited TCP's(i)error detection mechanism, and (ii)its window-based congestion control algorithm are for such a bit-error-prone environment. Question 3: Routing Algorithms(20%) a)(10%)Consider the network shown below. Show the operation of Dijkstra's (Link State) algorithm for computing the least cost path from D to all destinations. b)(10%)Consider a node Z, which has only two beighbors -X and Y. The link cost from Z to X is 2 and the link cost from Z to Y is 3. Suppose X and Y have the distance tables shown below, which they send to Z. Complete the following table in node Z after it receives the destance tables from its neighbors X and Y: Question 4:NAT:Network Address Translation(15%) a)(5%)Suppose host A is behind a NAT, and host B has a public IP. The TCP connection between host A and B has been established. While host A sends datagram to host B and host B replies datagram to host A, what does the NAT router do? b)(10%)NATs on P2P applications: Suppose a peer A discovers through quety that peer B has a file it wants to download. Also, suppose that A and B are both behind a basic NAT which does not support any other fuctions. Is there a way to allow A to establish a TCP connection with B directly without application-specific NAT configuration? Discuss why and how to do it (if it is possible). Question 5:Subnets(10%) Considr the topology shown below. Denote the three subnets with hosts (starting clockwise at 12:00) as Networks A, B, and C. Denote the subnets without hosts as Networks D, E, and F. (a)Assign network addresses to each of these six subnets, with the following constraints: All addresses must be allocted from 214.97.254/17; Subnet A should have enough addresses to support 250 interfaces; Subnet B should have enough addresses to support 120 interfaces; and Subnet C should have enough addresses to support 120 interfaces. Of courese, subnets D, E and F should each be able to support two interfaces. For each subnet, the assignment should each be able to support two interfaces. For each subnet, the assignment should take the form a.b.c.d/x or a.b.c.d/x - e.f.g.h/y. (b)Using your answer of part (a), provide the forwarding tables (using longest prefix matching) for each of the three routers. ※ 编辑: oscarchichun 来自: 218.167.72.190 (07/12 16:25)
1F:推 andy74139 :已收录至!! 07/12 19:44







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灯, 水草

请输入看板名称,例如:BuyTogether站内搜寻

TOP