
From nobody Tue Sep  1 06:44:03 2015
Return-Path: <somreeta@ece.iitkgp.ernet.in>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E1851B828E for <dtn-users@ietfa.amsl.com>; Tue,  1 Sep 2015 06:44:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.794
X-Spam-Level: *
X-Spam-Status: No, score=1.794 tagged_above=-999 required=5 tests=[BAYES_60=1.5, RCVD_IN_DNSWL_LOW=-0.7, RELAY_IS_203=0.994] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w0Bhop-S7qBt for <dtn-users@ietfa.amsl.com>; Tue,  1 Sep 2015 06:43:55 -0700 (PDT)
Received: from imsvaou.iitkgp.ac.in (imsvaou.iitkgp.ac.in [203.110.245.100]) by ietfa.amsl.com (Postfix) with ESMTP id B38111B8272 for <dtn-users@irtf.org>; Tue,  1 Sep 2015 06:43:46 -0700 (PDT)
Received: from imsvaou.iitkgp.ac.in (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CD8224C8052 for <dtn-users@irtf.org>; Tue,  1 Sep 2015 19:20:17 +0530 (IST)
Received: from mtaout.iitkgp.ac.in (unknown [10.3.100.173]) by imsvaou.iitkgp.ac.in (Postfix) with ESMTP id AB74A4C8007 for <dtn-users@irtf.org>; Tue,  1 Sep 2015 19:20:17 +0530 (IST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mtaout.iitkgp.ac.in (Postfix) with ESMTP id 49DAF120DAE for <dtn-users@irtf.org>; Tue,  1 Sep 2015 18:59:18 +0530 (IST)
Received: from mtaout.iitkgp.ac.in ([127.0.0.1]) by localhost (mtaout.iitkgp.ac.in [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id RSX6EP22ibiQ for <dtn-users@irtf.org>; Tue,  1 Sep 2015 18:59:17 +0530 (IST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by mtaout.iitkgp.ac.in (Postfix) with ESMTP id BC673120DB5 for <dtn-users@irtf.org>; Tue,  1 Sep 2015 18:59:17 +0530 (IST)
X-Virus-Scanned: amavisd-new at mtaout.iitkgp.ac.in
Received: from mtaout.iitkgp.ac.in ([127.0.0.1]) by localhost (mtaout.iitkgp.ac.in [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Sp4xbxTHgoNL for <dtn-users@irtf.org>; Tue,  1 Sep 2015 18:59:17 +0530 (IST)
Received: from zmstore04.iitkgp.ac.in (unknown [10.3.100.179]) by mtaout.iitkgp.ac.in (Postfix) with ESMTP id A6A6B120DAE for <dtn-users@irtf.org>; Tue,  1 Sep 2015 18:59:17 +0530 (IST)
Date: Tue, 1 Sep 2015 18:59:53 +0530 (IST)
From: Somreeta Pramanik <somreeta@ece.iitkgp.ernet.in>
To: dtn-users@irtf.org
Message-ID: <1884272735.342002.1441114193972.JavaMail.zimbra@ece.iitkgp.ernet.in>
In-Reply-To: <962902596.115201.1438064722643.JavaMail.zimbra@ece.iitkgp.ernet.in>
References: <BLU179-W864EBEDD397DCA83778DBEE5930@phx.gbl> <BLU185-W804A4AD158B353322273C9CD930@phx.gbl> <962902596.115201.1438064722643.JavaMail.zimbra@ece.iitkgp.ernet.in>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.3.100.244]
X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF39 (Win)/8.0.9_GA_6191)
Thread-Topic: Routing protocol source code
Thread-Index: Teoj7N2XviFahcx8HoEdMHsvpNOBIBRu9M9w
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSVA-8.5.0.1165-8.0.0.1202-21784.007
X-TM-AS-Result: No--2.823-7.0-31-10
X-imss-scan-details: No--2.823-7.0-31-10
X-TM-AS-User-Approved-Sender: No
X-TMASE-Version: IMSVA-8.5.0.1165-8.0.1202-21784.007
X-TMASE-Result: 10--2.822800-5.000000
X-TMASE-MatchedRID: iAu5YawaVP1x1XV+/0DNMGgws6g0ewz24tNMMr1V2cUujyxRHwe+HGB5 N6RCXcCH63rRIS8izbFM0AWQBBcXdpeKEBrtg7hGhHmomIa3AEjl+C/TtJPbay1bKLdhloRJ9j4 TJcL1hPXi8zVgXoAltkWL4rBlm20vExAtD/T72EbdB/CxWTRRu+rAZ8KTspSzQ7g2tX0YiWX1vh IuraPP1nF++OmMe3ohKgNv/ueCVb4RC72c2KkzOjw8wJRxJtH5SY6OauToD1zDkmgcLZLPmR1JH L1t+Qcm2efTvdiiMzJQ1gYOnQl2HlHSOQV2/xXxbnbnwOtfCg9+3BndfXUhXQ==
Archived-At: <http://mailarchive.ietf.org/arch/msg/dtn-users/LchlovjJwZrmUHN6dV3sHmhWZu4>
Subject: [dtn-users] regarding source code.
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Sep 2015 13:44:02 -0000

Dear all,
I am analyzing the performance of one routing protocol " Storage Routing for DTN congestion control ". Does anyone have or know where I can get the source code for implementing the following routing protocol (or any other related protocol). Please Help.

http://onlinelibrary.wiley.com/doi/10.1002/wcm.521/epdf

with regards
Somreeta Pramanik
Research Scholar
IIT Kharagpur


From nobody Tue Sep  1 19:21:47 2015
Return-Path: <ahmad.zainudin.milist@gmail.com>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7502B1B2DE4 for <dtn-users@ietfa.amsl.com>; Tue,  1 Sep 2015 19:21:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.701
X-Spam-Level: 
X-Spam-Status: No, score=0.701 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x-0cEUPMrKgp for <dtn-users@ietfa.amsl.com>; Tue,  1 Sep 2015 19:21:43 -0700 (PDT)
Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D2F31A87CA for <dtn-users@irtf.org>; Tue,  1 Sep 2015 19:21:42 -0700 (PDT)
Received: by lbcao8 with SMTP id ao8so9902781lbc.3 for <dtn-users@irtf.org>; Tue, 01 Sep 2015 19:21:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=2OEes50fRgjcM/NJNxFNI2jpbB5QPXv5fIsi/xQNPfY=; b=Cbs9S4e6B7+PsyRMnnF4JF2E3Yg97NwuGMpASHfLdCMcQX8okq/8v9QlDYJgm/5b+P z32K4iGooxONSzgxlg3sZQbD4ExTUxlgkr0QxW8i9ILsHeJMY5VBC63+IuC6RRw2tf86 bKDC8QcM/bBDpQVyC8rX+PuvPl5VhD/q+HxuMwJwm/G3IM2NuMBsl45kVyNtUxblRREY Y84L576JkH031ZwX8+ceM7YSP/C/0Ll/hL0uc1O0F3sI76wUE4ocnDf6gK+zAA/6f8T/ uvavuXUEsS7as40UeKJ/NvAN0UKQ4G2PQWcmwYB8qc9nYUGOEcvFcuEOQ8vXTWeG9QHN //mg==
MIME-Version: 1.0
X-Received: by 10.152.207.35 with SMTP id lt3mr630372lac.2.1441160500116; Tue, 01 Sep 2015 19:21:40 -0700 (PDT)
Received: by 10.25.21.158 with HTTP; Tue, 1 Sep 2015 19:21:40 -0700 (PDT)
Date: Wed, 2 Sep 2015 09:21:40 +0700
Message-ID: <CAGO8Fv4oPvUiu_4pWMW8D7WuSLZXcH7+A45=c9PzYcKs2r4=4Q@mail.gmail.com>
From: Ahmad Zainudin <ahmad.zainudin.milist@gmail.com>
To: dtn-users@irtf.org
Content-Type: multipart/alternative; boundary=001a11347892ac8501051eba53d4
Archived-At: <http://mailarchive.ietf.org/arch/msg/dtn-users/SPCqJY9SZ6cBlWc3gxBd8DxrWXY>
Subject: [dtn-users] Ping Failed when use ad-hoc mode
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2015 02:21:45 -0000

--001a11347892ac8501051eba53d4
Content-Type: text/plain; charset=UTF-8

Dear all,
I am use DTN 2.9.0 and debian jessie operating system, I have install DTN2
and ping with another node (ip 192.168.50.1 and 192.168.50.2) use ad-hoc
mode successful. Ping from 192.168.50.2 to 192.168.50.1
root@dtn-2:/home/dtn-2# ping 192.168.50.1
PING 192.168.50.1 (192.168.50.1) 56(84) bytes of data.
64 bytes from 192.168.50.1: icmp_seq=1 ttl=64 time=3.71 ms
64 bytes from 192.168.50.1: icmp_seq=2 ttl=64 time=3.52 ms
64 bytes from 192.168.50.1: icmp_seq=3 ttl=64 time=20.6 ms
64 bytes from 192.168.50.1: icmp_seq=4 ttl=64 time=2.57 ms
64 bytes from 192.168.50.1: icmp_seq=5 ttl=64 time=1.49 ms
64 bytes from 192.168.50.1: icmp_seq=6 ttl=64 time=18.2 ms

and then I use static routing with configure in dtn.conf

on pc 192.168.50.1
route set type static
route local_eid "dtn://dtn-1.dtn"
interface add tcp0 tcp
interface add udp0 udp
link add link1 192.168.50.2 ONDEMAND tcp
route add dtn://dtn-2.dtn/* link1

on pc 192.168.50.2
route set type static
route local_eid "dtn://dtn-2.dtn"
interface add tcp0 tcp
interface add udp0 udp
link add link1 192.168.50.1 ONDEMAND tcp
route add dtn://dtn-1.dtn/* link1

I use command dtnping
ping localhost success
root@dtn-2:/usr/local/src/dtn-2.9.0/apps/dtnping# dtnping localhost
source_eid [dtn://dtn-2.dtn/ping.2181]
dtn_register succeeded, regid 36
PING [dtn://dtn-2.dtn/ping] (expiration 30)...
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=0, time=230 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=1, time=285 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=2, time=263 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=3, time=263 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=4, time=275 ms

But use command dtnping to another node failed

root@dtn-2:/usr/local/src/dtn-2.9.0/apps/dtnping# dtnping -c 6
dtn://dtn-1.dtn/ping
source_eid [dtn://dtn-2.dtn/ping.2188]
dtn_register succeeded, regid 37
PING [dtn://dtn-1.dtn/ping] (expiration 30)...

log in daemon
root@dtn-2:/usr/local/src/dtn-2.9.0/daemon# dtnd -c dtn.conf
[1441185215.847809 /dtnd notice] random seed is 847792
[1441185215.848060 /dtnd notice] DTN daemon starting up... (pid 2174)
[1441185215.998328 /S10 notice] Lines marked "S10" are log lines added to
make parsing
[1441185215.998387 /S10 notice] the logs easier after extended tests. These
were added for
[1441185215.998410 /S10 notice] the summer 2010 N4C summer trial and are
mainly new lines
[1441185215.998442 /S10 notice] that allow tracing bundles across multiple
hops.
[1441185215.998459 /S10 notice] To extract these do the following...
[1441185215.998477 /S10 notice]      grep "S10 info" <dtnd-log-files> |
grep -v grep | awk '{print $4,$5}' | sort -n
[1441185215.999192 /dtn/bundle/daemon notice] loading bundles from data
store
dtn-2 dtn% [1441185385.969955 /dtn/contact/manager error]
ContactManager::new_opportunistic_link: failed to add new opportunistic
link link-0
[1441185390.973518 /dtn/contact/manager error]
ContactManager::new_opportunistic_link: failed to add new opportunistic
link link-0
[1441185395.979608 /dtn/contact/manager error]
ContactManager::new_opportunistic_link: failed to add new opportunistic
link link-0
[1441185400.991478 /dtn/contact/manager error]
ContactManager::new_opportunistic_link: failed to add new opportunistic
link link-0
[1441185405.998484 /dtn/contact/manager error]
ContactManager::new_opportunistic_link: failed to add new opportunistic
link link-0
[1441185411.002293 /dtn/contact/manager error]
ContactManager::new_opportunistic_link: failed to add new opportunistic
link link-0

What is the happen? What is the configure to solved this problem?
Thanks,
Zai

--001a11347892ac8501051eba53d4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div><div><div><div><div><div><div>Dear all,<br>=
</div>I am use DTN 2.9.0 and debian jessie operating system, I have install=
 DTN2 and ping with another node (ip 192.168.50.1 and 192.168.50.2) use ad-=
hoc mode successful. Ping from 192.168.50.2 to 192.168.50.1<br>root@dtn-2:/=
home/dtn-2# ping 192.168.50.1<br>PING 192.168.50.1 (192.168.50.1) 56(84) by=
tes of data.<br>64 bytes from <a href=3D"http://192.168.50.1">192.168.50.1<=
/a>: icmp_seq=3D1 ttl=3D64 time=3D3.71 ms<br>64 bytes from <a href=3D"http:=
//192.168.50.1">192.168.50.1</a>: icmp_seq=3D2 ttl=3D64 time=3D3.52 ms<br>6=
4 bytes from <a href=3D"http://192.168.50.1">192.168.50.1</a>: icmp_seq=3D3=
 ttl=3D64 time=3D20.6 ms<br>64 bytes from <a href=3D"http://192.168.50.1">1=
92.168.50.1</a>: icmp_seq=3D4 ttl=3D64 time=3D2.57 ms<br>64 bytes from <a h=
ref=3D"http://192.168.50.1">192.168.50.1</a>: icmp_seq=3D5 ttl=3D64 time=3D=
1.49 ms<br>64 bytes from <a href=3D"http://192.168.50.1">192.168.50.1</a>: =
icmp_seq=3D6 ttl=3D64 time=3D18.2 ms<br><br></div>and then I use static rou=
ting with configure in dtn.conf<br><br>on pc 192.168.50.1<br>route set type=
 static<br>route local_eid &quot;dtn://dtn-1.dtn&quot;<br>interface add tcp=
0 tcp<br>interface add udp0 udp<br>link add link1 192.168.50.2 ONDEMAND tcp=
<br>route add dtn://dtn-2.dtn/* link1<br><br>on pc 192.168.50.2<br>route se=
t type static<br>route local_eid &quot;dtn://dtn-2.dtn&quot;<br>interface a=
dd tcp0 tcp<br>interface add udp0 udp<br>link add link1 192.168.50.1 ONDEMA=
ND tcp<br>route add dtn://dtn-1.dtn/* link1<br><br></div>I use command dtnp=
ing<br></div>ping localhost success<br>root@dtn-2:/usr/local/src/dtn-2.9.0/=
apps/dtnping# dtnping localhost<br>source_eid [dtn://dtn-2.dtn/ping.2181]<b=
r>dtn_register succeeded, regid 36<br>PING [dtn://dtn-2.dtn/ping] (expirati=
on 30)...<br>20 bytes from [dtn://dtn-2.dtn/ping]: &#39;dtnping!&#39; seqno=
=3D0, time=3D230 ms<br>20 bytes from [dtn://dtn-2.dtn/ping]: &#39;dtnping!&=
#39; seqno=3D1, time=3D285 ms<br>20 bytes from [dtn://dtn-2.dtn/ping]: &#39=
;dtnping!&#39; seqno=3D2, time=3D263 ms<br>20 bytes from [dtn://dtn-2.dtn/p=
ing]: &#39;dtnping!&#39; seqno=3D3, time=3D263 ms<br>20 bytes from [dtn://d=
tn-2.dtn/ping]: &#39;dtnping!&#39; seqno=3D4, time=3D275 ms<br><br></div>Bu=
t use command dtnping to another node failed<br><br>root@dtn-2:/usr/local/s=
rc/dtn-2.9.0/apps/dtnping# dtnping -c 6 dtn://dtn-1.dtn/ping<br>source_eid =
[dtn://dtn-2.dtn/ping.2188]<br>dtn_register succeeded, regid 37<br>PING [dt=
n://dtn-1.dtn/ping] (expiration 30)...<br><br></div>log in daemon<br>root@d=
tn-2:/usr/local/src/dtn-2.9.0/daemon# dtnd -c dtn.conf <br>[1441185215.8478=
09 /dtnd notice] random seed is 847792<br>[1441185215.848060 /dtnd notice] =
DTN daemon starting up... (pid 2174)<br>[1441185215.998328 /S10 notice] Lin=
es marked &quot;S10&quot; are log lines added to make parsing<br>[144118521=
5.998387 /S10 notice] the logs easier after extended tests. These were adde=
d for<br>[1441185215.998410 /S10 notice] the summer 2010 N4C summer trial a=
nd are mainly new lines<br>[1441185215.998442 /S10 notice] that allow traci=
ng bundles across multiple hops.<br>[1441185215.998459 /S10 notice] To extr=
act these do the following...<br>[1441185215.998477 /S10 notice] =C2=A0=C2=
=A0=C2=A0 =C2=A0grep &quot;S10 info&quot; &lt;dtnd-log-files&gt; | grep -v =
grep | awk &#39;{print $4,$5}&#39; | sort -n<br>[1441185215.999192 /dtn/bun=
dle/daemon notice] loading bundles from data store<br>dtn-2 dtn% [144118538=
5.969955 /dtn/contact/manager error] ContactManager::new_opportunistic_link=
: failed to add new opportunistic link link-0<br>[1441185390.973518 /dtn/co=
ntact/manager error] ContactManager::new_opportunistic_link: failed to add =
new opportunistic link link-0<br>[1441185395.979608 /dtn/contact/manager er=
ror] ContactManager::new_opportunistic_link: failed to add new opportunisti=
c link link-0<br>[1441185400.991478 /dtn/contact/manager error] ContactMana=
ger::new_opportunistic_link: failed to add new opportunistic link link-0<br=
>[1441185405.998484 /dtn/contact/manager error] ContactManager::new_opportu=
nistic_link: failed to add new opportunistic link link-0<br>[1441185411.002=
293 /dtn/contact/manager error] ContactManager::new_opportunistic_link: fai=
led to add new opportunistic link link-0<br><br></div>What is the happen? W=
hat is the configure to solved this problem?<br></div>Thanks,<br></div>Zai<=
br></div>

--001a11347892ac8501051eba53d4--


From nobody Tue Sep  1 19:53:05 2015
Return-Path: <ahmad.zainudin.milist@gmail.com>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF8881B3059 for <dtn-users@ietfa.amsl.com>; Tue,  1 Sep 2015 19:53:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8af6czgwMs13 for <dtn-users@ietfa.amsl.com>; Tue,  1 Sep 2015 19:53:01 -0700 (PDT)
Received: from mail-la0-x22e.google.com (mail-la0-x22e.google.com [IPv6:2a00:1450:4010:c03::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D86691B2FF5 for <dtn-users@irtf.org>; Tue,  1 Sep 2015 19:53:00 -0700 (PDT)
Received: by lamp12 with SMTP id p12so12159059lam.0 for <dtn-users@irtf.org>; Tue, 01 Sep 2015 19:52:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QsMMHQr64JZE0GSfXA1Lf6yb4R30RmdVkbO8yo/gyD8=; b=cAl5d4maqKanPScHbO1rQZY58nVGFr7pcaPlmdDqRrApuXWZPAlBzsHviQvFp48gbp 3LQDVvbh6a3LDTuTvhnf2OMcxi9GTyv8ComQ+qAWuZDhjwDF1ydFvGwJgW8Q40YFEYe8 Tyld+I4C4Ql5QlFnFfLptQ4ZoV4QooRhwKJnMmoFrxPLE3LIs+jTBFAccGIQ38FHr4ht 5RaE0WBBaGM27OJ9WvrppzN0c7b+bIWhSEJXjFCAZP6OWIr94eraP4ZVrzn4SogC9AW+ qt2BWb6tEq/hqiNJjX28pPh8Tdzed9vdPQr30q6/m7XknH6VWqNBeZhw3g6isBkPplF5 dulg==
MIME-Version: 1.0
X-Received: by 10.152.219.172 with SMTP id pp12mr14606229lac.17.1441162378885;  Tue, 01 Sep 2015 19:52:58 -0700 (PDT)
Received: by 10.25.21.158 with HTTP; Tue, 1 Sep 2015 19:52:58 -0700 (PDT)
In-Reply-To: <CAGO8Fv4oPvUiu_4pWMW8D7WuSLZXcH7+A45=c9PzYcKs2r4=4Q@mail.gmail.com>
References: <CAGO8Fv4oPvUiu_4pWMW8D7WuSLZXcH7+A45=c9PzYcKs2r4=4Q@mail.gmail.com>
Date: Wed, 2 Sep 2015 09:52:58 +0700
Message-ID: <CAGO8Fv4x8tZoC1st6PDmNx4CLAvQgLdhDm9GHMu7o1rBqr3x-w@mail.gmail.com>
From: Ahmad Zainudin <ahmad.zainudin.milist@gmail.com>
To: dtn-users@irtf.org
Content-Type: multipart/alternative; boundary=001a1134328aa83e3b051ebac371
Archived-At: <http://mailarchive.ietf.org/arch/msg/dtn-users/Jq8iwfY_HHFnjXFQy7A7qTyXS8U>
Subject: Re: [dtn-users] Ping Failed when use ad-hoc mode
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2015 02:53:03 -0000

--001a1134328aa83e3b051ebac371
Content-Type: text/plain; charset=UTF-8

I use ad-hoc configure as follows ( /etc/network/interfaces)
auto wlan0
iface wlan0 inet static
    address 192.168.50.2
    netmask 255.255.255.0
    wireless-channel 1
    wireless-essid DTN-Network
    wireless-mode ad-hoc

On Wed, Sep 2, 2015 at 9:21 AM, Ahmad Zainudin <
ahmad.zainudin.milist@gmail.com> wrote:

> Dear all,
> I am use DTN 2.9.0 and debian jessie operating system, I have install DTN2
> and ping with another node (ip 192.168.50.1 and 192.168.50.2) use ad-hoc
> mode successful. Ping from 192.168.50.2 to 192.168.50.1
> root@dtn-2:/home/dtn-2# ping 192.168.50.1
> PING 192.168.50.1 (192.168.50.1) 56(84) bytes of data.
> 64 bytes from 192.168.50.1: icmp_seq=1 ttl=64 time=3.71 ms
> 64 bytes from 192.168.50.1: icmp_seq=2 ttl=64 time=3.52 ms
> 64 bytes from 192.168.50.1: icmp_seq=3 ttl=64 time=20.6 ms
> 64 bytes from 192.168.50.1: icmp_seq=4 ttl=64 time=2.57 ms
> 64 bytes from 192.168.50.1: icmp_seq=5 ttl=64 time=1.49 ms
> 64 bytes from 192.168.50.1: icmp_seq=6 ttl=64 time=18.2 ms
>
> and then I use static routing with configure in dtn.conf
>
> on pc 192.168.50.1
> route set type static
> route local_eid "dtn://dtn-1.dtn"
> interface add tcp0 tcp
> interface add udp0 udp
> link add link1 192.168.50.2 ONDEMAND tcp
> route add dtn://dtn-2.dtn/* link1
>
> on pc 192.168.50.2
> route set type static
> route local_eid "dtn://dtn-2.dtn"
> interface add tcp0 tcp
> interface add udp0 udp
> link add link1 192.168.50.1 ONDEMAND tcp
> route add dtn://dtn-1.dtn/* link1
>
> I use command dtnping
> ping localhost success
> root@dtn-2:/usr/local/src/dtn-2.9.0/apps/dtnping# dtnping localhost
> source_eid [dtn://dtn-2.dtn/ping.2181]
> dtn_register succeeded, regid 36
> PING [dtn://dtn-2.dtn/ping] (expiration 30)...
> 20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=0, time=230 ms
> 20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=1, time=285 ms
> 20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=2, time=263 ms
> 20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=3, time=263 ms
> 20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=4, time=275 ms
>
> But use command dtnping to another node failed
>
> root@dtn-2:/usr/local/src/dtn-2.9.0/apps/dtnping# dtnping -c 6
> dtn://dtn-1.dtn/ping
> source_eid [dtn://dtn-2.dtn/ping.2188]
> dtn_register succeeded, regid 37
> PING [dtn://dtn-1.dtn/ping] (expiration 30)...
>
> log in daemon
> root@dtn-2:/usr/local/src/dtn-2.9.0/daemon# dtnd -c dtn.conf
> [1441185215.847809 /dtnd notice] random seed is 847792
> [1441185215.848060 /dtnd notice] DTN daemon starting up... (pid 2174)
> [1441185215.998328 /S10 notice] Lines marked "S10" are log lines added to
> make parsing
> [1441185215.998387 /S10 notice] the logs easier after extended tests.
> These were added for
> [1441185215.998410 /S10 notice] the summer 2010 N4C summer trial and are
> mainly new lines
> [1441185215.998442 /S10 notice] that allow tracing bundles across multiple
> hops.
> [1441185215.998459 /S10 notice] To extract these do the following...
> [1441185215.998477 /S10 notice]      grep "S10 info" <dtnd-log-files> |
> grep -v grep | awk '{print $4,$5}' | sort -n
> [1441185215.999192 /dtn/bundle/daemon notice] loading bundles from data
> store
> dtn-2 dtn% [1441185385.969955 /dtn/contact/manager error]
> ContactManager::new_opportunistic_link: failed to add new opportunistic
> link link-0
> [1441185390.973518 /dtn/contact/manager error]
> ContactManager::new_opportunistic_link: failed to add new opportunistic
> link link-0
> [1441185395.979608 /dtn/contact/manager error]
> ContactManager::new_opportunistic_link: failed to add new opportunistic
> link link-0
> [1441185400.991478 /dtn/contact/manager error]
> ContactManager::new_opportunistic_link: failed to add new opportunistic
> link link-0
> [1441185405.998484 /dtn/contact/manager error]
> ContactManager::new_opportunistic_link: failed to add new opportunistic
> link link-0
> [1441185411.002293 /dtn/contact/manager error]
> ContactManager::new_opportunistic_link: failed to add new opportunistic
> link link-0
>
> What is the happen? What is the configure to solved this problem?
> Thanks,
> Zai
>

--001a1134328aa83e3b051ebac371
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I use ad-hoc configure <span id=3D"result_box" class=3D"" =
lang=3D"en"><span class=3D"">as follows ( /etc/network/interfaces)<br>auto =
wlan0 <br>iface wlan0 inet static<br>=C2=A0=C2=A0=C2=A0 address 192.168.50.=
2<br>=C2=A0=C2=A0=C2=A0 netmask 255.255.255.0<br>=C2=A0=C2=A0=C2=A0 wireles=
s-channel 1<br>=C2=A0=C2=A0=C2=A0 wireless-essid DTN-Network<br>=C2=A0=C2=
=A0=C2=A0 wireless-mode ad-hoc<br></span></span></div><div class=3D"gmail_e=
xtra"><br><div class=3D"gmail_quote">On Wed, Sep 2, 2015 at 9:21 AM, Ahmad =
Zainudin <span dir=3D"ltr">&lt;<a href=3D"mailto:ahmad.zainudin.milist@gmai=
l.com" target=3D"_blank">ahmad.zainudin.milist@gmail.com</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><div><div><div><div>=
<div><div><div><div><div>Dear all,<br></div>I am use DTN 2.9.0 and debian j=
essie operating system, I have install DTN2 and ping with another node (ip =
192.168.50.1 and 192.168.50.2) use ad-hoc mode successful. Ping from 192.16=
8.50.2 to 192.168.50.1<br>root@dtn-2:/home/dtn-2# ping 192.168.50.1<br>PING=
 192.168.50.1 (192.168.50.1) 56(84) bytes of data.<br>64 bytes from <a href=
=3D"http://192.168.50.1" target=3D"_blank">192.168.50.1</a>: icmp_seq=3D1 t=
tl=3D64 time=3D3.71 ms<br>64 bytes from <a href=3D"http://192.168.50.1" tar=
get=3D"_blank">192.168.50.1</a>: icmp_seq=3D2 ttl=3D64 time=3D3.52 ms<br>64=
 bytes from <a href=3D"http://192.168.50.1" target=3D"_blank">192.168.50.1<=
/a>: icmp_seq=3D3 ttl=3D64 time=3D20.6 ms<br>64 bytes from <a href=3D"http:=
//192.168.50.1" target=3D"_blank">192.168.50.1</a>: icmp_seq=3D4 ttl=3D64 t=
ime=3D2.57 ms<br>64 bytes from <a href=3D"http://192.168.50.1" target=3D"_b=
lank">192.168.50.1</a>: icmp_seq=3D5 ttl=3D64 time=3D1.49 ms<br>64 bytes fr=
om <a href=3D"http://192.168.50.1" target=3D"_blank">192.168.50.1</a>: icmp=
_seq=3D6 ttl=3D64 time=3D18.2 ms<br><br></div>and then I use static routing=
 with configure in dtn.conf<br><br>on pc 192.168.50.1<br>route set type sta=
tic<br>route local_eid &quot;dtn://dtn-1.dtn&quot;<br>interface add tcp0 tc=
p<br>interface add udp0 udp<br>link add link1 192.168.50.2 ONDEMAND tcp<br>=
route add dtn://dtn-2.dtn/* link1<br><br>on pc 192.168.50.2<br>route set ty=
pe static<br>route local_eid &quot;dtn://dtn-2.dtn&quot;<br>interface add t=
cp0 tcp<br>interface add udp0 udp<br>link add link1 192.168.50.1 ONDEMAND t=
cp<br>route add dtn://dtn-1.dtn/* link1<br><br></div>I use command dtnping<=
br></div>ping localhost success<br>root@dtn-2:/usr/local/src/dtn-2.9.0/apps=
/dtnping# dtnping localhost<br>source_eid [dtn://dtn-2.dtn/ping.2181]<br>dt=
n_register succeeded, regid 36<br>PING [dtn://dtn-2.dtn/ping] (expiration 3=
0)...<br>20 bytes from [dtn://dtn-2.dtn/ping]: &#39;dtnping!&#39; seqno=3D0=
, time=3D230 ms<br>20 bytes from [dtn://dtn-2.dtn/ping]: &#39;dtnping!&#39;=
 seqno=3D1, time=3D285 ms<br>20 bytes from [dtn://dtn-2.dtn/ping]: &#39;dtn=
ping!&#39; seqno=3D2, time=3D263 ms<br>20 bytes from [dtn://dtn-2.dtn/ping]=
: &#39;dtnping!&#39; seqno=3D3, time=3D263 ms<br>20 bytes from [dtn://dtn-2=
.dtn/ping]: &#39;dtnping!&#39; seqno=3D4, time=3D275 ms<br><br></div>But us=
e command dtnping to another node failed<br><br>root@dtn-2:/usr/local/src/d=
tn-2.9.0/apps/dtnping# dtnping -c 6 dtn://dtn-1.dtn/ping<br>source_eid [dtn=
://dtn-2.dtn/ping.2188]<br>dtn_register succeeded, regid 37<br>PING [dtn://=
dtn-1.dtn/ping] (expiration 30)...<br><br></div>log in daemon<br>root@dtn-2=
:/usr/local/src/dtn-2.9.0/daemon# dtnd -c dtn.conf <br>[1441185215.847809 /=
dtnd notice] random seed is 847792<br>[1441185215.848060 /dtnd notice] DTN =
daemon starting up... (pid 2174)<br>[1441185215.998328 /S10 notice] Lines m=
arked &quot;S10&quot; are log lines added to make parsing<br>[1441185215.99=
8387 /S10 notice] the logs easier after extended tests. These were added fo=
r<br>[1441185215.998410 /S10 notice] the summer 2010 N4C summer trial and a=
re mainly new lines<br>[1441185215.998442 /S10 notice] that allow tracing b=
undles across multiple hops.<br>[1441185215.998459 /S10 notice] To extract =
these do the following...<br>[1441185215.998477 /S10 notice] =C2=A0=C2=A0=
=C2=A0 =C2=A0grep &quot;S10 info&quot; &lt;dtnd-log-files&gt; | grep -v gre=
p | awk &#39;{print $4,$5}&#39; | sort -n<br>[1441185215.999192 /dtn/bundle=
/daemon notice] loading bundles from data store<br>dtn-2 dtn% [1441185385.9=
69955 /dtn/contact/manager error] ContactManager::new_opportunistic_link: f=
ailed to add new opportunistic link link-0<br>[1441185390.973518 /dtn/conta=
ct/manager error] ContactManager::new_opportunistic_link: failed to add new=
 opportunistic link link-0<br>[1441185395.979608 /dtn/contact/manager error=
] ContactManager::new_opportunistic_link: failed to add new opportunistic l=
ink link-0<br>[1441185400.991478 /dtn/contact/manager error] ContactManager=
::new_opportunistic_link: failed to add new opportunistic link link-0<br>[1=
441185405.998484 /dtn/contact/manager error] ContactManager::new_opportunis=
tic_link: failed to add new opportunistic link link-0<br>[1441185411.002293=
 /dtn/contact/manager error] ContactManager::new_opportunistic_link: failed=
 to add new opportunistic link link-0<br><br></div>What is the happen? What=
 is the configure to solved this problem?<br></div>Thanks,<br></div>Zai<br>=
</div>
</blockquote></div><br></div>

--001a1134328aa83e3b051ebac371--


From nobody Wed Sep  2 06:37:03 2015
Return-Path: <prvs=2687150341=carlo.caini@unibo.it>
X-Original-To: dtn-users@ietfa.amsl.com
Delivered-To: dtn-users@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DDF391A21C7 for <dtn-users@ietfa.amsl.com>; Wed,  2 Sep 2015 06:37:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.031
X-Spam-Level: 
X-Spam-Status: No, score=-0.031 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dG5z0HhAqO8t for <dtn-users@ietfa.amsl.com>; Wed,  2 Sep 2015 06:36:55 -0700 (PDT)
Received: from mx01.unibo.it (mx01.unibo.it [137.204.24.54]) by ietfa.amsl.com (Postfix) with ESMTP id 0C4371A8988 for <dtn-users@irtf.org>; Wed,  2 Sep 2015 06:36:53 -0700 (PDT)
X-AuditID: 89cc1836-f79186d0000023b3-5b-55e6fb7488ba
Received: from mail.unibo.it (e10-hc3-dr.unibo.loc [10.11.1.41]) by mx01.unibo.it (UNIBO) with SMTP id D5.67.09139.47BF6E55; Wed,  2 Sep 2015 15:36:52 +0200 (CEST)
Received: from E10-MBX3-DR.personale.dir.unibo.it ([169.254.3.191]) by E10-HC3-DR.personale.dir.unibo.it ([10.11.1.41]) with mapi id 14.03.0224.002;  Wed, 2 Sep 2015 15:36:52 +0200
From: Carlo Caini <carlo.caini@unibo.it>
To: Ahmad Zainudin <ahmad.zainudin.milist@gmail.com>, "dtn-users@irtf.org" <dtn-users@irtf.org>
Thread-Topic: [dtn-users] Ping Failed when use ad-hoc mode
Thread-Index: AQHQ5SYhrozHqHhv70+28KYU8hegDZ4oaR8AgADRzR0=
Date: Wed, 2 Sep 2015 13:36:51 +0000
Message-ID: <FF1750B0EDD9434A98CD71DA0C0357260132F9D0C1@E10-MBX3-DR.personale.dir.unibo.it>
References: <CAGO8Fv4oPvUiu_4pWMW8D7WuSLZXcH7+A45=c9PzYcKs2r4=4Q@mail.gmail.com>,  <CAGO8Fv4x8tZoC1st6PDmNx4CLAvQgLdhDm9GHMu7o1rBqr3x-w@mail.gmail.com>
In-Reply-To: <CAGO8Fv4x8tZoC1st6PDmNx4CLAvQgLdhDm9GHMu7o1rBqr3x-w@mail.gmail.com>
Accept-Language: it-IT, en-US
Content-Language: it-IT
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.12.1.73]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrNKsWRmVeSWpSXmKPExsXCxc2oqVvy+1moQdt5WYtFTyosrt59xeTA 5LFz1l12j8kbD7MFMEVx2yQllpQFZ6bn6dslcGdM+XCPsWCJTkXH861sDYzrVLsYOTgkBEwk 5qwu6WLkBDLFJC7cW8/WxcjFISSwlFHi3MT7TBDOdkaJ3UdvsYNUsQloSBy8dRnMFhFIlFjb +YAFxBYWsJTY+nwfG0TcSuLIk1VMMPau7y3MIMtYBFQklr2uAwnzCkRLzFj4kxli/lSgZT0f GEESnAKBEveevWEGsRkFZCUm7F4EFmcWEJd4Mf0EO8SlAhJL9pxnhrBFJV4+/scKYctJNM85 wgpRrydxY+oUNghbW2LZwtfMEIsFJU7OfMIygVF0FpKxs5C0zELSMgtJywJGllWMYsW56brF yYl5hnrJxXqleZlJ+Xo5+cmbGIGR0nlGwmwH46rzbocYBTgYlXh4GxKfhQqxJpYVV+YeYpTk YFIS5eX9BRTiS8pPqcxILM6ILyrNSS0+xCjBwawkwlv7HSjHm5JYWZValA+TkuZgURLnbWjp ChUSSE8sSc1OTS1ILYLJynBwKEnwBoMMFSxKTU+tSMvMKUFIM3FwggznkhIpTs1LSS1KLC3J iAclivhiYKoASfEA7QVr5y0uSMwFikK0nmJU5diy4MZaJiGWvPy8VClxXkmQIgGQoozSPLgV rxjFgT4V5q0HyfIAUyjchFdAw5mAhk93fQoyvCQRISXVwMjcKr074rXRNqGse3tWtibd//nO 13ytmvPMyoze+F9Hsvf2JBTO6wyTPz5rfdAX1Zxrx1j/V3BNu2guEPpn6YFpFW+uT3m7nP3E rtnTg4wvSjvnnP2VvlPNRNTD6R37uV0TLx26qOWuo+qtfHhfhd+Nfe/npiSvXjWzzqP34M8P ssfNMwK+dM1UYinOSDTUYi4qTgQAYYcNc14DAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/dtn-users/xy4mzmQrkl1RdvaG6IY03nE0txs>
Subject: Re: [dtn-users] Ping Failed when use ad-hoc mode
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "The Delay-Tolerant Networking Research Group \(DTNRG\) - Users." <dtn-users.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn-users/>
List-Post: <mailto:dtn-users@irtf.org>
List-Help: <mailto:dtn-users-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/dtn-users>, <mailto:dtn-users-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2015 13:37:02 -0000

Dear Ahmad,
        First, please do not flood the same request on all dtn related mail=
ing list. I have received your message in 8 copies!
This said, it seem to me that you have a problem at the convergence layer. =
After having synchronized the clocks by means of NTP as suggested by Ivanci=
c, substitute your ONDEMAND on node 1 with ALWAYSON (one word) and then tem=
porarily remove (i.e. comment) the instructions "link" and "route" on node =
2. Then restart your daemons on both nodes and check the logs before launch=
ing dtnping or any othe dtn application. Use the option "-t" in dtnd to cle=
an the database (e.g. dtnd -d -o ./dtn.log -t).
The instruction alwayson tells the TCP CL to open a new TCP connection to t=
he other node. In response a new link (link-0) and a new route to go back (=
via the brand new link-0) should be automatically added on node 2.
If you still have a message error on the logs this means that dtnping respo=
nsible for that.
Do you use DTN2.9 stable or DTN2 "bleeding edge"?
Yours,
   Carlo


________________________________________
Da: dtn-users [dtn-users-bounces@irtf.org] per conto di Ahmad Zainudin [ahm=
ad.zainudin.milist@gmail.com]
Inviato: mercoled=EC 2 settembre 2015 4.52
A: dtn-users@irtf.org
Oggetto: Re: [dtn-users] Ping Failed when use ad-hoc mode

I use ad-hoc configure as follows ( /etc/network/interfaces)
auto wlan0
iface wlan0 inet static
    address 192.168.50.2
    netmask 255.255.255.0
    wireless-channel 1
    wireless-essid DTN-Network
    wireless-mode ad-hoc

On Wed, Sep 2, 2015 at 9:21 AM, Ahmad Zainudin <ahmad.zainudin.milist@gmail=
.com<mailto:ahmad.zainudin.milist@gmail.com>> wrote:
Dear all,
I am use DTN 2.9.0 and debian jessie operating system, I have install DTN2 =
and ping with another node (ip 192.168.50.1 and 192.168.50.2) use ad-hoc mo=
de successful. Ping from 192.168.50.2 to 192.168.50.1
root@dtn-2:/home/dtn-2# ping 192.168.50.1
PING 192.168.50.1 (192.168.50.1) 56(84) bytes of data.
64 bytes from 192.168.50.1<http://192.168.50.1>: icmp_seq=3D1 ttl=3D64 time=
=3D3.71 ms
64 bytes from 192.168.50.1<http://192.168.50.1>: icmp_seq=3D2 ttl=3D64 time=
=3D3.52 msmatically
64 bytes from 192.168.50.1<http://192.168.50.1>: icmp_seq=3D3 ttl=3D64 time=
=3D20.6 ms
64 bytes from 192.168.50.1<http://192.168.50.1>: icmp_seq=3D4 ttl=3D64 time=
=3D2.57 ms
64 bytes from 192.168.50.1<http://192.168.50.1>: icmp_seq=3D5 ttl=3D64 time=
=3D1.49 ms
64 bytes from 192.168.50.1<http://192.168.50.1>: icmp_seq=3D6 ttl=3D64 time=
=3D18.2 ms

and then I use static routing with configure in dtn.conf

on pc 192.168.50.1
route set type static
route local_eid "dtn://dtn-1.dtn"
interface add tcp0 tcp
interface add udp0 udp
link add link1 192.168.50.2 ONDEMAND tcp
route add dtn://dtn-2.dtn/* link1

on pc 192.168.50.2
route set type static
route local_eid "dtn://dtn-2.dtn"
interface add tcp0 tcp
interface add udp0 udp
link add link1 192.168.50.1 ONDEMAND tcp
route add dtn://dtn-1.dtn/* link1

I use command dtnping
ping localhost success
root@dtn-2:/usr/local/src/dtn-2.9.0/apps/dtnping# dtnping localhost
source_eid [dtn://dtn-2.dtn/ping.2181]
dtn_register succeeded, regid 36
PING [dtn://dtn-2.dtn/ping] (expiration 30)...
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=3D0, time=3D230 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=3D1, time=3D285 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=3D2, time=3D263 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=3D3, time=3D263 ms
20 bytes from [dtn://dtn-2.dtn/ping]: 'dtnping!' seqno=3D4, time=3D275 ms

But use command dtnping to another node failed

root@dtn-2:/usr/local/src/dtn-2.9.0/apps/dtnping# dtnping -c 6 dtn://dtn-1.=
dtn/ping
source_eid [dtn://dtn-2.dtn/ping.2188]
dtn_register succeeded, regid 37
PING [dtn://dtn-1.dtn/ping] (expiration 30)...

log in daemon
root@dtn-2:/usr/local/src/dtn-2.9.0/daemon# dtnd -c dtn.conf
[1441185215.847809 /dtnd notice] random seed is 847792
[1441185215.848060 /dtnd notice] DTN daemon starting up... (pid 2174)
[1441185215.998328 /S10 notice] Lines marked "S10" are log lines added to m=
ake parsing
[1441185215.998387 /S10 notice] the logs easier after extended tests. These=
 were added for
[1441185215.998410 /S10 notice] the summer 2010 N4C summer trial and are ma=
inly new lines
[1441185215.998442 /S10 notice] that allow tracing bundles across multiple =
hops.
[1441185215.998459 /S10 notice] To extract these do the following...
[1441185215.998477 /S10 notice]      grep "S10 info" <dtnd-log-files> | gre=
p -v grep | awk '{print $4,$5}' | sort -n
[1441185215.999192 /dtn/bundle/daemon notice] loading bundles from data sto=
re
dtn-2 dtn% [1441185385.969955 /dtn/contact/manager error] ContactManager::n=
ew_opportunistic_link: failed to add new opportunistic link link-0
[1441185390.973518 /dtn/contact/manager error] ContactManager::new_opportun=
istic_link: failed to add new opportunistic link link-0
[1441185395.979608 /dtn/contact/manager error] ContactManager::new_opportun=
istic_link: failed to add new opportunistic link link-0
[1441185400.991478 /dtn/contact/manager error] ContactManager::new_opportun=
istic_link: failed to add new opportunistic link link-0
[1441185405.998484 /dtn/contact/manager error] ContactManager::new_opportun=
istic_link: failed to add new opportunistic link link-0
[1441185411.002293 /dtn/contact/manager error] ContactManager::new_opportun=
istic_link: failed to add new opportunistic link link-0

What is the happen? What is the configure to solved this problem?
Thanks,
Zai

