Re: [dtn-users] LTP Convergence Layer - Help needed!

Nik Ansell <nikansell00@gmail.com> Thu, 03 December 2015 18:05 UTC

Return-Path: <nikansell00@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 24D041B3503 for <dtn-users@ietfa.amsl.com>; Thu, 3 Dec 2015 10:05:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.149
X-Spam-Level:
X-Spam-Status: No, score=-1.149 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_34=0.6, 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 eN8H757YIkRx for <dtn-users@ietfa.amsl.com>; Thu, 3 Dec 2015 10:04:59 -0800 (PST)
Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (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 D94041AC41D for <dtn-users@irtf.org>; Thu, 3 Dec 2015 10:04:52 -0800 (PST)
Received: by igcto18 with SMTP id to18so17941546igc.0 for <dtn-users@irtf.org>; Thu, 03 Dec 2015 10:04:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=oWDez/fnmCEpJ/6Bo/4mfpCeH2gumDw1e2uLvucNhYM=; b=YZUE/zFGkfAZupMzUyRDQ2Zd8Y6fdfsNHuIB9YhX7tNENjzo0FhIieyr/1+FHss3rJ vJsEXI/EsJEjBQb95M9eSWX5BAFDHZhbQXcSCmT9Jj0zxCSX/ECmjKEEp4iEplBa1+sz ACSG0tx0Fbrlnu51Ma+i0nZyg6rieRXXvst0FJlMVouV6UUvtHHujXkAGcOyDs6rGToP 1wevpWl0GeOO++5mBQvj1VTUr/DFC82vIpZSoq9ZVT0jLG+Qj4JgnofZbKGsRhwqur4B 7htFKPF15+CUC4oOFiw9TzaRfde1Eeg7/bGVgrR/0PYC2l9YjbUUSKclyxxtfraXqXgm IqhQ==
MIME-Version: 1.0
X-Received: by 10.50.183.11 with SMTP id ei11mr12208igc.94.1449165892123; Thu, 03 Dec 2015 10:04:52 -0800 (PST)
Received: by 10.107.201.143 with HTTP; Thu, 3 Dec 2015 10:04:52 -0800 (PST)
In-Reply-To: <CAKLzrV93UBup51Kh7g0F6o6L8uFEChZem4LrBXuKifK6kBJUSQ@mail.gmail.com>
References: <CAKLzrV93UBup51Kh7g0F6o6L8uFEChZem4LrBXuKifK6kBJUSQ@mail.gmail.com>
Date: Thu, 03 Dec 2015 22:04:52 +0400
Message-ID: <CAKLzrV_L7hyf1-mgm0H3dtVGZ87=pVzBQy0dQ03i-sBE8HKP=A@mail.gmail.com>
From: Nik Ansell <nikansell00@gmail.com>
To: dtn-users@irtf.org
Content-Type: multipart/alternative; boundary="001a1135e8ca3882e30526023a18"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dtn-users/mHGiFdLKeyTIROXGyK9TSqxa-Dk>
Subject: Re: [dtn-users] LTP Convergence Layer - Help needed!
X-BeenThere: dtn-users@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: nikansell00@gmail.com
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: Thu, 03 Dec 2015 18:05:01 -0000

Slight update...

A wireshark capture on node 2, showed the LTP segments being sent from node
1 to node 2 then being cancelled (LTP Segment 60 Cancel segment", but
nothing being sent from node 2 to node 3....

I then tested a 2-node LTPCL topology and this worked OK.

I suspect this problem is something to do with the LTPlib "Router"
functionality not being fully implemented in DTN2. However if someone could
confirm or shed any more light on the subject, this would be helpful,
thanks.


Kind Regards,
Nik

On Thu, Dec 3, 2015 at 9:22 PM, Nik Ansell <nikansell00@gmail.com> wrote:

> Hi,
>
> I have successfully setup a 3 node UDPCL and TCPCL topology and am able to
> send bundles OK.
>
> Next I installed LTPLib and rebuilt DTN2, ensuring that ./configure found
> the location of LTPlib OK.
>
> I have updates the config files to use ltp, but for some reason no bundles
> seem to be sent or queued!
>
> If anyone could shed any light on a possible problem I will be forever in
> their debt, as bundles just seem to disappear!
>
> My testing so far has been starting dtnd on all 3 nodes, then running the
> dtnsend command twice to send 2 test bundles from node 1 to node 3.
> "dtnsend -s dtn://tx.dtn/a -d dtn://rx.dtn/g -t m -p "hello""
>
> I run dtnrecv on node 3:
> "dtnrecv dtn://rx.dtn/g -q -o F#####.bin"
>
> "bundle list" on nodes 1,2&3" returns zero bundles, so none are in the
> queue.
> "bundle stats" on node 1 returns:
>
> Bundle Statistics: 0 pending -- 0 custody -- -- bpq --  bpq -- 2 received
> -- 0 delivered -- 0 generated -- 2 transmitted -- 0 expired -- 0 duplicate
> -- 2 deleted -- 0 injected
>
> "link dump link_ltp1" on node 1 returns:
>
> Current link:
>
> Link link_ltp1:
>
> clayer: ltp
>
> type: ALWAYSON
>
> state: OPEN
>
> deleted: false
>
> nexthop: mx:4556
>
> remote eid: dtn:none
>
> mtu: 1400
>
> min_retry_interval: 5
>
> max_retry_interval: 600
>
> idle_close_time: 0
>
> potential_downtime: 30
>
> prevhop_hdr: false
>
> reincarnated: true
>
> used in fwdlog: true
>
> local_addr: 255.255.255.255 local_port: 4556
>
> remote_addr: 10.0.0.2 remote_port: 4556
>
> mtu: 1400
>
> Red/Green balance: all red
>
> ION mode: false
>
> Config files:
>
> Node1
> interface add udp0 udp
> interface add ltp0 ltp local_addr=$shorthostname
>
> # Create link to MX
> link add link_ltp1 mx:4556 ALWAYSON ltp mtu=1400 local_port=4556
> remote_port=4556 remote_addr=10.0.0.2
>
> # Add route to RX via MX
> route add dtn://rx.dtn/* link_ltp1
>
> Node2:
> interface add udp0 udp
> interface add ltp0 ltp local_addr=$shorthostname
>
> # Create link to TX
> link add link_ltp2 tx:4556 ALWAYSON ltp local_port=4556 remote_port=4556
> mtu=1400 remote_addr=10.0.0.1
>
> # Create link to RX
> link add link_ltp3 rx:4556 ALWAYSON ltp local_port=4556 remote_port=4556
> mtu=140 remote_addr=10.0.0.3
>
> # Add route to TX
> route add dtn://tx.dtn/* link_ltp2
>
> # Add route to RX
> route add dtn://rx.dtn/* link_ltp3
>
> Node3:
> interface add udp0 udp
> interface add ltp0 ltp local_addr=$shorthostname
>
> # Create link to MK
> link add link_ltp1 mx:4556 ALWAYSON ltp local_port=4556 remote_port=4556
> remote_addr=10.0.0.2
>
> # Add route to TX via MX
> route add dtn://tx.dtn/* link_ltp1
>
> Kind Regards,
> Nik
>