Re: problem with inetCidrRouteDest/inetCidrRoutePfxLen consistency check language in draft-ietf-ipv6-rfc2096-update-06.txt

Brian Haberman <brian@innovationslab.net> Wed, 04 February 2004 15:52 UTC

Received: from optimus.ietf.org (optimus.ietf.org [132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA11915 for <ipv6-archive@odin.ietf.org>; Wed, 4 Feb 2004 10:52:58 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AoPKK-00048l-C4 for ipv6-archive@odin.ietf.org; Wed, 04 Feb 2004 10:52:32 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id i14FqWM5015915 for ipv6-archive@odin.ietf.org; Wed, 4 Feb 2004 10:52:32 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AoPKK-00048c-3A for ipv6-web-archive@optimus.ietf.org; Wed, 04 Feb 2004 10:52:32 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA11894 for <ipv6-web-archive@ietf.org>; Wed, 4 Feb 2004 10:52:28 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AoPKH-000338-00 for ipv6-web-archive@ietf.org; Wed, 04 Feb 2004 10:52:29 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AoPJG-0002vG-00 for ipv6-web-archive@ietf.org; Wed, 04 Feb 2004 10:51:26 -0500
Received: from optimus.ietf.org ([132.151.1.19]) by ietf-mx with esmtp (Exim 4.12) id 1AoPIK-0002oj-00 for ipv6-web-archive@ietf.org; Wed, 04 Feb 2004 10:50:28 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AoPHw-0003WY-45; Wed, 04 Feb 2004 10:50:04 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AoPH8-0003VB-Dh for ipv6@optimus.ietf.org; Wed, 04 Feb 2004 10:49:14 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA11797 for <ipv6@ietf.org>; Wed, 4 Feb 2004 10:49:10 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AoPH5-0002fE-00 for ipv6@ietf.org; Wed, 04 Feb 2004 10:49:12 -0500
Received: from exim by ietf-mx with spam-scanned (Exim 4.12) id 1AoPG9-0002Yg-00 for ipv6@ietf.org; Wed, 04 Feb 2004 10:48:14 -0500
Received: from uillean.fuaim.com ([206.197.161.140]) by ietf-mx with esmtp (Exim 4.12) id 1AoPFJ-0002Mh-00 for ipv6@ietf.org; Wed, 04 Feb 2004 10:47:21 -0500
Received: from clairseach.fuaim.com (clairseach.fuaim.com [206.197.161.141]) by uillean.fuaim.com (8.11.6/8.11.6) with ESMTP id i14FkbV17327; Wed, 4 Feb 2004 07:46:37 -0800
Received: from innovationslab.net (sjca.caspiannetworks.com [63.108.173.130]) (authenticated bits=0) by clairseach.fuaim.com (8.12.8/8.12.8) with ESMTP id i14FuklN019794 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 4 Feb 2004 07:56:52 -0800
Message-ID: <402113CD.90103@innovationslab.net>
Date: Wed, 04 Feb 2004 10:46:21 -0500
From: Brian Haberman <brian@innovationslab.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "C. M. Heard" <heard@pobox.com>
CC: ipv6@ietf.org, "Wijnen, Bert (Bert)" <bwijnen@lucent.com>
Subject: Re: problem with inetCidrRouteDest/inetCidrRoutePfxLen consistency check language in draft-ietf-ipv6-rfc2096-update-06.txt
References: <Pine.LNX.4.10.10402040720080.7633-100000@shell4.bayarea.net>
In-Reply-To: <Pine.LNX.4.10.10402040720080.7633-100000@shell4.bayarea.net>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: ipv6-admin@ietf.org
Errors-To: ipv6-admin@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Id: IP Version 6 Working Group (ipv6) <ipv6.ietf.org>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on ietf-mx.ietf.org
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


C. M. Heard wrote:
> Brian,
> 
> If interpreted literally, the following language in the DESCRIPTION
> clauses for inetCidrRouteDest and inetCidrRoutePfxLen seems to
> prohibit having a non-zero zone index in inetCidrRouteDest:
> 
>             The values for the index objects inetCidrRouteDest and
>             inetCidrRoutePfxLen must be consistent.  When the value
>             of inetCidrRouteDest is x, then the bitwise logical-AND
>             of x with the value of the mask formed from the
>             corresponding index object inetCidrRoutePfxLen MUST be
>             equal to x.  If not, then the index pair is not
>             consistent and an inconsistentName error must be
>             returned on SET or CREATE requests.
> 
> This is so because the mask formed from inetCidrRoutePfxLen is
> contiguous and does not include the zone index part.  Thus, the
> bitwise logical-AND of the value of inetCidrRouteDest and the value
> of the mask formed from the corresponding index object
> inetCidrRoutePfxLen will necessarily have zeroes in the zone index
> position.
> 
> It seems to me that an easy fix for this problem would be to alter
> the text to exclude the zone index from the comparison.  Here is
> my suggestion:
> 
>             The values for the index objects inetCidrRouteDest and
>             inetCidrRoutePfxLen must be consistent.  When the value
>             of inetCidrRouteDest (excluding the zone index, if one
>             is present) is x, then the bitwise logical-AND
>             of x with the value of the mask formed from the
>             corresponding index object inetCidrRoutePfxLen MUST be
>             equal to x.  If not, then the index pair is not
>             consistent and an inconsistentName error must be
>             returned on SET or CREATE requests.

After reading through the thread again and looking at the text, I agree
that it is wrong wrt scoped addresses.  I like your suggested text with
one caveat.  I believe we need to include some words in the DESCRIPTION
that talk about what to do when a zone index is present in the address.
I need to think some more about what that text should be and where it
should go.

Regards,
Brian

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www1.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------