Re: [mif] draft-ietf-mif-dhcpv6-route-option-04 published

Alexandru Petrescu <alexandru.petrescu@gmail.com> Fri, 16 March 2012 15:56 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: mif@ietfa.amsl.com
Delivered-To: mif@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D87E021F85D8 for <mif@ietfa.amsl.com>; Fri, 16 Mar 2012 08:56:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.579
X-Spam-Level:
X-Spam-Status: No, score=-6.579 tagged_above=-999 required=5 tests=[AWL=-1.330, BAYES_00=-2.599, GB_SUMOF=5, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o+rostptg7bK for <mif@ietfa.amsl.com>; Fri, 16 Mar 2012 08:56:07 -0700 (PDT)
Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.167.192.142]) by ietfa.amsl.com (Postfix) with ESMTP id 083D721F8623 for <mif@ietf.org>; Fri, 16 Mar 2012 08:56:06 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id q2GFu5QR014566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Mar 2012 16:56:05 +0100
Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (8.14.4/8.14.4) with ESMTP id q2GFu4J7016390; Fri, 16 Mar 2012 16:56:05 +0100 (envelope-from alexandru.petrescu@gmail.com)
Received: from [127.0.0.1] (is010446-4.intra.cea.fr [10.8.33.116]) by muguet1.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id q2GFu1ZA002093; Fri, 16 Mar 2012 16:56:04 +0100
Message-ID: <4F636291.7060104@gmail.com>
Date: Fri, 16 Mar 2012 16:56:01 +0100
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120312 Thunderbird/11.0
MIME-Version: 1.0
To: Ted Lemon <Ted.Lemon@nominum.com>
References: <20120224101611.22703.52041.idtracker@ietfa.amsl.com> <4F47688B.10508@gmail.com> <4F5E2F61.9040009@gmail.com> <611FBED3-349A-43E7-B4B9-0BC313EA4F7A@nominum.com> <4F61E04F.4020800@gmail.com> <DF5F4B7B-7486-4878-A096-084BDA1CB7C4@nominum.com>
In-Reply-To: <DF5F4B7B-7486-4878-A096-084BDA1CB7C4@nominum.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: "<mif@ietf.org>" <mif@ietf.org>
Subject: Re: [mif] draft-ietf-mif-dhcpv6-route-option-04 published
X-BeenThere: mif@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Multiple Interface Discussion List <mif.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mif>, <mailto:mif-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mif>
List-Post: <mailto:mif@ietf.org>
List-Help: <mailto:mif-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mif>, <mailto:mif-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 16 Mar 2012 15:56:08 -0000

Le 15/03/2012 20:10, Ted Lemon a écrit :
> On Mar 15, 2012, at 8:27 AM, Alexandru Petrescu
> <alexandru.petrescu@gmail.com <mailto:alexandru.petrescu@gmail.com>>
> wrote:
>> It may be an issue if DHCP Server sends a 32bit lifetime of a
>> default route and the Client stores this in its ND default router
>> list structures lifetime 16bit, no?
>
> I think this is a non-problem. The RA lifetime may be represented as
> a 16-bit offset in transit, but when it is stored in a table on the
> node, the node has to know when the lifetime ends, not how long it
> is.

I guess in some cases yes, and others no.

Not all plaforms benefit from the typical timer implementation as a
PC-class monolithic kernel offers.

> So the implementation must necessarily convert the 16-bit offset to
> something like a time_t, which is either 32 or 64 bits, and
> represents an absolute time, not a relative time.

Again depends on the implementaiton.  Then all time is relative to
something anyways, be it 1970 earlier or later.

> Consequently, there will be no problem with receiving a 32-bit
> offset from the DHCP server, other than that if the sum of the
> current absolute time and offset overflows, the implementation needs
> to truncate the result to the maximum time value. This same behavior
> is necessary for 16-bit offsets; it's just that the range of dates
> during which it might occur is smaller.

SO there would _be_ a conversion needed, right?  This may need to be
specified.  Wouldn't be easier to specify that both lifetimes (from ND
and from DHCP) are represented in the same manner, thus no conversion?

Alex