Re: [mif] #6: Lifetime field length should be 16bit for ND compatibility

Alexandru Petrescu <alexandru.petrescu@gmail.com> Wed, 01 August 2012 23:58 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 E5F8611E80F7 for <mif@ietfa.amsl.com>; Wed, 1 Aug 2012 16:58:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.14
X-Spam-Level:
X-Spam-Status: No, score=-3.14 tagged_above=-999 required=5 tests=[AWL=-0.833, BAYES_00=-2.599, MISSING_HEADERS=1.292, 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 Ix7stoyM6uRx for <mif@ietfa.amsl.com>; Wed, 1 Aug 2012 16:58:04 -0700 (PDT)
Received: from mail-yx0-f172.google.com (mail-yx0-f172.google.com [209.85.213.172]) by ietfa.amsl.com (Postfix) with ESMTP id 16C7211E80F1 for <mif@ietf.org>; Wed, 1 Aug 2012 16:58:04 -0700 (PDT)
Received: by yenq13 with SMTP id q13so8608553yen.31 for <mif@ietf.org>; Wed, 01 Aug 2012 16:58:03 -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:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=J5ni6+reqb+SBsEJq7C8m9k3dG32bnwUXGYr3v/DHPg=; b=zqzr0bjvWBl3/kiiXg+tHIwWpT+PwfJ7Ojfwrgo9S632rNHDQnXDeffiGGi+NqlGHF k3s1Vh+B9EH6iB1lAcEbAebzK+YC7xvAtJBan1/O71jC/7AGN46fAGAOWM2pF3SqqDId /ejS2VWF3Oq2/3D7zvCcchlcwMpIZhzM0FZRYcbwQaC/+9CxlYRMZsdvFTFXynd8GC04 QxqUCAfj5uugIhxd9R9wY+fAuLpmCBhTihgf7rMSVbnPICCrPt9f5Z49JZEYtOpFFJLy Wc8MAWjQOsZSYNFWGT3fbMqZ5QcvYXTPORMflKyYNUQkanYNkfa3bYsR+EVOxXQ6cFrQ z2aQ==
Received: by 10.50.46.231 with SMTP id y7mr5691135igm.21.1343865483434; Wed, 01 Aug 2012 16:58:03 -0700 (PDT)
Received: from [130.129.19.61] (dhcp-133d.meeting.ietf.org. [130.129.19.61]) by mx.google.com with ESMTPS id c3sm8537853iga.8.2012.08.01.16.58.02 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Aug 2012 16:58:03 -0700 (PDT)
Message-ID: <5019C280.70602@gmail.com>
Date: Wed, 01 Aug 2012 16:57:52 -0700
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:14.0) Gecko/20120713 Thunderbird/14.0
MIME-Version: 1.0
CC: mif@ietf.org
References: <066.e35f70c3071e8e9dfdd91da6a8a4f719@trac.tools.ietf.org>
In-Reply-To: <066.e35f70c3071e8e9dfdd91da6a8a4f719@trac.tools.ietf.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Subject: Re: [mif] #6: Lifetime field length should be 16bit for ND compatibility
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: Wed, 01 Aug 2012 23:58:05 -0000

MIF WG, Tomek,

What would text towards resolution of this issue look like?

In section 5.2:
> Route lifetime  32-bit unsigned integer.  Specifies lifetime of the
> route information, expressed in seconds (relative to the time the
> packet is sent).  There are 2 special values defined. 0 means that
> route is no longer valid and must be removed by clients.  A value of
>  all one bits (0xffffffff) represents infinity. means infinity.

Suggest new:

> Route lifetime  32-bit unsigned integer.
>
> Specifies lifetime of the route information, expressed in seconds
> (relative to the time the packet is sent). There are 2 special
> values defined. 0 means that route is no longer valid and must be
> removed by clients. A value of all one bits (0xffffffff) represents
> infinity.
>
> If compatibility with the Default Router List data structure of
> Neighbour Discovery is desired, and if this lifetime relates to a
> default route then the value 0 should not appear in this field; and
> the maximum value of this field should be 9000. The conversion
> between the 32-bit unsigned integer (required above) and the 16-bit
> unsigned integer (required by some ND implementations) can be
> realized in programming by cast operations. If the value of this
> Route lifetime field is larger than 9000 then the receiving Host (or
> Router) should use the value 9000 instead. If the value of this Route
> lifetime fielD is 0 then the receiving Host (or Router) should drop
> this packet.

What do you think?

Alex






Le 01/08/2012 14:01, mif issue tracker a écrit :
> #6: Lifetime field length should be 16bit for ND compatibility
>
> Currently draft-ietf-mif-dhcpv6-route-option-04 specifies that the
> lifetime of a route (and implicitely of a default route) is to be
> 32bit length field.
>
> On another hand, the currently implemented default routes are
> implemented according to ND Neighbor Discovery, which uses route_r_
> lifetime on 16bit (RFC 4861 search "Router Lifetime").
>
> I think this is an issue.  It generates additional work to the
> implementer.  If one agrees that it is good to store the DHCP
> default route in the existing ND data structures, then one notices a
>  conversion is needed.  If these lifetime fields were expressed in
> the same number of bits (preferably 16bit, because that exists
> already) then the implementer would be relieved from conversion
> work.
>