通信网络实验报告_第1页
通信网络实验报告_第2页
通信网络实验报告_第3页
通信网络实验报告_第4页
通信网络实验报告_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、通信网络实验报告班级:0411204学号:041120427姓名:顾雨炘实验一 隐终端和暴露终端问题分析一、实验目的1、了解无线网络中的载波检测机制;2、熟悉节点的传输范围、冲突干扰范围、载波检测范围和噪声干扰范围的概念;3、了解载波检测接入体制中存在的隐终端问题和暴露终端问题;4、结合仿真实验分析载波检测无线网络中的隐终端问题和暴露终端问题。二、实验结果node: 1, layer: appcbrclient, (0) server address: 2node: 1, layer: appcbrclient, (0) first packet sent at s: 0.000000000n

2、ode: 1, layer: appcbrclient, (0) last packet sent at s: 99.990000000node: 1, layer: appcbrclient, (0) session status: not closednode: 1, layer: appcbrclient, (0) total number of bytes sent: 5120000node: 1, layer: appcbrclient, (0) total number of packets sent: 10000node: 1, layer: appcbrclient, (0)

3、throughput (bits per second): 409600node: 2, layer: appcbrserver, (0) client address: 1node: 2, layer: appcbrserver, (0) first packet received at s: 0.007438001node: 2, layer: appcbrserver, (0) last packet received at s: 99.999922073node: 2, layer: appcbrserver, (0) average end-to-end delay s: 0.739

4、902205node: 2, layer: appcbrserver, (0) session status: not closednode: 2, layer: appcbrserver, (0) total number of bytes received: 4975616node: 2, layer: appcbrserver, (0) total number of packets received: 9718node: 2, layer: appcbrserver, (0) throughput (bits per second): 398078node: 3, layer: app

5、cbrclient, (0) server address: 4node: 3, layer: appcbrclient, (0) first packet sent at s: 0.000000000node: 3, layer: appcbrclient, (0) last packet sent at s: 99.990000000node: 3, layer: appcbrclient, (0) session status: not closednode: 3, layer: appcbrclient, (0) total number of bytes sent: 5120000n

6、ode: 3, layer: appcbrclient, (0) total number of packets sent: 10000node: 3, layer: appcbrclient, (0) throughput (bits per second): 409600node: 4, layer: appcbrserver, (0) client address: 3node: 4, layer: appcbrserver, (0) first packet received at s: 0.003058001node: 4, layer: appcbrserver, (0) last

7、 packet received at s: 99.993058001node: 4, layer: appcbrserver, (0) average end-to-end delay s: 0.003119031node: 4, layer: appcbrserver, (0) session status: not closednode: 4, layer: appcbrserver, (0) total number of bytes received: 5120000node: 4, layer: appcbrserver, (0) total number of packets r

8、eceived: 10000node: 4, layer: appcbrserver, (0) throughput (bits per second): 409612三、实验结果分析通过仿真结果可以看出,节点2无法收到数据。由于节点3是节点1的一个隐终端,节点1无法通过物理载波检测侦听到节点3的发送,且节点3在节点2的传输范围外,节点3无法通过虚拟载波检测延迟发送,所以在节点1传输数据的过程中,节点3完成退避发送时将引起冲突。四、思考题1、rts/cts能完全解决隐终端问题吗?如果不能,请说明理由。从理论分析上看,rts/cts协议似乎可以完全解决数据链隐藏终端问题,然而在实际网络中并非如此

9、,尤其是在adhoc网络中。以节点为中心,存在发送区域和干扰区域。在发送区域内,在没有干扰的情况下,数据包可正常收发;该区域的大小由站点的功率等参数确定,可视为定值。干扰区域是相对于接受节点而言的,在该区域内,节点可以受到来自非相关节点发送的数据的干扰,造成冲突、丢包。rts/cts对隐藏终端问题的屏蔽实际上是建立在两区域相等的基础上的,即所有的隐藏终端都位于接受节点发送范围内。此中假设并不成立,干扰区域与收发节点间距有关。实验二 无线局域网dcf协议饱和吞吐量验证一、实验目的1、了解ieee 802.11 dcf 协议的基本原理。2、理解网络饱和吞吐量的概念。3、通过仿真对dcf协议饱和吞吐

