Re: [OPSAWG] IPv6 zoneid in SNMP

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Sat, 04 February 2012 17:20 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 AFFBC21F8551 for <opsawg@ietfa.amsl.com>; Sat, 4 Feb 2012 09:20:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.935
X-Spam-Level:
X-Spam-Status: No, score=-102.935 tagged_above=-999 required=5 tests=[AWL=-0.286, BAYES_00=-2.599, HELO_EQ_DE=0.35, 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 4dQc5D0QlcM3 for <opsawg@ietfa.amsl.com>; Sat, 4 Feb 2012 09:20:00 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id E5D4E21F852A for <opsawg@ietf.org>; Sat, 4 Feb 2012 09:19:59 -0800 (PST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id E732720C59; Sat, 4 Feb 2012 18:19:57 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id CbUdFNVm6CgV; Sat, 4 Feb 2012 18:19:57 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 4C1FB20C53; Sat, 4 Feb 2012 18:19:57 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 4FEC01CEAB12; Sat, 4 Feb 2012 18:19:39 +0100 (CET)
Date: Sat, 04 Feb 2012 18:19:39 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "t.petch" <ietfc@btconnect.com>
Message-ID: <20120204171938.GA16090@elstar.local>
Mail-Followup-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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <010f01cce347$e6b7f360$4001a8c0@gateway.2wire.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Cc: opsawg@ietf.org
Subject: Re: [OPSAWG] IPv6 zoneid in SNMP
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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 17:20:00 -0000

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).

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>