Upload
nasirbhutta
View
403
Download
0
Embed Size (px)
Citation preview
Delay Tolerant Networking Software (DTN2)
Weekly Meeting Friday, 06 Feb 2009DTN-SG Muhammad Nasir Mumtaz Bhutta
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta 2
DTN2 Introduction Reference implementation of DTN
architecture. Designed to validate protocols design on
DTN architecture. Available to Run on Windows as well as on
Linux. For windows, first we have to install Cygwin
and then DTN2 can run on Windows.
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta
Compiling DTN2
Linux Compilation $ gunzip -c DTN2-X.Y.Z.tgz | tar xvf $ cd DTN2 $ sh configure -C $ make Copy compiled files to different folders.
Windows Installation Install Cygwin (A linux like environment) Compile using above commands.
3
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta
DTN2 Architecture
4
DTN2 Application
DTN2 Server
Provides DTNArchitecture Functionality
Any application
built on top of DTN
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta
DTN2 Server component
5
Request Transmission of
Bundle { Data
or Administrative Record }
Bundle Application Agent
Bundle Protocol Agent
Service and private Control Interface
Transmission of Bundle and
other operations
Convergence Layer Adapters
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta
Configuration
Directories Configuration Set the files path which DTN2 needs to
run. /home/nasir/dtn (main directory to hold all
directories and files). Copy dtn.conf file into this directory. /home/nasir/dtn/db (to keep information
about to keep DTN2 daemon alive) /home/nasir/dtn/bundles (to store bundles
in flight).
6
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta
Configuration
Interfaces Set the convergence layer protocols to be
used. i.e. TCP. Set the port number for protocol being to be
used.
Links and Routes Set the links and routes between
communicating devices. Specify the type of bundles to forward on
specified links. 7
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta
Some Example Applications for DTN2
First initialize the database, $ daemon/dtnd -c /home/fred/dtn/dtn.conf --init-db
Start the Server (daemon thread), daemon/dtnd -c /home/fred/dtn/dtn.conf
Now run any application to communicate with Daemon thread.
$ ./dtnping localhost $ DTN2/apps/dtnsend/dtnsend -s dtn://dtn-a.dtn/me -d dtn://dtn-a.dtn/testing -t m
-p "testing“ $ DTN2/apps/dtnrecv/dtnrecv dtn://dtn-a.dtn/testing
8
DTN-SG Meeting 26-September-2008 Muhammad Nasir Mumtaz Bhutta
Links for software
Micheal Dammer, main person in development of DTN2. http://www.cs.berkeley.edu/~demmer/
To download software, http://sourceforge.net/project/showfiles.p
hp?group_id=101657
More Implementations and Simulators, http://www.dtnrg.org/wiki/Code 9