olsr-0.2.3-ns-2.34.tar.gz

  • tefy
    了解作者
  • LINUX
    开发工具
  • 61KB
    文件大小
  • gz
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 1
    下载次数
  • 2018-01-15 13:44
    上传日期
patch for olsr install
olsr-0.2.3-ns-2.34.tar.gz
  • olsr-0.2.3-ns-2.34
  • other
  • result.sh
    489B
  • run.sh
    1.6KB
  • samples
  • script-olsr.tcl
    12.8KB
  • script-olsr-md.tcl
    12.8KB
  • script-olsr-ml.tcl
    12.8KB
  • script-olsr-etx.tcl
    12.8KB
  • README.html
    15.7KB
  • olsr.patch
    264.6KB
  • ACKNOWLEDGEMENTS
    269B
  • LICENSE
    17.6KB
  • INSTALL
    715B
内容介绍
<html> <head> <title>Frequently Asked Questions (FAQ) about the OLSR-ETX / ML / MD module for NS-2</title> </head> <body> <h1>Frequently Asked Questions (FAQ) about the OLSR-ETX / ML / MD module for NS-2</h1> Copyright (c) 2009 Weverton Luis da Costa Cordeiro <h2>Acknowledgements</h2> <p align="justify">Thanks to Francisco J. Ros, who has initially released OLSR code for NS2 (<a target="_blank" href="http://masimum.dif.um.es/?Software:UM-OLSR" rel='nofollow' onclick='return false;'>http://masimum.dif.um.es/?Software:UM-OLSR</a>) as open source software.</p> <h2>Introduction</h2> <p align="justify">I have received several questions regarding the OLSR-ETX / ML / MD module, most of them more than once. In order to ease the process of obtaining information, I have selected the most relevant Q&amp;A and posted in this page, in hope that it will be useful for prospective users. This document is not intended to have the same style of a scientific document or report; in any case, my apologies for mistakes found in it. Comments and contributions are very welcome.</p> <p align="justify"><b>QUESTION - How do I install the OLSR-ETX / ML / MD module for NS-2?</b></p> <p align="justify">(Adapted from UM-OLSR, by Francisco J. Ros)<br/> <br/> The process is fairly simple. Here we assume that you have downloaded and unpackaged the allinone distribution of ns2. Assuming also that you have downloaded olsr-x.x.xx.tar.gz to your home folder, execute:<br/> <br/> <pre> $ tar xzf olsr-x.x.xx.tar.gz $ cd ns-allinone-x.xx/ns-x.xx/ $ patch -p1 < ~/olsr-x.x.x/olsr.patch </pre> <br/> If you haven't installed ns2 yet, then do the following:<br/> <br/> <pre> $ cd .. $ ./install </pre> <br/> On the other hand, if you are installing UM-OLSR on a running installation of ns2:<br/> <br/> <pre> $ ./configure $ make distclean $ ./configure $ make </pre> <br/> NOTE: code should work on previous versions of ns2, but only patches for the latest ones are provided.<br/> </p> <p align="justify"><b>QUESTION - What is the purpose of the several parameters of the OLSR-ETX / ML / MD module ?</b></p> <p align="justify">These parameters are use to specify which algorithms should be used for selection of multipoint relays and computation of routing tables, the behavior of the OLSR protocol, etc.<br/> <br/> In summary, the implementations that you may find in the web site (<a target="_blank" href="http://www.inf.ufrgs.br/~wlccordeiro/resources/olsr/" rel='nofollow' onclick='return false;'>http://www.inf.ufrgs.br/~wlccordeiro/resources/olsr/</a>) are actually several versions of the same ns module for simulating the different flavours of OLSR: the original OLSR (as published in RFC 3626), OLSR-ETX (a variation of the original OLSR employing the metric proposed by De Couto et al.), OLSR-ML (proposed by Passos et al.), and OLSR-MD (the one our team have proposed). You may find link to the papers describing each of these papers in <a target="_blank" href="http://www.inf.ufrgs.br/~wlccordeiro/resources.html" rel='nofollow' onclick='return false;'>http://www.inf.ufrgs.br/~wlccordeiro/resources.html</a> . Basically, what we have done was implementing all these flavors in the same ns module. The behaviour of the module depends on the values assigned to the following variables:<br/> <br/> Simulation of the ordinary OLSR:<br/> <br/> <pre> Agent/OLSR set mpr_algorithm_ 1 Agent/OLSR set routing_algorithm_ 1 Agent/OLSR set link_quality_ 1 Agent/OLSR set link_delay_ false </pre> <br/> Simulation of OLSR-ETX:<br/> <br/> <pre> Agent/OLSR set mpr_algorithm_ 2 Agent/OLSR set routing_algorithm_ 2 Agent/OLSR set link_quality_ 2 Agent/OLSR set link_delay_ false </pre> <br/> Simulation of OLSR-ML:<br/> <br/> <pre> Agent/OLSR set mpr_algorithm_ 2 Agent/OLSR set routing_algorithm_ 2 Agent/OLSR set link_quality_ 3 Agent/OLSR set link_delay_ false </pre> <br/> Simulation of OLSR-MD:<br/> <br/> <pre> Agent/OLSR set mpr_algorithm_ 2 Agent/OLSR set routing_algorithm_ 2 Agent/OLSR set link_quality_ 2 # doesn't matter in this case Agent/OLSR set link_delay_ true </pre> <br/> The variable mpr_algorithm_ indicates the Multipoint Relay (MPR) selection algorithm that is going to be used. Some of the algorithms implemented in the OLSR module algorithm are extensive explained in the papers Quality of service routing in ad-hoc networks using OLSR and Optimal path selection in a link state QoS routing protocol.<br/> <br/> The variable routing_algorithm_, in turn, indicates whether the shortest path or Dijkstra algorithm will be used to compute each node's routing table.<br/> <br/> The variable link_quality_ indicates how the link quality metric will be computed: if it will either follow the guidelines proposed by De Couto et al (A HighThroughput Path Metric for MultiHop Wireless Routing) or by Passos et al. (Mesh Network Performance Measurements).<br/> <br/> Finally, the variable link_delay_ indicates whether the minimum delay between nodes will serve as criterion for the selection of paths between them. In order to compute delay, we have used a variation of the CapProbe algorithm (further information and references may be found in Providing Quality of Service for Mesh Networks Using Link Delay Measurements).<br/> </p> <p align="justify"><b>QUESTION - How do I configure my tcl scripts to simulate a mesh network? What do the values for the various OLSR parameters in the TCL scripts mean?</b></p> <p align="justify">The meaning of the various parameter values used to define the behavior of the OLSR protocol in the TCL script are described in the OLSR_parameter.h file. These are described in the table below:<br/> <center> <table border="1" cellspacing="0"> <tr> <th>Parameter</th> <th>Description</th> <th>Possible Values</th> <th>Value Description</th> </tr> <tr> <td>Agent/OLSR set use_mac_</td> <td>Determines if layer 2 notifications are enabled or not</td> <td><b>true</b>, <b>false</b></td> <td>--</td> </tr> <tr> <td>Agent/OLSR set willingness</td> <td>Willingness of a node for forwarding packets on behalf of other nodes</td> <td>(see RFC 3626)</td> <td>(see RFC 3626)</td> </tr> <tr> <td>Agent/OLSR set hello_ival_</td> <td>HELLO messages' emission interval</td> <td>(see RFC 3626)</td> <td>(see RFC 3626)</td> </tr> <tr> <td>Agent/OLSR set tc_ival_</td> <td>TC messages' emission interval</td> <td>(see RFC 3626)</td> <td>(see RFC 3626)</td> </tr> <tr> <td rowspan="4">Agent/OLSR set tc_redundancy_ (<b>v 0.2.2 and prior, see below</b>)</td> <td rowspan="4">Determine the redundancy level of TC messages</td> <td>0 (OLSR_TC_REDUNDANCY_MPR_SEL_SET)</td> <td>(see RFC 3626)</td> </tr> <tr> <td>1 (OLSR_TC_REDUNDANCY_MPR_SEL_SET_PLUS_MPR_SET)</td> <td>(see RFC 3626)</td> </tr> <tr> <td>2 (OLSR_TC_REDUNDANCY_FULL)</td> <td>(see RFC 3626)</td> </tr> <tr> <td>3 (OLSR_TC_REDUNDANCY_MPR_SET)</td> <td>non-OLSR standard: publish mpr set only</td> </tr> <tr> <td rowspan="5">Agent/OLSR set mpr_algorithm_</td> <td rowspan="5">Indicate which MPR selection algorithm will be used</td> <td>1 (OLSR_DEFAULT_MPR)</td> <td>use the original MPR selection algorithm as proposed in RFC 3626</td> </tr> <tr> <td>2 (OLSR_MPR_R1)</td> <td>non-OLSR standard: use the MPR selection algorithm OLSR_R1 (<a href="http://portal.acm.org/citation.cfm?id=821754" target="_blank" rel='nofollow' onclick='return false;'>paper</a>)</td> </tr> <tr> <td>3 (OLSR_MPR_R2)</td> <td>non-OLSR standard: use the MPR selection algorithm OLSR_R2 (<a href="http://portal.acm.org/citation.cfm?id=821754" target="_blank" rel='nofollow' onclick='return false;'>paper</a>)</td> </tr> <tr> <td>4 (OLSR_MPR_QOLSR)</td> <td>non-OLSR standard: use the MPR selection algorithm QOLSR_MPR_Selection (<a href="http://portal.acm.org/citation.cfm?id=1115064"
评论
    相关推荐