欢迎来到天天文库
浏览记录
ID:22288229
大小:150.91 KB
页数:8页
时间:2018-10-28
《数据链路层实验报告》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、附件(四)深圳大学实验报告课程名称:计算机网络实验项目名称:数据链路层协议实验专业:指导教师:报告人:学号:班级:实验时间:2014.10.17实验报告提交时间:2014.10.17教务处制实验目的与要求:一、实验目的1、理解各种不同数据链路层协议的原理2、熟悉并掌握各种不同数据链路层协议的性能二、实验要求1.根据所给各种协议的源代码,分析与理解各种协议的原理与算法思想。2.相同参数情况下,运行各种协议,得到各种协议的性能。3.对于协议5,6,分别给定不同的负载、丢包率及校验和失败情况,对比两种协议的性能。方法、步骤:三、实验步骤木机Linux平台:1.解压给定的压缩文件
2、2.在控制台状态下,运行make命令,产生可执行文件远程登陆方式:1.在命令行状态下,执行telnet192.168.147.1242.用户名为:stu2012,密码:stu2012再执行cddllProtocol实验过程及内容:依次运行下列命令,对比各种协议的性能。在实验报告中以表格的形式给出结果。./protocol10000040201070./protocol10000040201070./protocoM10000040201070./protocol510000040201070./protocol610000040201070【注:命令的参数的说明./pro
3、tocol-programeventstimeoutpct_losspct_cksumdebug_flagsdatafile_flagwhere*eventstellshowlongtorunthesimulation氺timeoutgivesthetimeoutintervalinticks氺pct_lossgivesthepercentageofframesthatarelost(0-99)氺pct_cksumgivesthepercentageofarrivingframesthatarebad(0-99)*debug_flagsenablesvarioustrac
4、ingflags:1framessent2framesreceived4timeouts8periodicprintoutforusewithlongruns*datafile_flagenablesoutputofsummarydatatoadatafileforlaterprocessingwithascript(includingtheGUI).Theoutputfilewillbe"totdata.txt".Valuesofthisflagare0or1:0donotappenddatatototdata.txt1appenddatatototdata.txt协议
5、5和协议6进行对比:5:./protocols100040201070./protocols1000040201070./protocol100000402010706:./protocol6100040201070./protocol61000040201070./protocol100000402010705./protocol510000030201070./protocol510000040201070./protocols100000502010706./protocol610000030201070./protocol10000040201070./proto
6、col6100000502010705./protocol5100000400.21070./protocol51000004021070./protocols100000402010706./protocol6100000400.21070./protocol61000004021070./protocol6100000402010705./protocol510000040200.270./protocol51000004020270./protocol5100000402020706./protocol610000040200.270./protocol610000
7、04020270./protocol610000040202070数据处理分析:ALBLC」DEUF」GLHI1protocol-programeventstimeoutpct_losspct_cksumdebug_flagsdatafile_flag传输效率2210000040201070死锁331000004020107050%441000004020107050%551000004020107027%661000004020107058%78510004020107030%95100004020107027%105100
此文档下载收益归作者所有