非常详细介绍ns2里的802.11MAC代码的一篇文章.非常有用噢~~~
802.11 MAC code in NS-2 (version 2.28)
by Joshua Robinson (jpr at rice.edu)
Last update: 4-29-05
非常详细介绍ns2里的802.11MAC代码的一篇文章.非常有用噢~~~
802.11 MAC code in NS-2 (version 2.28)
by Joshua Robinson (jpr at rice.edu)
Last update: 4-29-05
Classification of the Characteristics of Ad-Hoc Protocols and Routing-Strategies
Extension of Lang2003 and Murthy2004.
生活就像做卖身女一样,起初几天总会显出几分害羞和生涩,却也总是充满着激情和冲动,妄想着成为本行业的领军人物或绝世名妓,或者妄想着能遇到解救自己的白 马王子,或是能赚够钱后把自己从店老板那里赎回,于是怀着忐忑不安的心情,招揽着各色各样的生意,每每体会着兴奋和快感,填充着内心的或简单或复杂的欲 望……于是,如此,反反复复着,周而复始着,一天又一天,望着日出而吐眼圈,看着日落而长叹息……渐渐的,希望总成为失望,失望又变成绝望,一切变得大大 咧咧无所谓,敞开了去继续做着重复的事儿,没了动力,没了乐趣,没了信心,就终于成了庸俗的生活机器,麻木的行尸走肉,是的,行尸走肉是永远意识不到自己 已经成了行尸走肉的,因为,人只会在自己的意识范畴上摄取着自己所需的活下去的动力,或许是那豪宅万间,或是那后宫三千,或简单的一个博士学位,或者哪怕只是一根儿烟……
详细介绍adhoc的routing,转自非常BT的wiki.uni.lu,这是一个很好的网络科技百科.列出了太多太多routing protocol…-_-’
Ad-Hoc Routing Protocols (Classification)
I try in this post to sum up and explicit the main differences between
the approach proposed by R.Aguero et al. in their how-to and ours with
the MW-Node. I hope it helps you choosing what better fits your needs.
这个也是一个叫Aguero Ramon开发的多接口多信道的ns2扩展.十分不错.详细信息在pdf里:
一个我最开始选用的multi-interface的扩展,不过貌似不是特别好用,现在转移用hyacinth了…XD….如下:
MW-Node patch for ns-2
A Module-based Wireless Node (MW-Node) is a Node with wireless and mobile capabilities added by means of modules. It is not a new node object derived from Node. Rather it is a new layout of mostly existing components. Rationale for this new design has been presented in [1]. The MW-Node provides a flexible support for wireless and mobile networking and in particular:
* support for multiple interfaces/multiple channels, and
* a common basis for the implementation of wireless routing protocols.
本文稍微大概介绍了一下ns2里的802.11b…
Making NS-2 simulate an 802.11b link
Joshua Robinson jpr -at- rice.edu
大概分几类,1)分析trace;2)场景制作;3)结果绘图;4)awk和sh脚本等等
TeNS是另一个支持多信道多接口的NS2的扩展.比Hyacinth的扩展性要强,自由度高.但是貌似支持的ns2版本太老了…用在ns-allinone-2.1b9a-gcc32… -_-”
Multiple interface support added
Static Routing implemented for wireless nodes
Co Channel interference added
Adaptive data rate support for 802.11
BPSK Modulation Scheme Added
Directional Antenna support added (More radiation pattern added in TENS1.2)
Channel Number made configurable
Addition of ARP entries through script
2-p protocol for point to point link added
Several MAC parameters like RTS Threshold, Capture threshold made configurable.
Two methods will be presented. One is to parse the traffic trace file by using gawk, and the other is to insert some codes in C++ codes. The first method is easy when the simulation is only on wired network topology. When the simulation covers wireless part, using gawk to parse traffic trace file becomes hard. Because the trace format for wireless is not the same. However, the second method needs some efforts before using it. But if the work is done, it will be easy for you to get these metrics despite wireless or wired simulation scenarios.
在ns-2.29/indep-utils/propagation/threshold.cc內可以得知,FreeSpace與TwoRayGround兩種model計算Pr的方式:
Read the rest of this entry »
学习802.11的载波侦听机制,其实最重要的是了解 Physical Carrier Sense和Virtual Carrier Sense的不同,另外,NS-2里如何控制一个包能不能被接收到,能不能产生干扰的机制,也就是那几个关键的控制数值,如 CSThresh,RXThresh,Pr等等。这里解释一下:
一个Multi-Interface的扩展,没用过,回头用用看 ; )
ns2还没搞懂,ns3终于出来了…虽然是稳定版但是实际上功能大大滴不行~~.还是老实搞ns2和qualnet了吧~~~~XD
Wireless Networking: ns2 Laboratory Exercises
这是无意翻到的而一个人的Q&A,有点小内容摘抄下.~;_)
http://web.syr.edu/~dchen02/FAQ.txt
Blogspot非常好用,但是自带的模板是不能让博客首页现实每个文章的摘要的,一下子就全显示出来,特不爽.于是找了点信息.改了一下.舒服了许多; )
TCP流量的取得,先修改添加tcpsink,然后用perl脚本对tcpsink的trace进行分析:
非常有用的很直接能看到flow的throughput的修改.利用loss-monitor,记录第一个包和最后一个包的抵达时间,然后计算出流量. 用于UDP.
Recent Comments