Re: 6MAN WG Adoption Call: draft-nordmark-6man-rs-refresh-01

Erik Kline <ek@google.com> Mon, 27 April 2015 15:28 UTC

Return-Path: <ek@google.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB60C1A8720 for <ipv6@ietfa.amsl.com>; Mon, 27 Apr 2015 08:28:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.789
X-Spam-Level:
X-Spam-Status: No, score=-0.789 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, J_CHICKENPOX_36=0.6, 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 obU6quZ75Z2o for <ipv6@ietfa.amsl.com>; Mon, 27 Apr 2015 08:28:13 -0700 (PDT)
Received: from mail-qg0-x230.google.com (mail-qg0-x230.google.com [IPv6:2607:f8b0:400d:c04::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 E0B051A8706 for <ipv6@ietf.org>; Mon, 27 Apr 2015 08:28:12 -0700 (PDT)
Received: by qgdy78 with SMTP id y78so50946839qgd.0 for <ipv6@ietf.org>; Mon, 27 Apr 2015 08:28:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LlO0U7eK2hueT0aQei27gkL1k9Zw9KemrVmCcMzuTxk=; b=GRFnps/h6I4lclAWFH79ZY5a7j+ML+avaD0xhDNiKgrMp3mJKpX2dPZtBL8fun7c14 FznyuXwPQ0s2mgGZb9Grtbfj09k0rsnjNdWIJLcwtHuZb1d714wyMPahWSzP90vNkUvZ w6/B6L4wfCVNDKBJ2/5hgt8fNXnCZbai0qtUSQvMeKpOYw6Hj58NDmeVt8GVcDp4OQOL BNAy2r+PM3OEJFQf5maIAKACfC4+CQT2850TaAolWdpvxLZ1PJ57seoJdqd3cpr0AJDN ggaPZgry4geVToLiW65G9t2fVNTe4A/PuOwjFoQnyiIF/RKoQXO/BqMFWjUa3Hi9AHyM 5atA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=LlO0U7eK2hueT0aQei27gkL1k9Zw9KemrVmCcMzuTxk=; b=Elx64GIwgHCnp6pQEHSIT3Duk5Tqf2aRbZFSr6T2cNxuJzYrXhk1sF1oEn4DY307kX uBIKD+KwNN4vkWzmyFQESOKJTTh3IMLsqyLETl0G2Sa2Ma/rMmyIiE5PnjDoCfxikmgZ WZvUiV2UUdw0ztPcvIxONnODU5Ln68OOh8FvI0WSCf2Gt2O08r6B8hWZQEOxkr1y1wUu hRk3qsJ13t4HBSwJqqGbmXRl1lM+UFyEeHIoEuWb79ik33zbDCrSe4SSk4034FPwIUJV RUmJcgcMf9o6hNEsSt0wImh8ST0LvhG0ZEVld3xk8sxJj3lpaGc6Qc7ACukR0TvoBqgM h9yg==
X-Gm-Message-State: ALoCoQkmnZLWPZJxzuWUs02vtxRCOoTZ7advFhnpOyiqt0MbqOD7mz8RkdSpQdjlRDU1ylHHY2Jr
X-Received: by 10.140.100.200 with SMTP id s66mr7783556qge.1.1430148492104; Mon, 27 Apr 2015 08:28:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.208.6 with HTTP; Mon, 27 Apr 2015 08:27:51 -0700 (PDT)
In-Reply-To: <55397677.2040107@acm.org>
References: <16407124-2B19-4B8F-AEAC-F04D3C7E5C3A@gmail.com> <CAKD1Yr3o7pTOeGsRy7wcWpmEcLRcf+Yvis587Msj9qb0PGEeVg@mail.gmail.com> <5531440E.5060102@sonic.net> <CAKD1Yr3bdARtNdigrAfT3ku5cpihP_Tn6ox4VKLvULU8sSrG8A@mail.gmail.com> <55353A60.1030701@acm.org> <CAKD1Yr19w1Uy=3VSpNua3qJ-bb1yz_zCW4L8k0FV9YJAgvOtXw@mail.gmail.com> <55368297.6080006@acm.org> <CAKD1Yr1oy4TkKvFfF05V6KsyE2xsEACNqtuhLqnbgunW2hbcdA@mail.gmail.com> <55397677.2040107@acm.org>
From: Erik Kline <ek@google.com>
Date: Tue, 28 Apr 2015 00:27:51 +0900
Message-ID: <CAAedzxrdwzPgvQYmxNJ9EMNc1QjM7eOx90oBprydvAMiHh3iJA@mail.gmail.com>
Subject: Re: 6MAN WG Adoption Call: draft-nordmark-6man-rs-refresh-01
To: Erik Nordmark <nordmark@acm.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/_2QjoYnruHx17svVmYW3p0MK9wo>
X-Mailman-Approved-At: Mon, 27 Apr 2015 09:55:51 -0700
Cc: 6man Chairs <6man-chairs@tools.ietf.org>, Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Apr 2015 15:28:14 -0000

A question comes to mind: what might the operational guidance be for
setting the refresh timer value in the RA?

Observation: it almost certainly shouldn't be /longer/ than the router
lifetime, even if the prefix lifetimes are infinite.

Reasonable stab in the dark: refresh timer value in the RA should be
in the neighborhood of some fraction (1/2, 2/3) * min(router lifetime,
prefix lifetimes...).

If that turns out to be the case, then the host can compute this timer
value for itself, sleep on its own schedule, and wake up whenever it
wants and send a unicast RS.  At that point this isn't a protocol
change but rather an operational document.  [1]

At the very least, this is a simple enough experiment to perform for
people writing the code on the affected devices (doesn't require
router vendor code changes).  Has anybody done this and measured the
outcome?

-Erik the Lesser


[1]  Note that the node MUST to be ready to basically re-attach from
scratch in the event that the router has gone (I swapped my IoT device
access point for a new model, and it got a new prefix too, while
everyone listening was asleep, for example).  So guessing a wrong
timer value must be non-fatal for the node.  At worst it won't be
"optimal" but i'm curious to know what the impact of deviation from
"optimal" would really be in these networks, given that nodes are all
going to go for the longest possible timer value.