Changes between Version 1 and Version 2 of HowTo/DelayTolerantNetworking


Ignore:
Timestamp:
08/05/16 13:11:57 (3 years ago)
Author:
tteixeir@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HowTo/DelayTolerantNetworking

    v1 v2  
    5252    <td style="width:70%">
    5353      <ol type='a'>
    54         <li>When creating your topology, please select the following image using the URL (all racks) or URN (Stanford rack). If you are using Jacks, copy and paste the URL into the Disk Image field.</li>
     54        <li>When creating your topology, please select the following image using the URL (all racks) or URN (Stanford rack). If you are using Jacks, copy and paste the URL into the Disk Image field.<br>
     55        <i>URN:  urn:publicid:IDN+instageni.stanford.edu+image+ch-geni-net:dtnnode <br>
     56        URL:  https://www.instageni.stanford.edu/image_metadata.php?uuid=189d0191-4ac8-11e6-8cfa-000000000000</i>
     57        </li>
    5558    </td>
    5659    <td style="width:30%" align="right">
     
    6164}}}
    6265
    63 ==== Configuration files ====
    64 
    65 Required changes.
    66 
     66Please refer to the documentation on {{{/local/DTN2/doc/manual}}} or online at [https://sites.google.com/site/dtnresgroup/ dtnrg].
     67{{{
     68#!comment
    6769== 3. Running an experiment ==
    6870
    69 Sending and receiving bundles
     71Make your {{{dtn}}} directory and copy the configuration file. ^([#hn note: change <your_user> for your actual username])^
     72{{{
     73mkdir /home/<your_user>/dtn
     74cp /local/DTN2/daemon/dtn.conf /home/<your_user>/dtn/dtn.conf
     75}}}
     76
     77We will edit the configuration file we've just created.
     78{{{
     79#!html
     80<ol>
     81  <li>Set the directory to be used for bundle payload files </li>
     82      <i>payloaddir</i> to /home/&lt;your_user&gt;/dtn/bundles <br><br>
     83
     84  <li>Set the directory to be used for database files </li>
     85      <i>dbdir</i> to /home/&lt;your_user&gt;/dtn/db <br><br>
     86
     87  <li>Create a route to the deamon</li>
     88      route local_eid dtn://&lt;node_name&gt;.dtn<br><br>
     89
     90  <li>Interfaces</li>
     91      By default, interfaces listen on port 4556. If you wish to use a different port
     92      you can override by using the <i>local_port=&lt;port_#&gt;</i> argument.<br><br>
     93
     94  <li>Links</li>
     95      link add link_name ip address[:port number] ONDEMAND tcp<br><br>
     96
     97  <li>Route</li>
     98      route add dtn://george.dtn/* link_tcp<br><br>
     99
     100  <li>Save and quit the configuration file</li><br>
     101
     102  <li>Start the database</li>
     103      $ daemon/dtnd -c /home/fred/dtn/dtn.conf --init-db <br><br>
     104
     105  <li>Run the DTN daemon</li>
     106      $ daemon/dtnd -c /home/fred/dtn/dtn.conf -l info <br><br>
     107
     108  <li>Checking connectivity using DTN-Ping</li>
     109      $ ./dtnping localhost
     110
     111</ol>
     112}}}
     113
    70114
    71115== 4. Wrap-up ==
    72116
    73117Moving on to a bigger topology.
     118}}}