10、量的二维马尔可夫链模型进行验证。二、实验结果node: 1, layer: appcbrclient, (4) server address: 55node: 1, layer: appcbrclient, (4) first packet sent at s: 0.000000000node: 1, layer: appcbrclient, (4) last packet sent at s: 99.990000000node: 1, layer: appcbrclient, (4) session status: not closednode: 1, layer: appcbrclient

11、, (4) total number of bytes sent: 5120000node: 1, layer: appcbrclient, (4) total number of packets sent: 10000node: 1, layer: appcbrclient, (4) throughput (bits per second): 409600node: 1, layer: appcbrclient, (3) server address: 54node: 1, layer: appcbrclient, (3) first packet sent at s: 0.00000000

12、0node: 1, layer: appcbrclient, (3) last packet sent at s: 99.990000000node: 1, layer: appcbrclient, (3) session status: not closednode: 1, layer: appcbrclient, (3) total number of bytes sent: 5120000node: 1, layer: appcbrclient, (3) total number of packets sent: 10000node: 1, layer: appcbrclient, (3

13、) throughput (bits per second): 409600node: 1, layer: appcbrclient, (2) server address: 53node: 1, layer: appcbrclient, (2) first packet sent at s: 0.000000000node: 1, layer: appcbrclient, (2) last packet sent at s: 99.990000000node: 1, layer: appcbrclient, (2) session status: not closednode: 1, lay

14、er: appcbrclient, (2) total number of bytes sent: 5120000node: 1, layer: appcbrclient, (2) total number of packets sent: 10000node: 1, layer: appcbrclient, (2) throughput (bits per second): 409600node: 1, layer: appcbrclient, (1) server address: 52node: 1, layer: appcbrclient, (1) first packet sent

15、at s: 0.000000000node: 1, layer: appcbrclient, (1) last packet sent at s: 99.990000000node: 1, layer: appcbrclient, (1) session status: not closednode: 1, layer: appcbrclient, (1) total number of bytes sent: 5120000node: 1, layer: appcbrclient, (1) total number of packets sent: 10000node: 1, layer:

16、appcbrclient, (1) throughput (bits per second): 409600node: 1, layer: appcbrclient, (0) server address: 51node: 1, layer: appcbrclient, (0) first packet sent at s: 0.000000000node: 1, layer: appcbrclient, (0) last packet sent at s: 99.990000000node: 1, layer: appcbrclient, (0) session status: not cl

17、osednode: 1, layer: appcbrclient, (0) total number of bytes sent: 5120000node: 1, layer: appcbrclient, (0) total number of packets sent: 10000node: 1, layer: appcbrclient, (0) throughput (bits per second): 409600node: 51, layer: appcbrserver, (0) client address: 1node: 51, layer: appcbrserver, (0) f

18、irst packet received at s: 0.003056858node: 51, layer: appcbrserver, (0) last packet received at s: 99.995493030node: 51, layer: appcbrserver, (0) average end-to-end delay s: 0.351972641node: 51, layer: appcbrserver, (0) session status: not closednode: 51, layer: appcbrserver, (0) total number of by

19、tes received: 5102592node: 51, layer: appcbrserver, (0) total number of packets received: 9966node: 51, layer: appcbrserver, (0) throughput (bits per second): 408219node: 52, layer: appcbrserver, (1) client address: 1node: 52, layer: appcbrserver, (1) first packet received at s: 0.006449537node: 52,

