[dtn-users] Multi EID per node

Maël Auzias <dtnrg@auzias.net> Mon, 10 March 2014 10:52 UTC

Return-Path: <auzias.mael@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 1FF061A041A for <dtn-users@ietfa.amsl.com>; Mon, 10 Mar 2014 03:52:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.822
X-Spam-Level: ***
X-Spam-Status: No, score=3.822 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_31=0.6, MANGLED_MEDS=2.3, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] 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 lLjFWqTJRuUX for <dtn-users@ietfa.amsl.com>; Mon, 10 Mar 2014 03:52:25 -0700 (PDT)
Received: from mail-vc0-x236.google.com (mail-vc0-x236.google.com [IPv6:2607:f8b0:400c:c03::236]) by ietfa.amsl.com (Postfix) with ESMTP id 238A91A0415 for <dtn-users@irtf.org>; Mon, 10 Mar 2014 03:52:25 -0700 (PDT)
Received: by mail-vc0-f182.google.com with SMTP id ks9so804565vcb.41 for <dtn-users@irtf.org>; Mon, 10 Mar 2014 03:52:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=kjoXIElYlSYH230K0KnjED6f3aREK2FqVBMN6WpC4gI=; b=iJ3+X3TDLo1lIqfiPKdE2h92dARLExpPRHHihJ7DiAGfV7LQmnzxBnzVJnJa4hEXz7 /afsUVtZWCsNuJLM/ZUiiwBDiXc2lxIsFzwRqZyuyt4sImeO1OO9krljFRLqm1SpHPeA yi6SGbYK1BKBLWj8NNMdHvySAHm8rppO/mxkyP7L7r06q2ozVZWwmKp0Finf0aSR1Piz nt6iMhHBa8a5X0ILHP1JknNYNJEFXORlfumWs5kiVXg4oXwYYiK1GG8kmUQEosN27Xuh S3bhFRzQ2+M+Azj0+gIaS4ggAUphQgsc67OyFaHaevc59BcnYpW1acCfafVdu0iYYWbu z7Yg==
X-Received: by 10.221.39.138 with SMTP id tm10mr22175762vcb.7.1394448739656; Mon, 10 Mar 2014 03:52:19 -0700 (PDT)
MIME-Version: 1.0
Sender: auzias.mael@gmail.com
Received: by 10.220.76.73 with HTTP; Mon, 10 Mar 2014 03:51:49 -0700 (PDT)
From: =?ISO-8859-1?Q?Ma=EBl_Auzias?= <dtnrg@auzias.net>
Date: Mon, 10 Mar 2014 11:51:49 +0100
X-Google-Sender-Auth: JXKtX38MZCiOzZNUi0BzOIkfOvM
Message-ID: <CAOu+1s9bVg6V3Sun+=F10Atz27NRCAvH=OaqFc1we6LiqCu+RA@mail.gmail.com>
To: dtn-users@irtf.org
Content-Type: multipart/alternative; boundary=001a1133953ac8e94b04f43e658b
Archived-At: http://mailarchive.ietf.org/arch/msg/dtn-users/S-kdE5DD8RB4i3iMKkYAm5hNT-Q
Subject: [dtn-users] Multi EID per node
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: <http://www.irtf.org/mail-archive/web/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: Mon, 10 Mar 2014 11:35:35 -0000

Hi y'all,

While testing some features of the DTN2, I cannot find a way to send from
any EID of a multiple-EDI node.
The node "pc-mna-78" has two EID :

   - dtn://casa13.dtn
   - dtn://casa15.dtn

The node can receive bundles to both application (dtnrcv) :
dtn://casa13.dtn/echo and dtn://casa15.dtn/echo.
However an error occurs when I try to send a bundle using the
dtn://casa13.dtn EID, same as when a node attempts to send a bundle with a
wrong EID.

I would like to know how (if ever it's possible) to use either
dtn://casa13.dtn or dtn://casa15.dtn as EID to send a bundle.

Below are the command lines, and the configuration file.


*===== Console =====*
root@pc-mna-78#dtnsend -s dtn://casa15.dtn/me -d dtn://casa13.dtn/echo -t m
-p "message content"
root@pc-mna-78#dtnsend -s dtn://casa13.dtn/me -d dtn://casa13.dtn/echo -t m
-p "message content"
error sending bundle: -1 (invalid argument)


*===== Configuration file =====*

> log /dtnd info "dtnd parsing configuration..."
>
> # Daemon Console Configuration
> console set addr 127.0.0.1
> console set port 5050
>
> storage set type filesysdb
> storage set payloaddir /root/wlan/bundles
> storage set dbname     DTN
> storage set dbdir      /root/wlan/db
>
> route set type flood
> route local_eid "dtn://casa13.dtn"
> route local_eid "dtn://casa15.dtn"
>
> interface add udp0 udp
> # local_addr=192.168.0.78 local_port=9999
>
> discovery add udp0d ip port=9556
> discovery announce udp0 udp0d udp interval=5
>


Note that I have the same issue with IBR-DTN

Thank for further replies!
Have a nice day.