
网络模拟器(NS2)
文章平均质量分 51
norbert_jxl
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
弹性网络
先给两个链接,具体内容以后再续。1. ResiliNets: Multilevel Resilient and Survivable Networking Initiative. http://www.ittc.ku.edu/resilinets/2. ResiliNets Wiki. https://wiki.ittc.ku.edu/resilinets/Main_Page弹性网络融原创 2013-07-26 13:46:25 · 1147 阅读 · 0 评论 -
Tworaygrond Model
In this model, the shadowing fading factor is not considered. Therefore, for a unique distance, the Pr is a determinstic value. Usually, tworayground has two formulas:when d is less than the cross转载 2013-08-14 01:03:22 · 1088 阅读 · 0 评论 -
How to Get Neighbors of a Mobile Node in Wireless Simulation
1. Get the number of nodes in the network#include God::instance()->nodes(); 2. In order to use God object in C++ code, in your simluation script, you should have#转载 2013-08-14 21:34:42 · 732 阅读 · 0 评论 -
Basic 802.11 Statistics
He is currently doing research in the area of ad-hoc wireless networks using 802.11 hardware. I've just started ramping up with some simulations usingns-2. I was lucky to find Making NS-2 simulate转载 2013-08-14 21:39:33 · 844 阅读 · 0 评论 -
NS2中接收信号强度获取
Received Signal Strength Indication接收的信号强度指示,无线发送层的可选部分,用来判定链接质量,以及是否增大广播发送强度。在NS2中获取RSSI的方法:p->txinfo_.getTxPr();p->txinfo_.RxPr其中,p是数据包,TxPr是传输信号强度,RxPr是接收信号强度原创 2013-09-01 17:42:09 · 1916 阅读 · 4 评论 -
TCP友好的多播拥塞控制
TFMCC是一个基于等式的多播拥塞控制机制,它扩展了TFRC协议,从单播到多播领域。设计TFMCC的关键挑战在于扩展的往返时间(RTT)测量、appropriate feedback suppression,以确保控制环中的反馈延迟不影响竞争流的公平性。A major contribution is the feedback mechanism, the key component of en翻译 2013-09-02 18:39:29 · 897 阅读 · 0 评论 -
NS2中的Linux TCP实现
A Linux TCP implementation for NS2(Part of the NS-2 enhancement project)David X. Wei Prof. Pei CaoNetlab @ Caltech CS @ StanfordMay 2006;Revision 1 for parameter tu转载 2013-09-02 18:55:08 · 1706 阅读 · 0 评论 -
NS2仿真中AODV和AOMDV的问题
两种协议在移动场景下的分组投递率:AODV大于AOMDV,不符合常理,可参考解决办法如下:1.采用DCF(分布式点协调功能)能够改善该问题,但是两者的投递率都会很高;2.在两种协议中都将 #define AODV_LINK_LAYER_DETECTION 或 #define AOMDV_LINK_LAYER_DETECTION打开/关闭上述语句是开启链路层检测的功能,一致的原创 2013-09-02 16:12:39 · 1758 阅读 · 0 评论 -
Backpressure路由
转载地址:http://en.wikipedia.org/wiki/Backpressure_routingThis article describes backpressure routing (also written "back-pressure routing" or "back pressure routing") for queueing networks. It shows转载 2013-09-10 23:42:42 · 2590 阅读 · 0 评论 -
NS2中节点的CSThresh_和RXThresh_设置
1.CSThresh_和RXThresh_两个阈值的解释 在802.11的载波侦听机制中,主要的有 Physical Carrier Sense和Virtual Carrier Sense(RTS/CTS)两种。NS-2中控制数据包接收与否也是通过CSThresh_和RXThresh_进行决定,下面对这两个值做简要介绍。 (1)Pr(接收到的信号能量) (2)CST原创 2013-09-14 11:00:33 · 2832 阅读 · 5 评论 -
IEEE 802.11 MAC
转载地址:http://www.winlab.rutgers.edu/~zhibinwu/html/wlan_back.htmUndesrstanding Carrier Sense & Back Off:Consider the following two questions about IEEE 802.11 Standard:1. Carrier Sense is pro转载 2013-08-14 00:59:25 · 1497 阅读 · 0 评论 -
NS2中路由性能分析
A Typical DSR routing trace format:s 606.210364161 _39_ RTR --- 1306 DSR 44 [13a a 27 800] ------- [39:255 8:255 255 8] 2 [0 0] [0 0 0 0->0] [1 1 8 39->10] s: means send606.210364161: time转载 2013-08-14 01:12:14 · 1772 阅读 · 0 评论 -
可信任AODV(TRUSTAODV)
转载地址:http://www.dcs.warwick.ac.uk/~adhoc1/trustaodv.html3. TRUSTAODV3.1. Evaluating Trust3.1.1 Acknowledgements3.1.2 Packet Precision3.1.3 Gratuitous Route Replies3.1.4 Blacklists3.1.5 Hello Pac转载 2013-08-02 11:02:18 · 1072 阅读 · 0 评论 -
ns2.35中的IEEE802.11e模块移植
关于IEEE802.11e的内容就不多说了,直接开始移植工作。之前的802.11e模块主要是在ns2.88上开发的,不能直接在ns2.35上使用,下面就给出移植的补丁。根据我做的补丁对ns2.35进行修改,能够顺利运行,补丁内容如下:diff -u -r ns-2.35-original/common/packet.h ns-2.35/common/packet.h--- ns-2原创 2013-08-09 11:15:18 · 2109 阅读 · 6 评论 -
NS2中MCMI获取接口信道利用率
转载地址:http://liujian.jigsy.com/entries/ns2/ns2-mcmi%E6%96%B0%E6%A8%A1%E5%9D%97%E7%9A%84%E6%B7%BB%E5%8A%A0%EF%BC%9A-%E8%8E%B7%E5%8F%96%E6%AF%8F%E4%B8%AA%E6%8E%A5%E5%8F%A3%E4%BF%A1%E9%81%93%E7%9A%84%E5%8转载 2013-08-13 14:24:49 · 1441 阅读 · 1 评论 -
NS2中的多速率MAC
转载地址:http://www.winlab.rutgers.edu/~zhibinwu/html/multirate_ns_mac.htmIntroductionFirst, an introduction on "how ns-2 handle the 802.11 rate":There is a file ns-mac.tcl in ./tcl/lib director转载 2013-08-14 00:57:00 · 1016 阅读 · 0 评论 -
Fading Link Error
OAR ns extensions for Fading:The error-part is extended from another online patch from CMU and Rice Univ.Cite from OAR site:"Although the CMU implementation results in an accurate simulation转载 2013-08-14 01:01:24 · 709 阅读 · 0 评论 -
NS2中IEEE 802.11 MAC的bug和问题
The discussion can be classified as two parts. Part 1 is about the bugs and flaws of ns-2 802.11 code. This can be fixed.Part 2 comes from ambiguous understandings of the 802.11 standard or inhere转载 2013-08-14 01:05:15 · 1373 阅读 · 0 评论 -
NS2中DSDV分析
In this routing protocol routing messages are exchanged between neighboring mobilenodes (i.e mobilenodes that are within range of one another), not flooding (the route advertisements are not re-broa转载 2013-08-14 01:06:49 · 1337 阅读 · 0 评论 -
NS2中的DSR分析
Source code : Not all flies in ./dsr/ directory are used by the ns-2. the routing agent is implemented as Agent/DSRAgent. Thus, the source codes include:dsragent.cc (h): DSR agent cla转载 2013-08-14 01:08:13 · 1959 阅读 · 0 评论 -
NS2中静态(手动)路由代理实现
Outline Implementation of a new routing agent, based on DSDV agent Example of Routing Table Source code 1. Agent and ConnectorConnector is one of the most basic classes in ns-2. It ha转载 2013-08-14 01:09:59 · 1096 阅读 · 0 评论 -
A mini-tutorial for TCP-Linux in NS-2
转载地址:http://netlab.caltech.edu/projects/ns2tcplinux/ns2linux/tutorial/index.htmlA mini-tutorial for TCP-Linux in NS-2(Part of the NS-2 enhancement project)David X. WeiNetlab @ CaltechI转载 2013-09-14 23:48:09 · 1054 阅读 · 0 评论 -
Power-Aware Message Propagation Algorithm
What is PAMPA?PAMPA (Power-Aware Message Propagation Algorithm) is a broadcast algorithm for mobile ad hoc networks (MANETS). Like broadcast algorithms described in [Tseng:02], [Haas:02] or[Huang:06转载 2013-10-08 14:58:22 · 1005 阅读 · 0 评论 -
NS2 教学手册(柯志亨网站资源)
NS2 教學手冊 ( NS2 Learning Guide)[快速連結區]My works 中文影音教學區 Q&A for my works My Book My Talks Forum Basic ns2-installation Tcl/Tk/Otcl Debug Trace Processing awk/gawk Gnuplot perl late转载 2013-11-25 18:40:42 · 9837 阅读 · 2 评论 -
VCP及其改进算法资源
BMCC和MLCP的资源:http://people.cs.pitt.edu/~ihsan/research_summary.html原创 2013-12-16 20:56:15 · 713 阅读 · 0 评论 -
NS2仿真实验环境组建
NS2仿真实验环境组建1 实验要求与目的●接触Linux/Cygwin操作界面和简单命令●掌握NS2仿真实验环境的搭建●熟悉NS2仿真实验过程2 实验环境与模块简介本教程绝大部分实验环境基于Windows XP/Windows 7,利用虚拟机+Ubuntu构建仿真环境。为了让部分不熟悉Ubuntu系统的读者也能高效完成实验,实验也可在Cygwin环境下运行。由于Ubuntu原创 2014-05-05 09:36:32 · 4685 阅读 · 0 评论 -
Leach协议性能分析(2)
1.复制leach_test为leach-c_test,修改里面的文件夹和输出文件名。并且手动建立相应的文件夹。很多教程说只修改文件名,没提到修改文件夹,如果同时运行两个协议会覆盖一部分实验结果的,而且是并行的就更难分解出是哪个协议的实验数据了。所以还是分开较好。2.添加到test文件最后,后台运行的,需要等待。3.写脚本分析实验数据。[plain]转载 2014-05-14 01:09:29 · 1557 阅读 · 0 评论 -
无线网络传输问题探讨及效果分析
1、Destination(1)了解什么是隐藏节点和暴露节点问题(2)了解RTS/CTS是如何降低隐藏节点问题发生的概率,以提升系统效果(3)了解NS2中无线传输模型和门限的概念(4)了解如何在NS2中建立无线自组织网络(Wireless Ad Hoc Networks)(5)学习分析无线自组织网络路由协议(Ad Hoc Routing Protocol)的效果(6)了解8转载 2014-05-14 00:58:44 · 3948 阅读 · 0 评论 -
myEvalvid和myEvalvid-NT及图像传输效
1、Destination(1)了解Evalvid的系统结构及其优缺点(2)了解整合Evalvid和NS2所得的myEvalvid的系统结构(3)了解通过更改myEvalvid得到的myEvalvid-NT系统结构(4)了解可解画面比例(Decodable Frame Rate)的意义及其分析模型(5)了解如何使用 myEvalvid 和 myEvalvid-NT 来仿真和评估转载 2014-05-14 00:59:57 · 2441 阅读 · 0 评论 -
Leach协议改进
References:http://www-mtl.mit.edu/~anantha/docs/journals/2002_heinzelman_twn.pdfhttp://mtlweb.mit.edu/researchgroups/icsystems/uamps/pubs/LEACH协议之后,很多人进一步提出了改进的LEACH协议,如SEP协议,选择LEACH协议来学习NS2主要转载 2014-05-14 01:06:27 · 4040 阅读 · 2 评论 -
Leach协议性能分析(1)
$ ./test 结果文档在mit/uAMPS/sims文件夹下,分别为:wireless.alive wireless.energy wireless.datawireless.alive第一行是运行时间,第二行就节点ID,第三行是如果是1,表示该节点还存活,如果是0,则表示节点死亡。wireless.energy和wireless.data也是同样的结构,对于leach产转载 2014-05-14 00:54:52 · 1201 阅读 · 0 评论 -
NS2流量整形器
1、Destination学习令牌桶数据整形器如何对流量调整传输速率2、Background由于网络传输的突发性,往往导致网络拥塞,而一些实时服务或者重要应用要求必须保证网路通信的质量,相应的出现QoS的探讨和研究。实现QoS的方法有 InteServ(综合服务),DiffServer(区分服务)和Traffic Shaper(流量整形)。流量整形就是调整传输数据的平均速度,让封包转载 2014-05-14 01:04:29 · 1479 阅读 · 0 评论 -
排队和拥塞控制(课程资源)
Material covered are displayed in blue.You can save a webpage into the file in your own directory by doing the following in Netscape: Click File -> Save As Complete the file name in the "转载 2013-11-25 18:35:41 · 1032 阅读 · 0 评论 -
Studying TCP's Throughput and Goodput using NS
Studying TCP's Throughput and Goodput using NSWhat is ThroughputThroughput is the amount of data received by the destination.The Average Throughput is the throughput per unit of ti转载 2013-11-22 22:55:21 · 1036 阅读 · 0 评论 -
Network Simulator 2 for Wireless : My Experience
IntroductionNs-2 is a widely used tool to simulate the behavior of wired and wireless networks. Useful general information can be found at Official ns-2 website (http://www.isi.edu/nsnam/ns/ )转载 2013-10-19 20:31:12 · 884 阅读 · 0 评论 -
动态能量控制(for NS2)
Power Control schemes suitably vary transmission power to reduce energy consumption. In addition to providing energy saving, power control can potentially be used to reduce interference and improve转载 2013-10-25 20:33:56 · 1275 阅读 · 0 评论 -
关闭能量日志(for NS2)
In common/mobilenode.ccvoidMobileNode::log_energy(int flag){ if (!log_target_) return; /*[PH] turn off energy log Scheduler &s = Scheduler::instance(); if (flag转载 2013-10-26 14:15:17 · 729 阅读 · 0 评论 -
定时器使用(for NS2)
AODV method:1. define your timer in the .h file such as in the aodv.h fileclass PrintTimer : public Handler {public: PrintTimer(AODV* a) : agent(a) {} void handle(Event*);private:转载 2013-10-26 14:16:44 · 1107 阅读 · 0 评论 -
跨层访问实现(for NS2)
Till now I know 3 ways:1. If you only need to get several values, a simple way is to use tcl.eval(char* s).1) Write a command that you will call in your sensor-agent.cc (can be others such as aod转载 2013-10-26 14:20:01 · 1066 阅读 · 0 评论 -
考虑链路丢失率或冲突的Mac802_11仿真 (for NS2)
In Mac802_11 simulations, packets are assumed to be received correctly within transmission range, hence a RTS will definitely get a CTS response. However, when you use shadowing propagation model, or转载 2013-10-26 14:14:12 · 1092 阅读 · 0 评论