查看: 9637|回复: 15

给大家出几道非常简单的网络题做做

[复制链接]
发表于 2009-8-5 14:15:27 | 显示全部楼层 |阅读模式
1.Consider a TCP connection establishment in which a client does an active open and a server does a passive open. Moreover, the acknowledgment from the client (the third TCP segment) is lost.
a) Will the client still be able to send data to the server and why?
b) Will the server receive the data and why, assuming that the data arrives at the receiver correctly?
c) Contrary to what was said in the class about the active/passive close of TCP connections, an HTTP server in fact performs an active close and an HTTP client performs a passive close. There are a few good reasons for this design. However, point out one disadvantage of this design.
TCP在三次握手的时候,第三个数据包丢失了
a, 客户端还会发送数据给服务端么?为什么?
b.服务端是否会接受数据,为什么?数据会正确的达到接收端?
c.大家都知道tcp的主动打开和被动关闭,一个http服务器实际上扮演着主动关闭,客户端去扮演着被动关闭的角色。这样有他的原因,但是,这样有什么缺陷呢?



2.We know that for a 10 Mbps Ethernet segment of 2500m long (a round-trip propagation delay of 51.2微秒), the minimum Ethernet frame length is given by 512 bits (64 bytes).
a) If we upgrade the Ethernet to Gigabit Ethernet (1000 Mbps) with the same propagation speed, what is the minimum Ethernet frame length for this case?
b) Is this minimum frame length computed in part (a) acceptable? Explain your answer if it does. Otherwise, suggest a solution to resolve it.


新增题目!


3. Both TCP and UDP use end-to-end checksum to detect errors that escape from error detection from the lower layers (IP and data-link) and errors occurred to the packets while residing in router buffers. Consider the following TCP connection that spans across three data-link networks. Each data-link network provides CRC for error detection. Consider the following two scenarios:

a) Errors have been introduced to the source IP address when the packet is buffered in R1, and there are no other errors.

b) Errors have been introduced to the source IP address in the link between S and R1, and there are no other errors.


Assume that each CRC can detect the errors with probability pCRC and each 16-bit checksum (for both IP and TCP) can detect the errors with probability pIP. The error detection events are mutually independent. Compute the probability that the errors can be detected for scenarios (a) and (b).





4.Consider an Ethernet network on which host A would like to send a datagram to host B. Host B is on the same network and operational. Instead of using ARP to obtain B’s MAC address, A simply sends the IP datagram using data-link broadcast. Will B receive the datagram? Explain your answer.


同一网段,A发送数据给B,不在arp通告自己mac地址的情况下,简单的讲IP单播数据包链路层广播出去,B会处理么?为什么?



[ 本帖最后由 ctop17 于 2009-8-6 18:27 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?CSNA会员注册

×

评分

1

查看全部评分

回复

使用道具 举报

发表于 2009-8-5 17:22:04 | 显示全部楼层
很细节的问题了,先给出一些参考信息,请大家讨论!

第一个问题:
a:会;
b:不会;
c:涉及半关闭状态、复用、2MSL;

第二题可参考下面的相关知识:
1:按照标准,10Mbps以太网采用中继器时,连接最大长度为2500米,最多经过4个中继器,因
此规定对于10Mbps以太网规定一帧的最小发送时间必须为51.2μs。
2:51.2μs也就是512位数据在10Mbps以太网速率下的传播时间,常称为512位时。这个时间定
义为以太网时隙。512位时=64字节,因此以太网帧的最小长度为512位时=64字节。
回复

使用道具 举报

发表于 2009-8-6 09:38:05 | 显示全部楼层
期待更多的XDJM加入讨论!
回复

使用道具 举报

 楼主| 发表于 2009-8-6 09:59:26 | 显示全部楼层
徐哥真会掉我们胃口啊!
这题目确实有些bt
回复

使用道具 举报

发表于 2009-8-6 17:02:42 | 显示全部楼层
如果楼主能将英文的题目翻译成中文的,参加的人可能会更多。
纯属建议,莫怪我懒,哈哈
回复

使用道具 举报

发表于 2009-8-6 17:42:46 | 显示全部楼层
都是一些英文看不懂哦。
回复

使用道具 举报

发表于 2009-8-21 14:30:01 | 显示全部楼层
看不懂,太高深了
回复

使用道具 举报

 楼主| 发表于 2009-8-28 17:12:22 | 显示全部楼层
这些题目有好多我还是不会做希望有高手前来指点。我把我的一些思路给大家分享下吧!

第一题是说三次握手第三个数据包丢失后会出现的状况,如果次包丢失,那么被请求端会始终停留在syn_recv阶段,而请求端会处在estabish状态。我想双方通信是有问题的吧。不知道重传syn包会出现什么状况。
c题是说客户端总是被动关闭这样有什么缺陷,这个在http1.0版本中有所体现,在老的http1.0版本中当用户打开一个网站后服务端传输完数据后会主动关闭,然而用户会在浏览首页后点击一些链接,这时候又需要重新建立连接而导致开销过大,另外tcp慢启动也会使访问网站变慢。
回复

使用道具 举报

发表于 2009-11-11 13:47:56 | 显示全部楼层
英语不好,很无奈。。看来的好好学习学习英语
回复

使用道具 举报

发表于 2010-1-4 11:32:23 | 显示全部楼层
1# ctop17
一本steven的《TCP/IP详解》卷一就解释提到的所有问题。
1
a\会
b\ 不会
c\太深了没研究过
2 涉及冲突检测.传输长度决定传输时间。传输时间决定了以太网发送方能否检测到冲突。小于这个时隙发送方检测不到冲突。
3 看情况 数据会被上交。具体到哪一层就要看实妹情况.如是否设置混杂模式等。无上层需要数据就会被丢弃。
回复

使用道具 举报

发表于 2010-1-18 15:40:30 | 显示全部楼层
本人才疏学浅,看不懂啊!!!!!!
回复

使用道具 举报

发表于 2010-2-7 15:52:37 | 显示全部楼层
这个确实有点晕了!!!!!!!!!!!!!!1
回复

使用道具 举报

发表于 2010-10-28 09:47:13 | 显示全部楼层
请问第三题的阶梯思路是怎样的呢?——初学者请教一下!谢谢~
回复

使用道具 举报

您需要登录后才可以回帖 登录 | CSNA会员注册

本版积分规则

快速回复 返回顶部 返回列表