802.11 MAC code in NS-2 (version 2.28)

7 07 2008

非常详细介绍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

Read the rest of this entry »





Ad-Hoc Routing Protocols (Characteristics)

7 07 2008

Classification of the Characteristics of Ad-Hoc Protocols and Routing-Strategies

Extension of Lang2003 and Murthy2004.


In general, routing can be divided into two strategies:
Adaptive Routing vs. Not-Adaptive Routing

  • Adaptive: Changes of the network-topology are adapted by the routing-strategy
  • Not-Adaptive: The routing is done using fixed tables

Read the rest of this entry »





“卖身”

7 07 2008

生活就像做卖身女一样,起初几天总会显出几分害羞和生涩,却也总是充满着激情和冲动,妄想着成为本行业的领军人物或绝世名妓,或者妄想着能遇到解救自己的白 马王子,或是能赚够钱后把自己从店老板那里赎回,于是怀着忐忑不安的心情,招揽着各色各样的生意,每每体会着兴奋和快感,填充着内心的或简单或复杂的欲 望……于是,如此,反反复复着,周而复始着,一天又一天,望着日出而吐眼圈,看着日落而长叹息……渐渐的,希望总成为失望,失望又变成绝望,一切变得大大 咧咧无所谓,敞开了去继续做着重复的事儿,没了动力,没了乐趣,没了信心,就终于成了庸俗的生活机器,麻木的行尸走肉,是的,行尸走肉是永远意识不到自己 已经成了行尸走肉的,因为,人只会在自己的意识范畴上摄取着自己所需的活下去的动力,或许是那豪宅万间,或是那后宫三千,或简单的一个博士学位,或者哪怕只是一根儿烟……





Ad-Hoc Routing Protocols (Classification)

7 07 2008

详细介绍adhoc的routing,转自非常BT的wiki.uni.lu,这是一个很好的网络科技百科.列出了太多太多routing protocol…-_-’

Ad-Hoc Routing Protocols (Classification)

Read the rest of this entry »





比较多信道多接口ns2扩展: “Aguero.C.R” VS “MW-Node”

6 07 2008

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.

Read the rest of this entry »





Aguero.C.R’s “Adding Multiple Interface Support in NS-2″

6 07 2008

这个也是一个叫Aguero Ramon开发的多接口多信道的ns2扩展.十分不错.详细信息在pdf里:

Read the rest of this entry »





“MW-Node” path for ns2 to support multiple interfaces & multiple channels

6 07 2008

一个我最开始选用的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.

Read the rest of this entry »





802.11b in NS2

6 07 2008

本文稍微大概介绍了一下ns2里的802.11b…

Making NS-2 simulate an 802.11b link
Joshua Robinson jpr -at- rice.edu

Read the rest of this entry »





很有用的ns2的相关处理工具

6 07 2008

大概分几类,1)分析trace;2)场景制作;3)结果绘图;4)awk和sh脚本等等

Read the rest of this entry »





TeNS:The Enhanced Network Simulator (TeNs), for multi-interface implementation

6 07 2008

TeNS是另一个支持多信道多接口的NS2的扩展.比Hyacinth的扩展性要强,自由度高.但是貌似支持的ns2版本太老了…用在ns-allinone-2.1b9a-gcc32… -_-”

Features in TENS 1.2

  • 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.

Read the rest of this entry »





Measure packet loss rate, jitter, and end-to-end delay for UDP-based applications

6 07 2008

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.

Read the rest of this entry »





Propagation Threshold calculation

6 07 2008

在ns-2.29/indep-utils/propagation/threshold.cc內可以得知,FreeSpace與TwoRayGround兩種model計算Pr的方式:
Read the rest of this entry »





NS2里的CSThresh,RXThresh,Pr等等的意义…

6 07 2008

学习802.11的载波侦听机制,其实最重要的是了解 Physical Carrier Sense和Virtual Carrier Sense的不同,另外,NS-2里如何控制一个包能不能被接收到,能不能产生干扰的机制,也就是那几个关键的控制数值,如 CSThresh,RXThresh,Pr等等。这里解释一下:

Read the rest of this entry »





NS-MIRACLE: Multi-InteRfAce Cross-Layer Extension library for the NS2

6 07 2008

一个Multi-Interface的扩展,没用过,回头用用看 ; )

Read the rest of this entry »





NS-3.1 Stable Release~~~!

5 07 2008

ns2还没搞懂,ns3终于出来了…虽然是稳定版但是实际上功能大大滴不行~~.还是老实搞ns2和qualnet了吧~~~~XD

Read the rest of this entry »





著名UIUC的WirelessLab共享的ns2练习课

5 07 2008

Wireless Networking: ns2 Laboratory Exercises

Read the rest of this entry »





无意翻到的而一个人关于NS2的Q&A,有十几个小问答

5 07 2008

这是无意翻到的而一个人的Q&A,有点小内容摘抄下.~;_)
http://web.syr.edu/~dchen02/FAQ.txt

Read the rest of this entry »





如何让Blogspot显示摘要

5 07 2008

Blogspot非常好用,但是自带的模板是不能让博客首页现实每个文章的摘要的,一下子就全显示出来,特不爽.于是找了点信息.改了一下.舒服了许多; )

Read the rest of this entry »





Measure the throughput of TCP-based application

5 07 2008

TCP流量的取得,先修改添加tcpsink,然后用perl脚本对tcpsink的trace进行分析:

Read the rest of this entry »





Get the system throughput for UDP-based application

5 07 2008

非常有用的很直接能看到flow的throughput的修改.利用loss-monitor,记录第一个包和最后一个包的抵达时间,然后计算出流量. 用于UDP.

Read the rest of this entry »