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

Alexandru Petrescu <alexandru.petrescu@gmail.com> Tue, 27 March 2012 11:29 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 31A2E21E817D for <mif@ietfa.amsl.com>; Tue, 27 Mar 2012 04:29:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 hHCX9bzUvrvP for <mif@ietfa.amsl.com>; Tue, 27 Mar 2012 04:29:07 -0700 (PDT)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 67DDE21F8838 for <mif@ietf.org>; Tue, 27 Mar 2012 04:29:07 -0700 (PDT)
Received: by werb10 with SMTP id b10so5821940wer.31 for <mif@ietf.org>; Tue, 27 Mar 2012 04:29:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+bcJms0CnyNtQnDi4aTbrh5BflYCQvkfb2aYOnzECqA=; b=S8QKX/1Ua0xOOv+u6B0pY1BEAEgSfdFB84Ks80pzFgd70kKrAcGfh5aeZK5RyBV3jw FXQZlwYg6gIOTay2On/G9ZO4wBkvpas4/tujDszq34SFRqkL7JH84lazRcvaFqU8AF57 eBZD79CC8NnD6lS1dqEY13TlI0pg0jJkHwVtpN37YJGDXMXdyptmlik6XNp3A8PveAy7 KS4up/6OBx9VADe+4N72pQDD8JVoULo2ZGE4aBy4H9sMqbLvauiI8DuUmwUOkePzg4mC gayAzXtMpCzGbIKU4xvFTfRuJ5X939PNsGgQaf1PnVYCANltbO8LRSpyipa4kG8eruMJ G+DA==
Received: by 10.216.225.12 with SMTP id y12mr14277772wep.39.1332847746497; Tue, 27 Mar 2012 04:29:06 -0700 (PDT)
Received: from [130.129.22.135] (dhcp-1687.meeting.ietf.org. [130.129.22.135]) by mx.google.com with ESMTPS id ff2sm80065727wib.9.2012.03.27.04.29.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Mar 2012 04:29:05 -0700 (PDT)
Message-ID: <4F71A47C.7050906@gmail.com>
Date: Tue, 27 Mar 2012 13:29:00 +0200
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> <4F636291.7060104@gmail.com> <DCF9392C-CE26-4587-A912-23EC7044B0F3@nominum.com>
In-Reply-To: <DCF9392C-CE26-4587-A912-23EC7044B0F3@nominum.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: mif <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: Tue, 27 Mar 2012 11:29:08 -0000

Le 16/03/2012 18:23, Ted Lemon a écrit :
> On Mar 16, 2012, at 11:56 AM, Alexandru
> Petrescu<alexandru.petrescu@gmail.com>  wrote:
>> Not all plaforms benefit from the typical timer implementation as
>> a PC-class monolithic kernel offers.
>
> Platforms that cannot determine that time has passed won't be able to
> know that a prefix is deprecated, or no longer valid, correct.
>
>> 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?
>
> The point is that neither the DHCP time nor the RA time is in the
> form needed to notice when a prefix has stopped being preferred, or
> has become invalid.   So in both cases, a conversion to absolute time
> will be necessary.   There is simply no way in which we can make the
> implementor's life easier by having the DHCP offset be 16 bits.

Well maybe there is.

A conversion in absolute time may indeed be necessary, provided systems
keep same time, that being another matter.

But the other conversion - between DHCP's way of representing lifetime
and ND's way of same could be avoided, simply by representing them in
the same manner (16bit length as ND does).  A single unique C function
could be used the same to convert the lifetime field from a DHCP message
to absolute time, and fro, ND message field to absolute time.  Otherwise
one would have to write two functions.

I find it strange that you oppose such an obvious thing to do -
represent lifetimes in the same manner across protocols.

What is the reason of _not_ representing lifetimes in the same manner
across protocols?  We do represent Types and other things in the same
manner, why not lifetimes?

Alex