[Softwires] MAP Open issues: Interface-id

Ole Troan <ot@cisco.com> Fri, 04 November 2011 13:45 UTC

Return-Path: <ot@cisco.com>
X-Original-To: softwires@ietfa.amsl.com
Delivered-To: softwires@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3CD1821F8C54 for <softwires@ietfa.amsl.com>; Fri, 4 Nov 2011 06:45:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.58
X-Spam-Level:
X-Spam-Status: No, score=-8.58 tagged_above=-999 required=5 tests=[AWL=2.019, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 z0ViE4nnNTzc for <softwires@ietfa.amsl.com>; Fri, 4 Nov 2011 06:45:40 -0700 (PDT)
Received: from ams-iport-1.cisco.com (ams-iport-1.cisco.com [144.254.224.140]) by ietfa.amsl.com (Postfix) with ESMTP id ECD5F21F8C52 for <softwires@ietf.org>; Fri, 4 Nov 2011 06:45:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=ot@cisco.com; l=2183; q=dns/txt; s=iport; t=1320414340; x=1321623940; h=from:content-transfer-encoding:subject:date:message-id: to:mime-version; bh=5bHi1lQhTn2l5AN6hPc/mwVGSmeKx+CfB7ONiAfwFfI=; b=gwjyZzRFzS3AAXEVjSsdBaFvLjbr7eNxd5+MUfDHoaEYr0SCyyxQJw3a KT6suVZohTddF4T0872opk84d19wl7aMgDoFf9GH6lh1DWTpq3TgsG2nW lRP1LEKaUYPtkCp5gUZRMcHgRdcddmsYJXAR8dw9LQ/+2LLZ8OItwvgmy U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvwEAELss06Q/khN/2dsb2JhbABEqgyBBYILARQTgX01nQGBJgGeaYhIYwSUHJFn
X-IronPort-AV: E=Sophos;i="4.69,455,1315180800"; d="scan'208";a="120817834"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-1.cisco.com with ESMTP; 04 Nov 2011 13:45:22 +0000
Received: from dhcp-osl-vl300-64-103-53-182.cisco.com (dhcp-osl-vl300-64-103-53-182.cisco.com [64.103.53.182]) by ams-core-4.cisco.com (8.14.3/8.14.3) with ESMTP id pA4DjLNd029946 for <softwires@ietf.org>; Fri, 4 Nov 2011 13:45:21 GMT
From: Ole Troan <ot@cisco.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 04 Nov 2011 14:45:22 +0100
Message-Id: <703EB6B3-AB8C-4690-91C6-2666C5779874@cisco.com>
To: Softwires WG <softwires@ietf.org>
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
Subject: [Softwires] MAP Open issues: Interface-id
X-BeenThere: softwires@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: softwires wg discussion list <softwires.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/softwires>, <mailto:softwires-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/softwires>
List-Post: <mailto:softwires@ietf.org>
List-Help: <mailto:softwires-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/softwires>, <mailto:softwires-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 04 Nov 2011 13:45:41 -0000

all,

what should the interface-id in MAP IPv6 addresses be?
the interface-id is used both for creating a local source address, and for mapping an IPv4 address + port into an IPv6 destination address.

requirements:
 - MUST be possible for CE's in the domain to calculate with an algorithm based on destination IPv4 address + port
 - MUST encode the destination IPv4 address for out of domain traffic (for translation)
 - MUST be possible to use to configure an IPv6 address on the MAP node
 - MAY be globally unique
 - SHOULD be simple to read (by human or machine) for troubleshooting

possibilities:
1) RFC6052
2) IANA-ish:
   Not globally unique:
                  |   32 bits        |    32 bits       |
                  +------------------+------------------+
                  | 00-00-5E-FE      |  IPv4 address    |
                  +------------------+------------------+
3) IANA type:

   Globally unique, with max sharing ratio of 256:

                  |   24 bits  |    32 bits     | 8 bits|
                  +------------+----------------+-------+
                  | 02-00-5E-FE|  IPv4 address  | PSID  |
                  +------------+----------------+-------+

4)
   Globally unique with "Length" field to allow parsing of interface id (in case of full IPv4 address or IPv4 prefix)

                  <-8-><-------- L>=32 -------><48-L><8->
                  +---+----------------+------+-----+---+
                  | u |  IPv4 address  | PSID |  0  | L |
                  +---+----------------+------+-----+---+

5) New IANA assigned with V flag to allow 'identification' of MAP traffic versus native:

                  <-8-><-------- L>=32 -------><48-L><8->
                  +---+----------------+------+-----+---+
                  | V |  IPv4 address  | PSID |  0  | L |
                  +---+----------------+------+-----+---+


6) Right aligned:

                  <-8-><--0-16->     < 5><--  32  ------>
                  +---+--------+----+---+---------------+
                  | u |  PSID  | 0  | L | IPv4 address  |
                  +---+--------+----+---+---------------+