[Roll] How to react if Trickle Interval > Default Lifetime

Cenk Gündogan <cnkgndgn@gmail.com> Mon, 02 May 2016 19:25 UTC

Return-Path: <cnkgndgn@gmail.com>
X-Original-To: roll@ietfa.amsl.com
Delivered-To: roll@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A61F12D186 for <roll@ietfa.amsl.com>; Mon, 2 May 2016 12:25:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.199
X-Spam-Level:
X-Spam-Status: No, score=-2.199 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, FROM_LOCAL_NOVOWEL=0.5, HK_RANDOM_ENVFROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 Xt70SB8Tjo_E for <roll@ietfa.amsl.com>; Mon, 2 May 2016 12:25:35 -0700 (PDT)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 164ED12D17A for <roll@ietf.org>; Mon, 2 May 2016 12:25:35 -0700 (PDT)
Received: by mail-wm0-x22b.google.com with SMTP id a17so2598804wme.0 for <roll@ietf.org>; Mon, 02 May 2016 12:25:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=17LNWhFTx2nEpMulCRWCEn0D7EBrTfsKesQtpdemAQY=; b=t+yqtA3IdrKYKUPPvbQQ/2MnCj0kfoLDTgnaF0HcQLrzJ1I8EvFOGu5atMkE2b+5CM FbRiZkHCpcHgCdRTM1kooteVcNn7rqAgShgd+VL1QLzbiOOxg+JvJ7S5qP7P9rGsSPPj x4E2xHRekRFiAYZfnzIPjCrt03dLUUHWK7Ii5zgIkJNKEtT16dTLKn+v7RmatL3juPtZ vc8uAKNKWf9GruhaK+zPxOGtaJKjtJVu4xcgyoAf7oJWWEUoZXGqgPO3pOxvyW+mrzAb 0aVHpfLlUJuug3XuvizwkbxWd5qiy3AnUcokNmLXBR7ufUN2Modm8kA/lbIs38UCRy1O uioQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=17LNWhFTx2nEpMulCRWCEn0D7EBrTfsKesQtpdemAQY=; b=KZnaQyN7YW4tRMzTAe2HYx7mRxzpMJfF5MvzyX/oRJnQX311dzQJh5brYBKdjazMp9 mviZ9hpQ4sYG/rOF96+z73UKTtZngHiDifuPQfqsARczSqB4UVBC4lnBmNVGwCtWBjgE CpLMtoSOqLHfHMWeI0KsSMwMOoVMlJP5jvzQJYmLSFTNAl8y2pBeaoerb2UEzF1V2Lpg v8dS9om4JN4OC6XNBQm8qdU36iL51WjISoQUdPxs/dCHBHmjD4X53ZCjJtL6zd+aX+Lz GvKBzrLwq5AKeCimPKQJHHtUmPZ2TwAuM/DvjEFk4gCQT8WNlh3l+xqONwFLzSFh1+Pb c9GQ==
X-Gm-Message-State: AOPr4FVM5Y0W9uzBuiSPICaS6kScZ28VpbozECYJjXwzTTCkSYwSuuz4TEQyubtxdHJx1g==
X-Received: by 10.194.171.194 with SMTP id aw2mr16281744wjc.113.1462217133594; Mon, 02 May 2016 12:25:33 -0700 (PDT)
Received: from ?IPv6:2a02:8109:8680:45c:221:ccff:fe67:d847? ([2a02:8109:8680:45c:221:ccff:fe67:d847]) by smtp.googlemail.com with ESMTPSA id c4sm32002677wjm.24.2016.05.02.12.25.32 for <roll@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Mon, 02 May 2016 12:25:32 -0700 (PDT)
To: roll <roll@ietf.org>
From: =?UTF-8?Q?Cenk_G=c3=bcndogan?= <cnkgndgn@gmail.com>
Message-ID: <2591c152-29fd-ce24-d4c2-27fc23a9a034@gmail.com>
Date: Mon, 2 May 2016 21:25:31 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/roll/M5XqwPaegQEK4FOLKuXbIkNiZo4>
Subject: [Roll] How to react if Trickle Interval > Default Lifetime
X-BeenThere: roll@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Routing Over Low power and Lossy networks <roll@ietf.org>
List-Id: Routing Over Low power and Lossy networks <roll.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/roll>, <mailto:roll-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/roll/>
List-Post: <mailto:roll@ietf.org>
List-Help: <mailto:roll-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/roll>, <mailto:roll-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 May 2016 19:25:37 -0000

Dear RPL Veterans,

I recently came across the question of how a RPL router may react,
if a parent's default lifetime (and unit -- specified in the DODAG Conf. 
Opt.)
is surpassed by the parent's continuously rising trickle interval?

Without any action from the children, I would assume that the upward link to
the parent would time out before the next DIO arrives to refresh the 
lifetime,
hence breaking the child -> parent relation.

Implementations seem to handle this case very differently..

* The RPL implementation of RIOT uses unicast DIS messages to request a 
one-shot DIO
from a parent that has a link which is about to expire.
* From what I could gather in [1], Contiki also seems to send unicast DIS
messages randomly in an interval of 30~55 seconds (Please correct me if 
I am wrong).
* In an off-list discussion with Michael, I learned that unstrung is 
e.g. handling
this case by not letting the Trickle interval exceed the default lifetime
(Again, please correct me if I am wrong).

I couldn't find any hints regarding this situation in RFC6550.
Is there actually an obvious way to handle this, but I am just not 
seeing it?

Best,
Cenk Gündoğan

[1] 
https://github.com/contiki-os/contiki/blob/master/core/net/rpl/rpl-timers.c