20、 layer: appcbrserver, (1) last packet received at s: 99.998965709node: 52, layer: appcbrserver, (1) average end-to-end delay s: 0.355584451node: 52, layer: appcbrserver, (1) session status: not closednode: 52, layer: appcbrserver, (1) total number of bytes received: 5102592node: 52, layer: appcbrser

21、ver, (1) total number of packets received: 9966node: 52, layer: appcbrserver, (1) throughput (bits per second): 408233node: 53, layer: appcbrserver, (2) client address: 1node: 53, layer: appcbrserver, (2) first packet received at s: 0.010001809node: 53, layer: appcbrserver, (2) last packet received

22、at s: 99.992000125node: 53, layer: appcbrserver, (2) average end-to-end delay s: 0.358534977node: 53, layer: appcbrserver, (2) session status: not closednode: 53, layer: appcbrserver, (2) total number of bytes received: 3926016node: 53, layer: appcbrserver, (2) total number of packets received: 7668

23、node: 53, layer: appcbrserver, (2) throughput (bits per second): 314112node: 54, layer: appcbrserver, (3) client address: 1node: 54, layer: appcbrserver, (3) first packet received at s: 0.013774900node: 54, layer: appcbrserver, (3) last packet received at s: 0.773715844node: 54, layer: appcbrserver,

24、 (3) average end-to-end delay s: 0.184107930node: 54, layer: appcbrserver, (3) session status: not closednode: 54, layer: appcbrserver, (3) total number of bytes received: 22016node: 54, layer: appcbrserver, (3) total number of packets received: 43node: 54, layer: appcbrserver, (3) throughput (bits

25、per second): 1761node: 55, layer: appcbrserver, (4) client address: 1node: 55, layer: appcbrserver, (4) first packet received at s: 0.017127686node: 55, layer: appcbrserver, (4) last packet received at s: 0.777148630node: 55, layer: appcbrserver, (4) average end-to-end delay s: 0.187729553node: 55,

26、layer: appcbrserver, (4) session status: not closednode: 55, layer: appcbrserver, (4) total number of bytes received: 22016node: 55, layer: appcbrserver, (4) total number of packets received: 43node: 55, layer: appcbrserver, (4) throughput (bits per second): 1761三、实验结果分析各发送节点发包间隔较大,当网络中发送节点较少时,网络还未饱

27、和。逐渐往网络中增加负载,网络总吞吐量逐渐增大,之后,网络吞吐量逐渐趋向于平稳,此时,网络即达到了饱和状态。四、思考题1、总结ieee 802.11dcf协议饱和吞吐量和哪些因素有关。任选一个时隙,网络中有节点在发送数据的概率当有节点在发送数据包时,数据包发送成功的概率数据包发送成功和发送失败所需的时间2、为什么在数据包长度较长时,采用rts/cts模式更合理?"隐藏终端"多发生在大型单元中(一般在室外环境),这将带来效率损失,并且需要错误恢复机制。当需要传送大容量文件时,尤其需要杜绝"隐藏终端"现象的发生。实验三 动态源路由协议路由选择验证一、实验目的

28、1、了解dsr路由协议的优缺点。2、理解dsr路由协议中路由发现过程和路由维护过程。3、掌握dsr路由协议性能的仿真分析方法。二、实验结果time(s): 1.000001000, node: 1, route path: 2time(s): 2.000001000, node: 1, route path: 2time(s): 3.000001000, node: 1, route path: 2time(s): 4.000001000, node: 1, route path: 2time(s): 5.000001000, node: 1, route path: 2time(s): 6.

29、000001000, node: 1, route path: 2time(s): 7.000001000, node: 1, route path: 2time(s): 8.000001000, node: 1, route path: 4-2time(s): 9.000001000, node: 1, route path: 4-2time(s): 10.000001000, node: 1, route path: 4-2time(s): 11.000001000, node: 1, route path: 4-2time(s): 12.000001000, node: 1, route

