OLSR_MPR.192
所属分类:其他
开发工具:C++
文件大小:73KB
下载次数:0
上传日期:2020-11-21 14:26:10
上 传 者:
monloussi
说明: Code to simulate OLSR using NS2
文件列表:
Files (0, 2010-10-12)
Files\include (0, 2010-10-12)
Files\include\olsr_qos.h (3721, 2009-03-26)
Files\include\olsr_qos_pkt_support.h (3362, 2009-05-27)
Files\process (0, 2010-10-12)
Files\process\olsr_rte.pr.m (317208, 2010-09-24)
Patrick Sondi Obwang
University of Valenciennes
patrick.sondiobwang@univ-valenciennes.fr
##################################################################
This readme file will help you configure the process model
that we propose for simulation purpose.
This process model is a modification of the original olsr_rte
process model provided in the OPNET 16.0 package. The main
changes aim at providing QoS support in OLSR-based MANET.
#############################################################
Download and installation instructions
#############################################################
- extract the files in a temporary directory of your computer
- move the header files contained in the include directory to
"OPNET directory"\16.0.A\models\std\include
- backup the olsr_rte.pr.m file from your OPNET original installation
(see in "OPNET directory"\16.0.A\models\std\manet)
- move the olsr_rte.pr.m file from process directory in the temporary directory to
"OPNET directory"\16.0.A\models\std\manet
#############################################################
Configuration instructions
#############################################################
In addition to the OLSR protocol parameters that can be configured
as described in the OPNET documentation:
- You MUST specify the transmission range in the olsr_rte.function
block (line 173). The default value is set to 100.0 meters for a
MAC Tx power set to 0.0000323. See OPNET FAQs on www.opnet.com to
learn more about fixing the range of wireless networks.
The experiments we performed show that reducing the TX power causes
an increase of the loss rate ... so we encourage you to use the default
TX rate of OPNET and set the range to 300 meters.
- You can specify the metrics that must be considered for routes computation:
The default value is 0 for : bandwidth, delay, loss and willingness
You can set (line 174) :
1 : for bandwidth only
2 : for delay only
3 : for loss only
4 : for willingness only
- The values of the QoS metrics are refreshed according to a time interval
which is stored in the window_size variable. Set it to 5.0 seconds if you
use default Hello and TC intervals.
Once the configuration is finished, open the olsr_rte.pr.m in the OPNET
0modeler and compile it. You are now ready to make simulation with this
model of the OLSR protocol with QoS support.
We are still improving the process, feel free to sending us your remarks.
Note: For Linux users, the process compiler ends with warning when it
detects in the source files some functions or variables that are declared
but not used. Don't pay attention, just proceed! On some architectures, you
need to use the advanced compiler options and choose x*** compilation instead of 32.
近期下载者:
相关文件:
收藏者: