Re: [OPSAWG] IPv6 zoneid in SNMP

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 04 February 2012 19:27 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1499E21F8493 for <opsawg@ietfa.amsl.com>; Sat, 4 Feb 2012 11:27:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.219
X-Spam-Level:
X-Spam-Status: No, score=-103.219 tagged_above=-999 required=5 tests=[AWL=-0.220, BAYES_00=-2.599, J_CHICKENPOX_15=0.6, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 FJBJtvguAW93 for <opsawg@ietfa.amsl.com>; Sat, 4 Feb 2012 11:27:52 -0800 (PST)
Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by ietfa.amsl.com (Postfix) with ESMTP id 57B3321F848C for <opsawg@ietf.org>; Sat, 4 Feb 2012 11:27:52 -0800 (PST)
Received: by eaaq13 with SMTP id q13so299469eaa.31 for <opsawg@ietf.org>; Sat, 04 Feb 2012 11:27:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=lw6xpn11qMFCIW717/2kp+ZBYTKvtmj1c6Wl7mxH9UI=; b=DPtUJ0nr+ez+RC2YY4zSV/m2hg2DknPPfIFficpcv8ZNiZ//7fDNti15tGz36OUCJ9 wZvcVl42Fp4kNXK6VmIr3p/0zCLu/zi2u9jcOz6lU1mI+jgWRg/Rs54mBl4h/rj7hKuP fbZN9GroUjuB3d89pGn6GNfX+T4ku8V81uVaQ=
Received: by 10.213.101.19 with SMTP id a19mr1899043ebo.90.1328383671581; Sat, 04 Feb 2012 11:27:51 -0800 (PST)
Received: from [10.1.1.4] ([121.98.251.219]) by mx.google.com with ESMTPS id o49sm38478604eeb.7.2012.02.04.11.27.48 (version=SSLv3 cipher=OTHER); Sat, 04 Feb 2012 11:27:50 -0800 (PST)
Message-ID: <4F2D86AD.2090806@gmail.com>
Date: Sun, 05 Feb 2012 08:27:41 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: "t.petch" <ietfc@btconnect.com>, opsawg@ietf.org
References: <20120126144944.GA64823@elstar.local> <CB499481.E8B7%ietfdbh@comcast.net> <80A0822C5E9A4440A5117C2F4CD36A6403563BB5@DEMUEXC006.nsn-intra.net> <010f01cce347$e6b7f360$4001a8c0@gateway.2wire.net> <20120204171938.GA16090@elstar.local>
In-Reply-To: <20120204171938.GA16090@elstar.local>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Subject: Re: [OPSAWG] IPv6 zoneid in SNMP
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/opsawg>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Feb 2012 19:27:53 -0000

On 2012-02-05 06:19, Juergen Schoenwaelder wrote:
> On Sat, Feb 04, 2012 at 03:18:37PM +0100, t.petch wrote:
>> [RFC4001] defines a 4 byte zone index for IPv6 with a display hint of 'd'
>>
>>  "InetAddressIPv6z ::= TEXTUAL-CONVENTION
>>      DISPLAY-HINT "2x:2x:2x:2x:2x:2x:2x:2x%4d"
>>      DESCRIPTION
>>          "Represents a non-global IPv6 network address, together
>>           with its zone index:
>>             Octets   Contents         Encoding
>>              1-16    IPv6 address     network-byte order
>>             17-20    zone index       network-byte order
>>
>> Is this in use?
>>
>> I ask because 
>> draft-carpenter-6man-uri-zoneid-00.txt
>> under discussion on the 6man list, has ABNF of
>>  ZoneID = 1*15unreserved
>> which is a bit different (well, completely different:-(
> 
> You can identify an interface by a number (ifIndex in SNMP land) or by
> a name. In other words, you can either identify an interfaces by using
> the result of if_nametoindex() [RFC3493] or its argument.
> 
> On command lines and in URLs, systems and humans usually prefer names
> - internally systems usually prefer numbers (and SNMP land is
> typically closer to internal APIs and uses ifIndex values natively to
> identify interfaces).

Exactly, and the mapping between the two forms is a host-specific function.
We'll mention this in the next version of draft-carpenter-6man-uri-zoneid.

   Brian