30、 path: 4-2time(s): 13.000001000, node: 1, route path: 4-2time(s): 14.000001000, node: 1, route path: 4-2time(s): 15.000001000, node: 1, route path: 4-2time(s): 16.000001000, node: 1, route path: 4-2time(s): 17.000001000, node: 1, route path: 4-2time(s): 18.000001000, node: 1, route path: 4-2time(s):

31、 19.000001000, node: 1, route path: 4-2time(s): 20.000001000, node: 1, route path: 4-2time(s): 21.000001000, node: 1, route path: 4-2time(s): 22.000001000, node: 1, route path: 4-2time(s): 23.000001000, node: 1, route path: 4-2time(s): 24.000001000, node: 1, route path: 4-2time(s): 25.000001000, nod

32、e: 1, route path: 4-2time(s): 26.000001000, node: 1, route path: 4-2time(s): 27.000001000, node: 1, route path: 4-2time(s): 28.000001000, node: 1, route path: 4-2time(s): 29.000001000, node: 1, route path: 4-2time(s): 30.000001000, node: 1, route path: 4-2time(s): 31.000001000, node: 1, route path:

33、4-2time(s): 32.000001000, node: 1, route path: 4-2time(s): 33.000001000, node: 1, route path: 4-2time(s): 34.000001000, node: 1, route path: 4-2time(s): 35.000001000, node: 1, route path: 4-2time(s): 36.000001000, node: 1, route path: 4-2time(s): 37.000001000, node: 1, route path: 4-2time(s): 38.000

34、001000, node: 1, route path: 5-4-2time(s): 39.000001000, node: 1, route path: 5-4-2time(s): 40.000001000, node: 1, route path: 5-4-2time(s): 41.000001000, node: 1, route path: 5-4-2time(s): 42.000001000, node: 1, route path: 5-4-2time(s): 43.000001000, node: 1, route path: 5-4-2time(s): 44.000001000

35、, node: 1, route path: 5-4-2time(s): 45.000001000, node: 1, route path: 5-4-2time(s): 46.000001000, node: 1, route path: 5-4-2time(s): 47.000001000, node: 1, route path: 5-4-2time(s): 48.000001000, node: 1, route path: 5-4-2time(s): 49.000001000, node: 1, route path: 5-4-2time(s): 50.000001000, node

36、: 1, route path: 5-4-2time(s): 51.000001000, node: 1, route path: 5-4-2time(s): 52.000001000, node: 1, route path: 5-4-2time(s): 53.000001000, node: 1, route path: 5-4-2time(s): 54.000001000, node: 1, route path: 5-4-2time(s): 55.000001000, node: 1, route path: 5-4-2time(s): 56.000001000, node: 1, r

37、oute path: 5-4-2time(s): 57.000001000, node: 1, route path: 5-4-2time(s): 58.000001000, node: 1, route path: 5-4-2time(s): 59.000001000, node: 1, route path: 5-4-2time(s): 60.000001000, node: 1, route path: 5-4-2time(s): 61.000001000, node: 1, route path: 5-4-2time(s): 62.000001000, node: 1, route p

38、ath: 5-4-2time(s): 63.000001000, node: 1, route path: 5-4-2time(s): 64.000001000, node: 1, route path: 5-4-2time(s): 65.000001000, node: 1, route path: 5-4-2time(s): 66.000001000, node: 1, route path: 5-4-2time(s): 67.000001000, node: 1, route path: 5-4-2time(s): 68.000001000, node: 1, route path: 3

39、-2time(s): 69.000001000, node: 1, route path: 3-2time(s): 70.000001000, node: 1, route path: 3-2time(s): 71.000001000, node: 1, route path: 3-2time(s): 72.000001000, node: 1, route path: 3-2time(s): 73.000001000, node: 1, route path: 3-2time(s): 74.000001000, node: 1, route path: 3-2time(s): 75.000001000, n

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论