Re: [dtn-interest] dtn.conf

Michael Demmer <demmer@cs.berkeley.edu> Thu, 06 January 2005 13:35 UTC

Received: from relay0.EECS.Berkeley.EDU (relay0.EECS.Berkeley.EDU [169.229.60.163]) by webbie.berkeley.intel-research.net (8.11.6/8.11.6) with ESMTP id j06DZt106832 for <dtn-interest@mailman.dtnrg.org>; Thu, 6 Jan 2005 05:35:55 -0800
Received: from pisco (pisco.CS.Berkeley.EDU [128.32.37.175]) by relay0.EECS.Berkeley.EDU (8.13.2/8.12.10) with ESMTP id j06DZpgs015910; Thu, 6 Jan 2005 05:35:52 -0800 (PST)
Received: from demmer by pisco with local (Exim 4.34) id 1CmXnm-0002SW-QG; Thu, 06 Jan 2005 05:35:46 -0800
Date: Thu, 06 Jan 2005 05:35:46 -0800
From: Michael Demmer <demmer@cs.berkeley.edu>
To: Daniel Caughran <dfcaughran@comcast.net>, dtn-interest@mailman.dtnrg.org, colin.a@gmail.com, jeff@elkner.net, Scott.Burleigh@jpl.nasa.gov, sosolish@gmail.com
Subject: Re: [dtn-interest] dtn.conf
Message-ID: <20050106133546.GA9393@pisco.cs.berkeley.edu>
Mail-Followup-To: Daniel Caughran <dfcaughran@comcast.net>, dtn-interest@mailman.dtnrg.org, colin.a@gmail.com, jeff@elkner.net, Scott.Burleigh@jpl.nasa.gov, sosolish@gmail.com
References: <DJEOLFIKBMLMPLGGFKELCEHICAAA.dfcaughran@comcast.net> <20050106133038.GA8896@pisco.cs.berkeley.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20050106133038.GA8896@pisco.cs.berkeley.edu>
User-Agent: Mutt/1.4.2i
Sender: dtn-interest-admin@mailman.dtnrg.org
Errors-To: dtn-interest-admin@mailman.dtnrg.org
X-BeenThere: dtn-interest@mailman.dtnrg.org
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Help: <mailto:dtn-interest-request@mailman.dtnrg.org?subject=help>
List-Post: <mailto:dtn-interest@mailman.dtnrg.org>
List-Subscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-interest>, <mailto:dtn-interest-request@mailman.dtnrg.org?subject=subscribe>
List-Id: Delay Tolerant Networking Interest List <dtn-interest.mailman.dtnrg.org>
List-Unsubscribe: <http://mailman.dtnrg.org/mailman/listinfo/dtn-interest>, <mailto:dtn-interest-request@mailman.dtnrg.org?subject=unsubscribe>
List-Archive: <http://mailman.dtnrg.org/pipermail/dtn-interest/>

Oops -- nothing like correcting your own mistakes seconds after
sending an email...

My syntax for the "link add" command is wrong but actually reflects a
change that I plan to make in the near future. I had just forgotten
that I hadn't made the change yet.

You actually need to include a full DTN tuple (i.e. including the
region) in the link add command, even though the region part is
ignored. So the config should be:

   # machine 1
   link add tcp0 bundles://xyz/host://machine2.dns.org:5000 ONDEMAND tcp
   route add bundles://internet/host://machine2.dns.org/* tcp0
   route add bundles://internet/host://machine3.dns.org/* tcp0

   # machine 1
   link add tcp0 bundles://xyz/host://machine1.dns.org:5000 ONDEMAND tcp
   link add tcp1 bundles://xyz/host://machine3.dns.org:5000 ONDEMAND tcp
   route add bundles://internet/host://machine1.dns.org/* tcp0
   route add bundles://internet/host://machine3.dns.org/* tcp1

   # machine 3
   link add tcp0 bundles://xyz/host://machine2.dns.org:5000 ONDEMAND tcp
   route add bundles://internet/host://machine1.dns.org/* tcp0
   route add bundles://internet/host://machine2.dns.org/* tcp0

-m